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); }
public DBUpdateItem(string TableName) { if (TableName == "") { update_type = DBUpdateType.Sql; } else { update_type = DBUpdateType.DeleteColumn; } table_name = TableName; column_info = null; }
public DBUpdateItem(DBUpdateType UpdateType) { update_type = UpdateType; table_name = ""; column_info = null; }
public DBUpdateItem(DBUpdateType UpdateType, string TableName) { update_type = UpdateType; table_name = TableName; column_info = null; }
public DBUpdateItem() { update_type = DBUpdateType.Sql; table_name = ""; column_info = null; }