示例#1
0
        protected override OperationBase DeepCloneInternal()
        {
            var result = new NullMultiStatementOp <TStatement, TResult>(
                this.Statements?.DeepClone());

            return(result);
        }
示例#2
0
        public override MultiStatementOpBase <TStatement, TResult> DeepCloneWithStatements(IReadOnlyCollection <IReturningOperation <TStatement> > statements)
        {
            var result = new NullMultiStatementOp <TStatement, TResult>(
                statements);

            return(result);
        }
示例#3
0
        /// <inheritdoc />
        public bool Equals(NullMultiStatementOp <TStatement, TResult> other)
        {
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            if (ReferenceEquals(other, null))
            {
                return(false);
            }

            var result = this.Statements.IsEqualTo(other.Statements);

            return(result);
        }