Exemplo n.º 1
0
 /// <summary>
 ///     Visitor pattern method for <see cref="DbParameterReferenceExpression" />.
 /// </summary>
 /// <param name="expression"> The DbParameterReferenceExpression that is being visited. </param>
 /// <exception cref="ArgumentNullException">
 ///     <paramref name="expression" />
 ///     is null
 /// </exception>
 public override void Visit(DbParameterReferenceExpression expression)
 {
     Check.NotNull(expression, "expression");
 }
 /// <summary>
 /// When overridden in a derived class, implements the visitor pattern for
 /// <see
 ///     cref="T:System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression" />
 /// .
 /// </summary>
 /// <returns>A result value of a specific type.</returns>
 /// <param name="expression">
 /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression" /> that is being visited.
 /// </param>
 public abstract TResultType Visit(DbParameterReferenceExpression expression);
 /// <summary>
 /// When overridden in a derived class, implements the visitor pattern for
 /// <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression" />
 /// .
 /// </summary>
 /// <param name="expression">
 /// The <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression" /> that is visited.
 /// </param>
 public abstract void Visit(DbParameterReferenceExpression expression);
 public override void Visit(DbParameterReferenceExpression expression)
 {
 }
Exemplo n.º 5
0
        public override DbExpression Visit(DbParameterReferenceExpression expression)
        {
            Check.NotNull(expression, "expression");

            return(VisitTerminal(expression, newType => CqtBuilder.Parameter(newType, expression.ParameterName)));
        }
Exemplo n.º 6
0
 /// <summary>
 /// Visitor pattern method for <see cref="T:System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression" />.
 /// </summary>
 /// <param name="expression"> The DbParameterReferenceExpression that is being visited. </param>
 /// <exception cref="T:System.ArgumentNullException">
 /// <paramref name="expression" />
 /// is null
 /// </exception>
 public override void Visit(DbParameterReferenceExpression expression)
 {
     Check.NotNull <DbParameterReferenceExpression>(expression, nameof(expression));
 }