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