コード例 #1
0
        internal AllorsExtentOperationSql(AllorsExtentSql first, AllorsExtentSql second, AllorsExtentOperationTypeSqlBundled operationType)
        {
            if (!first.ObjectType.Equals(second.ObjectType))
            {
                throw new ArgumentException("Both extents in a Union, Intersect or Except must be from the same type");
            }

            this.first         = first;
            this.second        = second;
            this.operationType = operationType;

            first.ParentOperationExtent  = this;
            second.ParentOperationExtent = this;
        }
コード例 #2
0
ファイル: ExtentOperation.cs プロジェクト: whesius/allors
        internal AllorsExtentOperationSql(AllorsExtentSql first, AllorsExtentSql second, AllorsExtentOperationTypeSqlBundled operationType)
        {
            if (!first.ObjectType.Equals(second.ObjectType))
            {
                throw new ArgumentException("Both extents in a Union, Intersect or Except must be from the same type");
            }

            this.first = first;
            this.second = second;
            this.operationType = operationType;

            first.ParentOperationExtent = this;
            second.ParentOperationExtent = this;
        }