public static ICreateColumnOptionSyntax AsMyDateTime( this ICreateColumnAsTypeOrInSchemaSyntax createColumnAsTypeOrInSchemaSyntax) { if (!DbProvider.IsPostgre) { return(createColumnAsTypeOrInSchemaSyntax.AsDateTime()); } return(createColumnAsTypeOrInSchemaSyntax.AsCustom("TimestampTz")); }
public static ICreateColumnOptionSyntax AsDateTimeOffset(this ICreateColumnAsTypeOrInSchemaSyntax create) { return(create.AsCustom("DateTimeOffset")); }