StoredProcedureAttributeParameterNamePrefix Property
This can be used to define an optional parameter name prefix that will be applied to all stored
procedure parameters.
Namespace: EWSoftware.EntityFramework.DataAnnotationsAssembly: EWSoftware.EntityFramework (in EWSoftware.EntityFramework.dll) Version: 2025.11.12.0
public string? ParameterNamePrefix { get; set; }
Public Property ParameterNamePrefix As String
Get
Set
public:
property String^ ParameterNamePrefix {
String^ get ();
void set (String^ value);
}
member ParameterNamePrefix : string with get, set
Property 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.
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.