Stored Procedure AttributeParameter Name Prefix Property
This can be used to define an optional parameter name prefix that will be applied to all stored
procedure parameters.
Definition
Namespace: EWSoftware.EntityFramework.DataAnnotations
Assembly: EWSoftware.EntityFramework (in EWSoftware.EntityFramework.dll) Version: 2025.11.12.0
As an example, if set to "param" and an entity property name is AccountKey, the stored procedure parameter name will be set to @paramAccountKey.
Assembly: EWSoftware.EntityFramework (in EWSoftware.EntityFramework.dll) Version: 2025.11.12.0
C#
public string? ParameterNamePrefix { get; set; }VB
Public Property ParameterNamePrefix As String
Get
SetC++
public:
property String^ ParameterNamePrefix {
String^ get ();
void set (String^ value);
}F#
member ParameterNamePrefix : string with get, setProperty Value
StringAs an example, if set to "param" and an entity property name is AccountKey, the stored procedure parameter name will be set to @paramAccountKey.
Remarks
This will override any prefix defined on the data context. If set to an empty string it
will effectively remove any defined prefix on the data context.