C# 클래스 NLite.Data.Dialect.SqlBuilder.DbSqlBuilder

파일 보기 프로젝트 열기: netcasewqs/elinq

보호된 프로퍼티들

프로퍼티 타입 설명
sb System.StringBuilder

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
ByteArrayToBinaryString ( Byte binaryArray ) : string
CreateCompareExpression ( Expression left, Expression right ) : ConditionalExpression
PopulateArguments ( MethodCallExpression m ) : IEnumerable

메소드 상세

AddAlias() 보호된 메소드

protected AddAlias ( TableAlias alias ) : void
alias TableAlias
리턴 void

AddAliases() 보호된 메소드

protected AddAliases ( Expression expr ) : void
expr System.Linq.Expressions.Expression
리턴 void

Append() 공개 메소드

public Append ( object value ) : ISqlBuilder
value object
리턴 ISqlBuilder

AppendAliasName() 보호된 메소드

protected AppendAliasName ( string aliasName ) : void
aliasName string
리턴 void

AppendAsAliasName() 보호된 메소드

protected AppendAsAliasName ( string aliasName ) : void
aliasName string
리턴 void

AppendAsColumnName() 보호된 메소드

protected AppendAsColumnName ( string columnName ) : void
columnName string
리턴 void

AppendColumnName() 보호된 메소드

protected AppendColumnName ( string columnName ) : void
columnName string
리턴 void

AppendFormat() 공개 메소드

public AppendFormat ( string fmt ) : void
fmt string
리턴 void

AppendIndentation() 공개 메소드

public AppendIndentation ( ) : void
리턴 void

AppendLine() 공개 메소드

public AppendLine ( Indentation style ) : void
style Indentation
리턴 void

AppendOutdentation() 공개 메소드

public AppendOutdentation ( ) : void
리턴 void

AppendParameterName() 보호된 메소드

protected AppendParameterName ( string name ) : void
name string
리턴 void

AppendTableName() 보호된 메소드

protected AppendTableName ( string tableName ) : void
tableName string
리턴 void

AppendVariableName() 보호된 메소드

protected AppendVariableName ( string name ) : void
name string
리턴 void

BuildConverterFunction() 보호된 메소드

protected BuildConverterFunction ( Expression from, Type fromType, Type toType ) : void
from System.Linq.Expressions.Expression
fromType System.Type
toType System.Type
리턴 void

ConvertTo() 보호된 메소드

protected ConvertTo ( Expression from, Type toType ) : void
from System.Linq.Expressions.Expression
toType System.Type
리턴 void

DbSqlBuilder() 공개 메소드

public DbSqlBuilder ( ) : System
리턴 System

Do() 공개 메소드

public Do ( System.Action handler ) : ISqlBuilder
handler System.Action
리턴 ISqlBuilder

GetAliasName() 보호된 메소드

protected GetAliasName ( TableAlias alias ) : string
alias TableAlias
리턴 string

GetDbTypeName() 보호된 메소드

protected GetDbTypeName ( Type type ) : string
type System.Type
리턴 string

GetOperator() 보호된 메소드

protected GetOperator ( BinaryExpression b ) : string
b System.Linq.Expressions.BinaryExpression
리턴 string

GetOperator() 보호된 메소드

protected GetOperator ( UnaryExpression u ) : string
u System.Linq.Expressions.UnaryExpression
리턴 string

GetOperator() 보호된 메소드

protected GetOperator ( string methodName ) : string
methodName string
리턴 string

Indent() 보호된 메소드

protected Indent ( Indentation style ) : void
style Indentation
리턴 void

IsBoolean() 보호된 메소드

protected IsBoolean ( Type type ) : bool
type System.Type
리턴 bool

IsInteger() 보호된 메소드

protected IsInteger ( Type type ) : bool
type System.Type
리턴 bool

IsPredicate() 보호된 메소드

protected IsPredicate ( Expression expr ) : bool
expr System.Linq.Expressions.Expression
리턴 bool

RegisterCastType() 보호된 메소드

protected RegisterCastType ( DBType code, string name ) : void
code DBType
name string
리턴 void

RegisterCastTypes() 보호된 메소드

protected RegisterCastTypes ( ) : void
리턴 void

RequiresAsteriskWhenNoArgument() 보호된 메소드

protected RequiresAsteriskWhenNoArgument ( string aggregateName ) : bool
aggregateName string
리턴 bool

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Visit() 공개 메소드

public Visit ( Expression exp ) : Expression
exp System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitAggregate() 보호된 메소드

protected VisitAggregate ( AggregateExpression aggregate ) : Expression
aggregate AggregateExpression
리턴 System.Linq.Expressions.Expression

VisitBetween() 보호된 메소드

protected VisitBetween ( BetweenExpression between ) : Expression
between BetweenExpression
리턴 System.Linq.Expressions.Expression

VisitBinary() 보호된 메소드

protected VisitBinary ( BinaryExpression b ) : Expression
b System.Linq.Expressions.BinaryExpression
리턴 System.Linq.Expressions.Expression

VisitBlock() 보호된 메소드

protected VisitBlock ( BlockCommand block ) : Expression
block BlockCommand
리턴 System.Linq.Expressions.Expression

VisitColumn() 보호된 메소드

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
리턴 System.Linq.Expressions.Expression

VisitConditional() 보호된 메소드

protected VisitConditional ( ConditionalExpression c ) : Expression
c System.Linq.Expressions.ConditionalExpression
리턴 System.Linq.Expressions.Expression

VisitConstant() 보호된 메소드

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
리턴 System.Linq.Expressions.Expression

VisitDeclaration() 보호된 메소드

