Пример #1
0
 /// <summary>
 /// 创建分组集合的表达式。
 /// </summary>
 /// <param name="unit">分组的单元表达式。</param>
 public DbGroupSetExpression(DbUnitTypeExpression unit)
     : base(unit.ClrType, new DbGroupItemExpression(unit.Item))
 {
     Source = unit;
 }
Пример #2
0
 /// <summary>
 /// 创建数据集连接操作。
 /// </summary>
 /// <param name="source">源数据单元表达式。</param>
 /// <param name="target">目标数据单元表达式。</param>
 /// <param name="kind">连接种类。</param>
 public DbSetConnectExpression(DbUnitTypeExpression source, DbUnitTypeExpression target, EConnectKind kind)
     : base(source.ClrType, source, new DbDataItemExpression(source.Item.ClrType))
 {
     Target = target;
     Kind   = kind;
 }
Пример #3
0
 /// <summary>
 /// 创建分组并连接表达式。
 /// </summary>
 /// <param name="source">源表达式。</param>
 /// <param name="target">目标表达式。</param>
 /// <param name="left">左端键表达式。</param>
 /// <param name="right">右端键表达式。</param>
 /// <param name="newExp">当前连接后输出的新对象表达工。</param>
 public DbGroupJoinExpression(DbUnitTypeExpression source, DbUnitTypeExpression target, DbExpression left, DbExpression right, DbUnitItemTypeExpression newExp)
     : base(source, target, left, right, newExp)
 {
 }