Exemple #1
0
        protected override OperationBase DeepCloneInternal()
        {
            var result = new NullSingleStatementOp <TStatement, TResult>(
                this.Statement?.DeepClone());

            return(result);
        }
Exemple #2
0
        public override SingleStatementOpBase <TStatement, TResult> DeepCloneWithStatement(IReturningOperation <TStatement> statement)
        {
            var result = new NullSingleStatementOp <TStatement, TResult>(
                statement);

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

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

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

            return(result);
        }