Example #1
0
 public static string Sql(this ICommonDb db, TableId table) =>
 table.Schema.HasValue() ? $"{db.Sql(table.Schema)}.{db.Sql(table.Table)}" : $"{db.Sql(table.Table)}";
Example #2
0
 public static string Sql(this ICommonDb db, ColumnSchema c) => db.Sql(c.ColumnName);