public static void CreateTable <T>(this Database db, bool overwrite) where T : new() { var creator = new DatabaseSchemaHelper(db, LoggerResolver.Current.Logger, SqlSyntaxContext.SqlSyntaxProvider); creator.CreateTable <T>(overwrite); }
public static void CreateTable(this Database db, bool overwrite, Type modelType) { var creator = new DatabaseSchemaHelper(db, LoggerResolver.Current.Logger, SqlSyntaxContext.SqlSyntaxProvider); creator.CreateTable(overwrite, modelType); }