C# Class NLite.Data.Dialect.SqlBuilder.DbSqlBuilder

Afficher le fichier Open project: netcasewqs/elinq

Protected Properties

Свойство Type Description
sb System.StringBuilder

Méthodes publiques

Méthode Description
Append ( object value ) : ISqlBuilder
AppendFormat ( string fmt ) : void
AppendIndentation ( ) : void
AppendLine ( Indentation style ) : void
AppendOutdentation ( ) : void
DbSqlBuilder ( ) : System
Do ( System.Action handler ) : ISqlBuilder
ToString ( ) : string
Visit ( Expression exp ) : Expression
VisitEnumerable ( Expression items ) : void
VisitEnumerable ( Expression items, string separetor ) : void

Méthodes protégées

Méthode Description
AddAlias ( TableAlias alias ) : void
AddAliases ( Expression expr ) : void
AppendAliasName ( string aliasName ) : void
AppendAsAliasName ( string aliasName ) : void
AppendAsColumnName ( string columnName ) : void
AppendColumnName ( string columnName ) : void
AppendParameterName ( string name ) : void
AppendTableName ( string tableName ) : void
AppendVariableName ( string name ) : void
BuildConverterFunction ( Expression from, Type fromType, Type toType ) : void
ConvertTo ( Expression from, Type toType ) : void
GetAliasName ( TableAlias alias ) : string
GetDbTypeName ( Type type ) : string
GetOperator ( BinaryExpression b ) : string
GetOperator ( UnaryExpression u ) : string
GetOperator ( string methodName ) : string
Indent ( Indentation style ) : void
IsBoolean ( Type type ) : bool
IsInteger ( Type type ) : bool
IsPredicate ( Expression expr ) : bool
RegisterCastType ( DBType code, string name ) : void
RegisterCastTypes ( ) : void
RequiresAsteriskWhenNoArgument ( string aggregateName ) : bool
VisitAggregate ( AggregateExpression aggregate ) : Expression
VisitBetween ( BetweenExpression between ) : Expression
VisitBinary ( BinaryExpression b ) : Expression
VisitBlock ( BlockCommand block ) : Expression
VisitColumn ( ColumnExpression column ) : Expression
VisitConditional ( ConditionalExpression c ) : Expression
VisitConstant ( ConstantExpression c ) : Expression
VisitDeclaration ( DeclarationCommand decl ) : Expression
VisitDelete ( DeleteCommand delete ) : Expression
VisitExists ( ExistsExpression exists ) : Expression
VisitFunction ( FunctionExpression func ) : Expression
VisitIf ( IFCommand ifx ) : Expression
VisitIn ( InExpression @in ) : Expression
VisitInsert ( InsertCommand insert ) : Expression
VisitIsNull ( IsNullExpression isnull ) : Expression
VisitJoin ( JoinExpression join ) : Expression
VisitJoinLeft ( Expression source ) : Expression
VisitJoinRight ( Expression source ) : Expression
VisitMemberAccess ( MemberExpression m ) : Expression
VisitMethodCall ( MethodCallExpression m ) : Expression
VisitNamedValue ( NamedValueExpression value ) : Expression
VisitNew ( NewExpression m ) : Expression
VisitPredicate ( Expression expr ) : Expression
VisitProjection ( ProjectionExpression proj ) : Expression
VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
VisitScalar ( ScalarExpression subquery ) : Expression
VisitSelect ( SelectExpression select ) : Expression
VisitSource ( Expression source ) : Expression
VisitStatement ( Expression expression ) : void
VisitUnary ( UnaryExpression u ) : Expression
VisitUpdate ( UpdateCommand update ) : Expression
VisitValue ( Expression expr ) : Expression
VisitVariable ( VariableExpression vex ) : Expression
WriteAggregateName ( string aggregateName ) : void
WriteBoolean ( object value ) : void
WriteColumns ( ReadOnlyCollection columns ) : void
WriteDateTime ( object value ) : void
WriteGuid ( object value ) : void
WriteNumberic ( object value ) : void
WriteTableName ( IEntityMapping mapping ) : void
WriteTopClause ( Expression expression ) : void
WriteValue ( object value ) : void

Private Methods

Méthode Description
ByteArrayToBinaryString ( Byte binaryArray ) : string
CreateCompareExpression ( Expression left, Expression right ) : ConditionalExpression
PopulateArguments ( MethodCallExpression m ) : IEnumerable

Method Details

AddAlias() protected méthode

protected AddAlias ( TableAlias alias ) : void
alias TableAlias
Résultat void

AddAliases() protected méthode

protected AddAliases ( Expression expr ) : void
expr System.Linq.Expressions.Expression
Résultat void

