示例#1
0
 public static ICreateTableQueryProvider <T> CreateTable <T>(this Migrator Migrator)
 => Migrator.CreateTable <T>(TableMigratorInfo.FromPoco(typeof(T)));
示例#2
0
 public static ICreateTableQueryProvider CreateTable(this Migrator Migrator, string tableName)
 => Migrator.CreateTable(new TableMigratorInfo {
     TableName = tableName
 });
示例#3
0
 public static ICreateTableQueryProvider CreateTable <T>(this Migrator Migrator, bool autoDetectColumns)
 => Migrator.CreateTable(typeof(T), autoDetectColumns);