SqlServerValueGenerationConvention.GetValueGenerated 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
GetValueGenerated(IConventionProperty) |
Returns the store value generation strategy to set for the given property. |
GetValueGenerated(IProperty) |
Returns the store value generation strategy to set for the given property. |
GetValueGenerated(IProperty, StoreObjectIdentifier) |
Returns the store value generation strategy to set for the given property. |
GetValueGenerated(IReadOnlyProperty, StoreObjectIdentifier) |
Returns the store value generation strategy to set for the given property. |
GetValueGenerated(IConventionProperty)
Returns the store value generation strategy to set for the given property.
protected override Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
override this.GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Protected Overrides Function GetValueGenerated (property As IConventionProperty) As Nullable(Of ValueGenerated)
Parameters
- property
- IConventionProperty
The property.
Returns
The store value generation strategy to set for the given property.
Applies to
GetValueGenerated(IProperty)
Returns the store value generation strategy to set for the given property.
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IProperty) As Nullable(Of ValueGenerated)
Parameters
- property
- IProperty
The property.
Returns
The store value generation strategy to set for the given property.
Applies to
GetValueGenerated(IProperty, StoreObjectIdentifier)
Returns the store value generation strategy to set for the given property.
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ValueGenerated)
Parameters
- property
- IProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The store value generation strategy to set for the given property.
Applies to
GetValueGenerated(IReadOnlyProperty, StoreObjectIdentifier)
Returns the store value generation strategy to set for the given property.
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As Nullable(Of ValueGenerated)
Parameters
- property
- IReadOnlyProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The store value generation strategy to set for the given property.
Applies to
Entity Framework