sqlutils-class
public static class Korzh.EasyQuery.Db.SqlUtils
Assembly: Korzh.EasyQuery.Db.dll
Static Methods
Name | Type | Description |
---|---|---|
ComposeTableAlias(Table tbl, SqlFormats formats) | string | |
ContainsAggregateFunctions(string sqlExpr) | bool | Determines whether the SQL expression contains at aggregate function. |
DataTypeToDbType(DataType dt) | DbType | Converts DataType enum value to corresponding DbType |
EdmxTypeToDataType(string edmxType) | DataType | Converts type form EDMX file into DataType enumeration. |
ExcludeFieldsFromExpr(DbModel model, string expr) | List <string > | |
ExtractTablesByExpr(DbModel model, string expr, TableList tableList) | void | |
HasSelectStatement(string sqlExpr) | bool | Determines whether the SQL expression contains a SELECT statement inside it. |
ReplaceTablesInExprWithAliases(DbModel model, string expr, SqlFormats formats) | string | |
SqlServerTypeToDataType(string sqlType) | DataType | Converts SQL Server data types to DataType enumeration. |