StoredProcedureAttributeParameterNamePrefix 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
public string? ParameterNamePrefix { get; set; }

Property Value

String
As 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.

See Also