ViewBuilder.Property 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.
Overloads
Property(String) |
Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view. |
Property<TProperty>(String) |
Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view. |
Property(String)
Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder Property (string propertyName);
abstract member Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder
override this.Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder
Public Overridable Function Property (propertyName As String) As ViewColumnBuilder
Parameters
- propertyName
- String
The name of the property to be configured.
Returns
An object that can be used to configure the property.
Applies to
Property<TProperty>(String)
Maps the property to a column on the current view and returns an object that can be used to provide view-specific configuration if the property is mapped to more than one view.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder<TProperty> Property<TProperty> (string propertyName);
abstract member Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder<'Property>
override this.Property : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ViewColumnBuilder<'Property>
Public Overridable Function Property(Of TProperty) (propertyName As String) As ViewColumnBuilder(Of TProperty)
Type Parameters
- TProperty
The type of the property to be configured.
Parameters
- propertyName
- String
The name of the property to be configured.
Returns
An object that can be used to configure the property.
Applies to
Entity Framework