public abstract T Visit(DbCaseWhenExpression exp);
Exemple #2
0
        public override DbExpression Visit(DbCaseWhenExpression exp)
        {
            var whenThenPairs = exp.WhenThenPairs.Select(a => new DbCaseWhenExpression.WhenThenExpressionPair(this.MakeNewExpression(a.When), this.MakeNewExpression(a.Then))).ToList();

            return(new DbCaseWhenExpression(exp.Type, whenThenPairs, this.MakeNewExpression(exp.Else)));
        }
Exemple #3
0
 public virtual T Visit(DbCaseWhenExpression exp)
 {
     throw new NotImplementedException();
 }