FrmBaseDatos: Mostrar si la columna es nullable
This commit is contained in:
@@ -177,22 +177,9 @@ namespace ServerExplorer.UI
|
||||
{
|
||||
ListViewItem subitem = lsvColumnas.Items.Add(col.Nombre);
|
||||
subitem.SubItems.Add(col.Tipo);
|
||||
if (col.Tamanho >= 0)
|
||||
{
|
||||
subitem.SubItems.Add(String.Format("{0}", col.Tamanho));
|
||||
}
|
||||
else
|
||||
{
|
||||
subitem.SubItems.Add("");
|
||||
}
|
||||
if (col.Primaria)
|
||||
{
|
||||
subitem.SubItems.Add("PK");
|
||||
}
|
||||
else
|
||||
{
|
||||
subitem.SubItems.Add("");
|
||||
}
|
||||
subitem.SubItems.Add((col.Tamanho >= 0) ? String.Format("{0}", col.Tamanho) : string.Empty);
|
||||
subitem.SubItems.Add(col.Primaria ? "PK" : string.Empty);
|
||||
subitem.SubItems.Add(col.Nullable ? "Null" : "NotNull");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user