示例#1
0
 public ColumnModel(string name, ColumnRef dbName, int ordinalPosition, ColumnType columnType, PkInfo?pk, bool identity, DefaultValue?defaultValue, List <ColumnRef>?fk)
 {
     this.Name            = name;
     this.DbName          = dbName;
     this.OrdinalPosition = ordinalPosition;
     this.ColumnType      = columnType;
     this.Pk           = pk;
     this.Identity     = identity;
     this.DefaultValue = defaultValue;
     this.Fk           = fk;
 }
示例#2
0
 public IndexColumnModel(bool isDescending, ColumnRef dbName)
 {
     this.IsDescending = isDescending;
     this.DbName       = dbName;
 }