Beispiel #1
0
 /// <summary>
 /// Returns a create-table sql statement
 /// </summary>
 /// <param name="self">The dialect instance to use</param>
 /// <param name="ifNotExists">Only create table if it does not exist</param>
 /// <typeparam name="T">The datatype to store in the table.</typeparam>
 public static string CreateTableSql <T>(this IDatabaseDialect self, bool ifNotExists = true) => self.CreateTableSql(typeof(T), ifNotExists);