C# Class Shaolinq.Postgres.PostgresSqlQueryFormatter

Inheritance: Shaolinq.Persistence.Linq.Sql92QueryFormatter
Datei anzeigen Open project: tumtumtum/Shaolinq

Private Properties

Property Type Description

Public Methods

Method Description
AppendFullyQualifiedQuotedTableOrTypeName ( string tableName, Action append ) : void
PostgresSqlQueryFormatter ( SqlQueryFormatterOptions options, SqlDialect sqlDialect, SqlDataTypeProvider sqlDataTypeProvider, TypeDescriptorProvider typeDescriptorProvider, string schemaName, bool convertEnumsToText ) : System

Protected Methods

Method Description
AppendLimit ( SqlSelectExpression selectExpression ) : void
PreProcess ( Expression expression ) : Expression
ResolveSqlFunction ( SqlFunctionCallExpression functionCallExpression ) : FunctionResolveResult
VisitColumn ( SqlColumnExpression columnExpression ) : Expression
VisitColumn ( SqlSelectExpression selectExpression, SqlColumnDeclaration column ) : void
VisitConstant ( ConstantExpression constantExpression ) : Expression
VisitIndexedColumn ( SqlIndexedColumnExpression indexedColumnExpression ) : Expression
VisitOrderBy ( SqlOrderByExpression orderByExpression ) : Expression
VisitSelect ( SqlSelectExpression selectExpression ) : Expression
Write ( SqlJoinType joinType ) : void
WriteInsertIntoReturning ( SqlInsertIntoExpression expression ) : void

Method Details

AppendFullyQualifiedQuotedTableOrTypeName() public method

public AppendFullyQualifiedQuotedTableOrTypeName ( string tableName, Action append ) : void
tableName string
append Action
return void

AppendLimit() protected method

protected AppendLimit ( SqlSelectExpression selectExpression ) : void
selectExpression Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
return void

PostgresSqlQueryFormatter() public method

public PostgresSqlQueryFormatter ( SqlQueryFormatterOptions options, SqlDialect sqlDialect, SqlDataTypeProvider sqlDataTypeProvider, TypeDescriptorProvider typeDescriptorProvider, string schemaName, bool convertEnumsToText ) : System
options SqlQueryFormatterOptions
sqlDialect Shaolinq.Persistence.SqlDialect
sqlDataTypeProvider Shaolinq.Persistence.SqlDataTypeProvider
typeDescriptorProvider Shaolinq.Persistence.TypeDescriptorProvider
schemaName string
convertEnumsToText bool
return System

PreProcess() protected method

protected PreProcess ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

ResolveSqlFunction() protected method

protected ResolveSqlFunction ( SqlFunctionCallExpression functionCallExpression ) : FunctionResolveResult
functionCallExpression Shaolinq.Persistence.Linq.Expressions.SqlFunctionCallExpression
return FunctionResolveResult

VisitColumn() protected method

protected VisitColumn ( SqlColumnExpression columnExpression ) : Expression
columnExpression Shaolinq.Persistence.Linq.Expressions.SqlColumnExpression
return System.Linq.Expressions.Expression

VisitColumn() protected method

protected VisitColumn ( SqlSelectExpression selectExpression, SqlColumnDeclaration column ) : void
selectExpression Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
column Shaolinq.Persistence.Linq.Expressions.SqlColumnDeclaration
return void

VisitConstant() protected method

protected VisitConstant ( ConstantExpression constantExpression ) : Expression
constantExpression System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitIndexedColumn() protected method

protected VisitIndexedColumn ( SqlIndexedColumnExpression indexedColumnExpression ) : Expression
indexedColumnExpression Shaolinq.Persistence.Linq.Expressions.SqlIndexedColumnExpression
return System.Linq.Expressions.Expression

VisitOrderBy() protected method

protected VisitOrderBy ( SqlOrderByExpression orderByExpression ) : Expression
orderByExpression Shaolinq.Persistence.Linq.Expressions.SqlOrderByExpression
return System.Linq.Expressions.Expression

VisitSelect() protected method

protected VisitSelect ( SqlSelectExpression selectExpression ) : Expression
selectExpression Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
return System.Linq.Expressions.Expression

Write() protected method

protected Write ( SqlJoinType joinType ) : void
joinType SqlJoinType
return void

WriteInsertIntoReturning() protected method

protected WriteInsertIntoReturning ( SqlInsertIntoExpression expression ) : void
expression Shaolinq.Persistence.Linq.Expressions.SqlInsertIntoExpression
return void