ParameterNamePrefixAttributePrefix Property

This read-only property returns the 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 Prefix { get; }

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. If not defined on a data context the parameter will be named after the property (@AccountKey in the preceding example).

See Also