Append() public méthode

public Append ( object value ) : ISqlBuilder
value object
Résultat ISqlBuilder

AppendAliasName() protected méthode

protected AppendAliasName ( string aliasName ) : void
aliasName string
Résultat void

AppendAsAliasName() protected méthode

protected AppendAsAliasName ( string aliasName ) : void
aliasName string
Résultat void

AppendAsColumnName() protected méthode

protected AppendAsColumnName ( string columnName ) : void
columnName string
Résultat void

AppendColumnName() protected méthode

protected AppendColumnName ( string columnName ) : void
columnName string
Résultat void

AppendFormat() public méthode

public AppendFormat ( string fmt ) : void
fmt string
Résultat void

AppendIndentation() public méthode

public AppendIndentation ( ) : void
Résultat void

AppendLine() public méthode

public AppendLine ( Indentation style ) : void
style Indentation
Résultat void

AppendOutdentation() public méthode

public AppendOutdentation ( ) : void
Résultat void

AppendParameterName() protected méthode

protected AppendParameterName ( string name ) : void
name string
Résultat void

AppendTableName() protected méthode

protected AppendTableName ( string tableName ) : void
tableName string
Résultat void

AppendVariableName() protected méthode

protected AppendVariableName ( string name ) : void
name string
Résultat void

BuildConverterFunction() protected méthode

protected BuildConverterFunction ( Expression from, Type fromType, Type toType ) : void
from System.Linq.Expressions.Expression
fromType System.Type
toType System.Type
Résultat void

ConvertTo() protected méthode

protected ConvertTo ( Expression from, Type toType ) : void
from System.Linq.Expressions.Expression
toType System.Type
Résultat void

DbSqlBuilder() public méthode

public DbSqlBuilder ( ) : System
Résultat System

Do() public méthode

public Do ( System.Action handler ) : ISqlBuilder
handler System.Action
Résultat ISqlBuilder

GetAliasName() protected méthode

protected GetAliasName ( TableAlias alias ) : string
alias TableAlias
Résultat string

GetDbTypeName() protected méthode

protected GetDbTypeName ( Type type ) : string
type System.Type
Résultat string

GetOperator() protected méthode

protected GetOperator ( BinaryExpression b ) : string
b System.Linq.Expressions.BinaryExpression
Résultat string

GetOperator() protected méthode

protected GetOperator ( UnaryExpression u ) : string
u System.Linq.Expressions.UnaryExpression
Résultat string

GetOperator() protected méthode

protected GetOperator ( string methodName ) : string
methodName string
Résultat string

Indent() protected méthode

protected Indent ( Indentation style ) : void
style Indentation
Résultat void

IsBoolean() protected méthode

protected IsBoolean ( Type type ) : bool
type System.Type
Résultat bool

IsInteger() protected méthode

protected IsInteger ( Type type ) : bool
type System.Type
Résultat bool

IsPredicate() protected méthode

protected IsPredicate ( Expression expr ) : bool
expr System.Linq.Expressions.Expression
Résultat bool

RegisterCastType() protected méthode

protected RegisterCastType ( DBType code, string name ) : void
code DBType
name string
Résultat void

RegisterCastTypes() protected méthode

protected RegisterCastTypes ( ) : void
Résultat void

RequiresAsteriskWhenNoArgument() protected méthode

protected RequiresAsteriskWhenNoArgument ( string aggregateName ) : bool
aggregateName string
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

Visit() public méthode

public Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitAggregate() protected méthode

protected VisitAggregate ( AggregateExpression aggregate ) : Expression
aggregate AggregateExpression
Résultat System.Linq.Expressions.Expression

VisitBetween() protected méthode

protected VisitBetween ( BetweenExpression between ) : Expression
between BetweenExpression
Résultat System.Linq.Expressions.Expression

VisitBinary() protected méthode

protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
Résultat System.Linq.Expressions.Expression

VisitBlock() protected méthode

protected VisitBlock ( BlockCommand block ) : Expression
block BlockCommand
Résultat System.Linq.Expressions.Expression

VisitColumn() protected méthode

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
Résultat System.Linq.Expressions.Expression

VisitConditional() protected méthode

protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
Résultat System.Linq.Expressions.Expression

VisitConstant() protected méthode

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
Résultat System.Linq.Expressions.Expression

VisitDeclaration() protected méthode

protected VisitDeclaration ( DeclarationCommand decl ) : Expression
decl DeclarationCommand
Résultat System.Linq.Expressions.Expression

VisitDelete() protected méthode

protected VisitDelete ( DeleteCommand delete ) : Expression
delete DeleteCommand
Résultat System.Linq.Expressions.Expression

