Ejemplo n.º 1
0
 /// <summary>
 /// Constructor for specifying a SQL function name and a <see cref="LinqExtensionPreEvaluation"/>.
 /// </summary>
 /// <param name="name">The name of the SQL function.</param>
 /// <param name="preEvaluation">Should the method call be pre-evaluated when not depending on
 /// queried data? Default is <see cref="LinqExtensionPreEvaluation.NoEvaluation"/>.</param>
 public LinqExtensionMethodAttribute(string name, LinqExtensionPreEvaluation preEvaluation)
     : base(preEvaluation)
 {
     Name = name;
 }
 /// <summary>
 /// Default constructor.
 /// </summary>
 /// <param name="preEvaluation">Should the method call be pre-evaluated when not depending on queried data?</param>
 protected LinqExtensionMethodAttributeBase(LinqExtensionPreEvaluation preEvaluation)
 {
     PreEvaluation = preEvaluation;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor allowing to specify a <see cref="LinqExtensionPreEvaluation"/> for the method.
 /// </summary>
 /// <param name="preEvaluation">Should the method call be pre-evaluated when not depending on
 /// queried data? Default is <see cref="LinqExtensionPreEvaluation.NoEvaluation"/>.</param>
 public LinqExtensionMethodAttribute(LinqExtensionPreEvaluation preEvaluation)
     : base(preEvaluation)
 {
 }