PropertyMappingConfiguration.HasColumnName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the name of the database column used to store the property, in a mapping fragment.
public System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration HasColumnName(string columnName);
member this.HasColumnName : string -> System.Data.Entity.ModelConfiguration.Configuration.PropertyMappingConfiguration
Public Function HasColumnName (columnName As String) As PropertyMappingConfiguration
Parameters
- columnName
- String
The name of the column.
Returns
The same PropertyMappingConfiguration instance so that multiple calls can be chained.