C# Class Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityDefinitionExpression

Implementation of SqlEntityExpression for entity definitions, i.e., entities that are directly defined by a table.
Inheritance: SqlEntityExpression
ファイルを表示 Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
CreateReference ( string newTableAlias, Type newType ) : SqlEntityExpression
GetColumn ( Type type, string columnName, bool isPrimaryKeyColumn ) : SqlColumnExpression
SqlEntityDefinitionExpression ( Type entityType, string tableAlias, string entityName, Expression>.Func identityExpressionGenerator ) : System
ToString ( ) : string
Update ( Type itemType, string tableAlias, string entityName ) : SqlEntityExpression

Protected Methods

Method Description
VisitChildren ( System.Linq.Expressions.ExpressionTreeVisitor visitor ) : Expression

Method Details

CreateReference() public method

public CreateReference ( string newTableAlias, Type newType ) : SqlEntityExpression
newTableAlias string
newType System.Type
return SqlEntityExpression

GetColumn() public method

public GetColumn ( Type type, string columnName, bool isPrimaryKeyColumn ) : SqlColumnExpression
type System.Type
columnName string
isPrimaryKeyColumn bool
return SqlColumnExpression

SqlEntityDefinitionExpression() public method

public SqlEntityDefinitionExpression ( Type entityType, string tableAlias, string entityName, Expression>.Func identityExpressionGenerator ) : System
entityType System.Type
tableAlias string
entityName string
identityExpressionGenerator Expression>.Func
return System

ToString() public method

public ToString ( ) : string
return string

Update() public method

public Update ( Type itemType, string tableAlias, string entityName ) : SqlEntityExpression
itemType System.Type
tableAlias string
entityName string
return SqlEntityExpression

VisitChildren() protected method

protected VisitChildren ( System.Linq.Expressions.ExpressionTreeVisitor visitor ) : Expression
visitor System.Linq.Expressions.ExpressionTreeVisitor
return System.Linq.Expressions.Expression