protected VisitDeclaration ( DeclarationCommand decl ) : Expression
decl DeclarationCommand
리턴 System.Linq.Expressions.Expression

VisitDelete() 보호된 메소드

protected VisitDelete ( DeleteCommand delete ) : Expression
delete DeleteCommand
리턴 System.Linq.Expressions.Expression

VisitEnumerable() 공개 메소드

public VisitEnumerable ( Expression items ) : void
items System.Linq.Expressions.Expression
리턴 void

VisitEnumerable() 공개 메소드

public VisitEnumerable ( Expression items, string separetor ) : void
items System.Linq.Expressions.Expression
separetor string
리턴 void

VisitExists() 보호된 메소드

protected VisitExists ( ExistsExpression exists ) : Expression
exists ExistsExpression
리턴 System.Linq.Expressions.Expression

VisitFunction() 보호된 메소드

protected VisitFunction ( FunctionExpression func ) : Expression
func FunctionExpression
리턴 System.Linq.Expressions.Expression

VisitIf() 보호된 메소드

protected VisitIf ( IFCommand ifx ) : Expression
ifx IFCommand
리턴 System.Linq.Expressions.Expression

VisitIn() 보호된 메소드

protected VisitIn ( InExpression @in ) : Expression
@in InExpression
리턴 System.Linq.Expressions.Expression

VisitInsert() 보호된 메소드

protected VisitInsert ( InsertCommand insert ) : Expression
insert InsertCommand
리턴 System.Linq.Expressions.Expression

VisitIsNull() 보호된 메소드

protected VisitIsNull ( IsNullExpression isnull ) : Expression
isnull IsNullExpression
리턴 System.Linq.Expressions.Expression

VisitJoin() 보호된 메소드

protected VisitJoin ( JoinExpression join ) : Expression
join JoinExpression
리턴 System.Linq.Expressions.Expression

VisitJoinLeft() 보호된 메소드

protected VisitJoinLeft ( Expression source ) : Expression
source System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitJoinRight() 보호된 메소드

protected VisitJoinRight ( Expression source ) : Expression
source System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitMemberAccess() 보호된 메소드

protected VisitMemberAccess ( MemberExpression m ) : Expression
m System.Linq.Expressions.MemberExpression
리턴 System.Linq.Expressions.Expression

VisitMethodCall() 보호된 메소드

protected VisitMethodCall ( MethodCallExpression m ) : Expression
m System.Linq.Expressions.MethodCallExpression
리턴 System.Linq.Expressions.Expression

VisitNamedValue() 보호된 메소드

protected VisitNamedValue ( NamedValueExpression value ) : Expression
value NamedValueExpression
리턴 System.Linq.Expressions.Expression

VisitNew() 보호된 메소드

protected VisitNew ( NewExpression m ) : Expression
m System.Linq.Expressions.NewExpression
리턴 System.Linq.Expressions.Expression

VisitPredicate() 보호된 메소드

protected VisitPredicate ( Expression expr ) : Expression
expr System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitProjection() 보호된 메소드

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
리턴 System.Linq.Expressions.Expression

VisitRowNumber() 보호된 메소드

protected VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
rowNumber RowNumberExpression
리턴 System.Linq.Expressions.Expression

VisitScalar() 보호된 메소드

protected VisitScalar ( ScalarExpression subquery ) : Expression
subquery ScalarExpression
리턴 System.Linq.Expressions.Expression

VisitSelect() 보호된 메소드

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
리턴 System.Linq.Expressions.Expression

VisitSource() 보호된 메소드

protected VisitSource ( Expression source ) : Expression
source System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitStatement() 보호된 메소드

protected VisitStatement ( Expression expression ) : void
expression System.Linq.Expressions.Expression
리턴 void

VisitUnary() 보호된 메소드

protected VisitUnary ( UnaryExpression u ) : Expression
u System.Linq.Expressions.UnaryExpression
리턴 System.Linq.Expressions.Expression

VisitUpdate() 보호된 메소드

protected VisitUpdate ( UpdateCommand update ) : Expression
update UpdateCommand
리턴 System.Linq.Expressions.Expression

VisitValue() 보호된 메소드

protected VisitValue ( Expression expr ) : Expression
expr System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.Expression

VisitVariable() 보호된 메소드

protected VisitVariable ( VariableExpression vex ) : Expression
vex VariableExpression
리턴 System.Linq.Expressions.Expression

WriteAggregateName() 보호된 메소드

protected WriteAggregateName ( string aggregateName ) : void
aggregateName string
리턴 void

WriteBoolean() 보호된 메소드

protected WriteBoolean ( object value ) : void
value object
리턴 void

WriteColumns() 보호된 메소드

protected WriteColumns ( ReadOnlyCollection columns ) : void
columns ReadOnlyCollection
리턴 void

WriteDateTime() 보호된 메소드

protected WriteDateTime ( object value ) : void
value object
리턴 void

WriteGuid() 보호된 메소드

protected WriteGuid ( object value ) : void
value object
리턴 void

WriteNumberic() 보호된 메소드

protected WriteNumberic ( object value ) : void
value object
리턴 void

WriteTableName() 보호된 메소드

protected WriteTableName ( IEntityMapping mapping ) : void
mapping IEntityMapping
리턴 void

WriteTopClause() 보호된 메소드

protected WriteTopClause ( Expression expression ) : void
expression System.Linq.Expressions.Expression
리턴 void

WriteValue() 보호된 메소드

protected WriteValue ( object value ) : void
value object
리턴 void

프로퍼티 상세

sb 보호되어 있는 프로퍼티

protected StringBuilder,System sb
리턴 System.StringBuilder