private ColumnExpression(string name, TableExpressionBase table, Type type, RelationalTypeMapping typeMapping, bool nullable) : base(type, typeMapping) { Name = name; Table = table; Nullable = nullable; }
private ColumnExpression(string name, TableExpressionBase table, Type type, RelationalTypeMapping typeMapping, bool nullable) : base(type, typeMapping) { Check.NotEmpty(name, nameof(name)); Check.NotNull(table, nameof(table)); Check.NotEmpty(table.Alias, $"{nameof(table)}.{nameof(table.Alias)}"); Name = name; Table = table; Nullable = nullable; }
public InnerJoinExpression Update(TableExpressionBase table, SqlExpression joinPredicate) => table != Table || joinPredicate != JoinPredicate ? new InnerJoinExpression(table, joinPredicate) : this;
public InnerJoinExpression(TableExpressionBase table, SqlExpression joinPredicate) : base(table, joinPredicate) { }
internal ColumnExpression(ProjectionExpression subqueryProjection, TableExpressionBase table, bool nullable) : this(subqueryProjection.Alias, table, subqueryProjection.Type, subqueryProjection.Expression.TypeMapping, nullable) { }
internal ColumnExpression(IProperty property, TableExpressionBase table, bool nullable) : this(property.Relational().ColumnName, table, property.ClrType, property.FindRelationalMapping(), nullable || property.IsNullable || property.DeclaringEntityType.BaseType != null) { }
public LeftJoinExpression Update(TableExpressionBase table, SqlExpression joinPredicate) { return(table != Table || joinPredicate != JoinPredicate ? new LeftJoinExpression(table, joinPredicate) : this); }
protected PredicateJoinExpressionBase(TableExpressionBase table, SqlExpression joinPredicate) : base(table) { JoinPredicate = joinPredicate; }
protected JoinExpressionBase(TableExpressionBase table) : base(null) { Table = table; }
public CrossJoinExpression Update(TableExpressionBase table) => table != Table ? new CrossJoinExpression(table) : this;
public CrossJoinExpression(TableExpressionBase table) : base(table) { }