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