ParameterAttribute.Name Property


Gets or sets the name of the parameter.

Namespace:   System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public string Name { get; set; }

Property Value

Type: System.String

The name as a string.

If you do not specify Name, the name is assumed to be the same as the name of the parameter in the database.

.NET Framework
Available since 3.5
Return to top