|
@ -20,6 +20,7 @@ namespace SqlSugar |
|
|
columns.Add(dbColumnInfo); |
|
|
columns.Add(dbColumnInfo); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
columns = columns.OrderBy(it => it.IsPrimarykey ? 0 : 1).ToList(); |
|
|
this.Context.DbMaintenance.CreateTable(tableName, columns,true); |
|
|
this.Context.DbMaintenance.CreateTable(tableName, columns,true); |
|
|
} |
|
|
} |
|
|
protected override DbColumnInfo EntityColumnToDbColumn(EntityInfo entityInfo, string tableName, EntityColumnInfo item) |
|
|
protected override DbColumnInfo EntityColumnToDbColumn(EntityInfo entityInfo, string tableName, EntityColumnInfo item) |
|
|