SqlExpressionExtensions
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public static class SqlExpressionExtensions : object
Methods
GetUntypedSqlExpression(ISqlExpression)
View Source
Declaration
public static IUntypedSqlExpression GetUntypedSqlExpression(this ISqlExpression sqlExpression)
Returns
ServiceStack.OrmLite.IUntypedSqlExpression
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | sqlExpression |
ToDialectProvider(ISqlExpression)
View Source
Declaration
public static IOrmLiteDialectProvider ToDialectProvider(this ISqlExpression sqlExpression)
Returns
ServiceStack.OrmLite.IOrmLiteDialectProvider
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | sqlExpression |
Table<T>(ISqlExpression)
View Source
Declaration
public static string Table<T>(this ISqlExpression sqlExpression)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | sqlExpression |
Type Parameters
T
Table<T>(IOrmLiteDialectProvider)
View Source
Declaration
public static string Table<T>(this IOrmLiteDialectProvider dialect)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialect |
Type Parameters
T
Column<Table>(ISqlExpression, Expression<Func<Table, Object>>, Boolean)
View Source
Declaration
public static string Column<Table>(this ISqlExpression sqlExpression, Expression<Func<Table, object>> propertyExpression, bool prefixTable = false)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | sqlExpression |
Expression<Func<<Table>,System.Object>> | propertyExpression |
System.Boolean | prefixTable |
Type Parameters
Table
Column<Table>(IOrmLiteDialectProvider, Expression<Func<Table, Object>>, Boolean)
View Source
Declaration
public static string Column<Table>(this IOrmLiteDialectProvider dialect, Expression<Func<Table, object>> propertyExpression, bool prefixTable = false)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialect |
Expression<Func<<Table>,System.Object>> | propertyExpression |
System.Boolean | prefixTable |
Type Parameters
Table
Column<Table>(ISqlExpression, String, Boolean)
View Source
Declaration
public static string Column<Table>(this ISqlExpression sqlExpression, string propertyName, bool prefixTable = false)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ISqlExpression | sqlExpression |
System.String | propertyName |
System.Boolean | prefixTable |
Type Parameters
Table
Column<Table>(IOrmLiteDialectProvider, String, Boolean)
View Source
Declaration
public static string Column<Table>(this IOrmLiteDialectProvider dialect, string propertyName, bool prefixTable = false)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.IOrmLiteDialectProvider | dialect |
System.String | propertyName |
System.Boolean | prefixTable |
Type Parameters
Table