VisitEnumerable() public méthode

public VisitEnumerable ( Expression items ) : void
items System.Linq.Expressions.Expression
Résultat void

VisitEnumerable() public méthode

public VisitEnumerable ( Expression items, string separetor ) : void
items System.Linq.Expressions.Expression
separetor string
Résultat void

VisitExists() protected méthode

protected VisitExists ( ExistsExpression exists ) : Expression
exists ExistsExpression
Résultat System.Linq.Expressions.Expression

VisitFunction() protected méthode

protected VisitFunction ( FunctionExpression func ) : Expression
func FunctionExpression
Résultat System.Linq.Expressions.Expression

VisitIf() protected méthode

protected VisitIf ( IFCommand ifx ) : Expression
ifx IFCommand
Résultat System.Linq.Expressions.Expression

VisitIn() protected méthode

protected VisitIn ( InExpression @in ) : Expression
@in InExpression
Résultat System.Linq.Expressions.Expression

VisitInsert() protected méthode

protected VisitInsert ( InsertCommand insert ) : Expression
insert InsertCommand
Résultat System.Linq.Expressions.Expression

VisitIsNull() protected méthode

protected VisitIsNull ( IsNullExpression isnull ) : Expression
isnull IsNullExpression
Résultat System.Linq.Expressions.Expression

VisitJoin() protected méthode

protected VisitJoin ( JoinExpression join ) : Expression
join JoinExpression
Résultat System.Linq.Expressions.Expression

VisitJoinLeft() protected méthode

protected VisitJoinLeft ( Expression source ) : Expression
source System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitJoinRight() protected méthode

protected VisitJoinRight ( Expression source ) : Expression
source System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitMemberAccess() protected méthode

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
Résultat System.Linq.Expressions.Expression

VisitMethodCall() protected méthode

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

VisitNamedValue() protected méthode

protected VisitNamedValue ( NamedValueExpression value ) : Expression
value NamedValueExpression
Résultat System.Linq.Expressions.Expression

VisitNew() protected méthode

protected VisitNew ( NewExpression m ) : Expression
m System.Linq.Expressions.NewExpression
Résultat System.Linq.Expressions.Expression

VisitPredicate() protected méthode

protected VisitPredicate ( Expression expr ) : Expression
expr System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitProjection() protected méthode

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
Résultat System.Linq.Expressions.Expression

VisitRowNumber() protected méthode

protected VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
rowNumber RowNumberExpression
Résultat System.Linq.Expressions.Expression

VisitScalar() protected méthode

protected VisitScalar ( ScalarExpression subquery ) : Expression
subquery ScalarExpression
Résultat System.Linq.Expressions.Expression

VisitSelect() protected méthode

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
Résultat System.Linq.Expressions.Expression

VisitSource() protected méthode

protected VisitSource ( Expression source ) : Expression
source System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitStatement() protected méthode

protected VisitStatement ( Expression expression ) : void
expression System.Linq.Expressions.Expression
Résultat void

VisitUnary() protected méthode

protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
Résultat System.Linq.Expressions.Expression

VisitUpdate() protected méthode

protected VisitUpdate ( UpdateCommand update ) : Expression
update UpdateCommand
Résultat System.Linq.Expressions.Expression

VisitValue() protected méthode

protected VisitValue ( Expression expr ) : Expression
expr System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitVariable() protected méthode

protected VisitVariable ( VariableExpression vex ) : Expression
vex VariableExpression
Résultat System.Linq.Expressions.Expression

WriteAggregateName() protected méthode

protected WriteAggregateName ( string aggregateName ) : void
aggregateName string
Résultat void

WriteBoolean() protected méthode

protected WriteBoolean ( object value ) : void
value object
Résultat void

WriteColumns() protected méthode

protected WriteColumns ( ReadOnlyCollection columns ) : void
columns ReadOnlyCollection
Résultat void

WriteDateTime() protected méthode

protected WriteDateTime ( object value ) : void
value object
Résultat void

WriteGuid() protected méthode

protected WriteGuid ( object value ) : void
value object
Résultat void

WriteNumberic() protected méthode

protected WriteNumberic ( object value ) : void
value object
Résultat void

WriteTableName() protected méthode

protected WriteTableName ( IEntityMapping mapping ) : void
mapping IEntityMapping
Résultat void

WriteTopClause() protected méthode

protected WriteTopClause ( Expression expression ) : void
expression System.Linq.Expressions.Expression
Résultat void

WriteValue() protected méthode

protected WriteValue ( object value ) : void
value object
Résultat void

Property Details

sb protected_oe property

protected StringBuilder,System sb
Résultat System.StringBuilder