Пример #1
0
 public DBUpdateItem(string TableName, DBDataType DataType, int Length, int Length2, string DefaultValue, bool AllowNull, bool IsPrimary, bool IsIdentity, string Description, bool JsonIgnore)
 {
     if (TableName == "")
     {
         update_type = DBUpdateType.Sql;
     }
     else
     {
         update_type = DBUpdateType.AddColumn;
     }
     table_name  = TableName;
     column_info = new DBColumn("", DataType, Length, Length2, DefaultValue, AllowNull, IsPrimary, IsIdentity, Description, JsonIgnore);
 }
Пример #2
0
 public DBUpdateItem(string TableName)
 {
     if (TableName == "")
     {
         update_type = DBUpdateType.Sql;
     }
     else
     {
         update_type = DBUpdateType.DeleteColumn;
     }
     table_name  = TableName;
     column_info = null;
 }
Пример #3
0
 public DBUpdateItem(DBUpdateType UpdateType)
 {
     update_type = UpdateType;
     table_name  = "";
     column_info = null;
 }
Пример #4
0
 public DBUpdateItem(DBUpdateType UpdateType, string TableName)
 {
     update_type = UpdateType;
     table_name  = TableName;
     column_info = null;
 }
Пример #5
0
 public DBUpdateItem()
 {
     update_type = DBUpdateType.Sql;
     table_name  = "";
     column_info = null;
 }