OwnedNavigationBuilder.IndexerProperty 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
IndexerProperty(Type, String) |
Returns an object that can be used to configure a property of the entity type. If no property with the given name exists, then a new property will be added. |
IndexerProperty<TProperty>(String) |
Returns an object that can be used to configure a property of the entity type. If no property with the given name exists, then a new property will be added. |
IndexerProperty(Type, String)
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
Returns an object that can be used to configure a property of the entity type. If no property with the given name exists, then a new property will be added.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder IndexerProperty (Type propertyType, string propertyName);
abstract member IndexerProperty : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.IndexerProperty : Type * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Overridable Function IndexerProperty (propertyType As Type, propertyName As String) As PropertyBuilder
Parameters
- propertyType
- Type
The type of the property to be configured.
- propertyName
- String
The name of the property to be configured.
Returns
An object that can be used to configure the property.
Remarks
Indexer properties are stored in the entity using an indexer supplying the provided property name.
Applies to
IndexerProperty<TProperty>(String)
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
- Source:
- OwnedNavigationBuilder.cs
Returns an object that can be used to configure a property of the entity type. If no property with the given name exists, then a new property will be added.
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<TProperty> IndexerProperty<TProperty> (string propertyName);
abstract member IndexerProperty : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
override this.IndexerProperty : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder<'Property>
Public Overridable Function IndexerProperty(Of TProperty) (propertyName As String) As PropertyBuilder(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.
Remarks
Indexer properties are stored in the entity using an indexer supplying the provided property name.
Applies to
Entity Framework