/// <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; }
/// <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) { }