Skip to main content

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
TypeName
ServiceStack.OrmLite.ISqlExpressionsqlExpression

ToDialectProvider(ISqlExpression)

View Source
Declaration
public static IOrmLiteDialectProvider ToDialectProvider(this ISqlExpression sqlExpression)
Returns

ServiceStack.OrmLite.IOrmLiteDialectProvider

Parameters
TypeName
ServiceStack.OrmLite.ISqlExpressionsqlExpression

Table<T>(ISqlExpression)

View Source
Declaration
public static string Table<T>(this ISqlExpression sqlExpression)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ISqlExpressionsqlExpression
Type Parameters
  • T

Table<T>(IOrmLiteDialectProvider)

View Source
Declaration
public static string Table<T>(this IOrmLiteDialectProvider dialect)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.IOrmLiteDialectProviderdialect
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
TypeName
ServiceStack.OrmLite.ISqlExpressionsqlExpression
Expression<Func<<Table>,System.Object>>propertyExpression
System.BooleanprefixTable
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
TypeName
ServiceStack.OrmLite.IOrmLiteDialectProviderdialect
Expression<Func<<Table>,System.Object>>propertyExpression
System.BooleanprefixTable
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
TypeName
ServiceStack.OrmLite.ISqlExpressionsqlExpression
System.StringpropertyName
System.BooleanprefixTable
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
TypeName
ServiceStack.OrmLite.IOrmLiteDialectProviderdialect
System.StringpropertyName
System.BooleanprefixTable
Type Parameters
  • Table