Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames(Type type)
Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames(Type type, string tableName)
This overload is used with SELECT statements when the table name (or alias) needs to be specified with each column name. If a tuple of DTOs is specified, a NULL column will separate the DTOs.
Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames(Type type, params string[] tableNames)
This overload is used with SELECT statements when the table name (or alias) needs to be specified with each column name. If a tuple of DTOs is specified, a NULL column will separate the DTOs.
Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames<T>()
Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames<T>(string tableName)
This overload is used with SELECT statements when the table name (or alias) needs to be specified with each column name. If a tuple of DTOs is specified, a NULL column will separate the DTOs.
Returns a comma-delimited list of column names for a DTO of the specified type.
public static Sql ColumnNames<T>(params string[] tableNames)
This overload is used with SELECT statements when the table name (or alias) needs to be specified with each column name. If a tuple of DTOs is specified, a NULL column will separate the DTOs.