ValueGenerationConvention.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(IReadOnlyProperty) |
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 virtual Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
abstract member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
override this.GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Protected Overridable 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(IReadOnlyProperty)
Returns the store value generation strategy to set for the given property.
public static Microsoft.EntityFrameworkCore.Metadata.ValueGenerated? GetValueGenerated (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetValueGenerated : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<Microsoft.EntityFrameworkCore.Metadata.ValueGenerated>
Public Shared Function GetValueGenerated (property As IReadOnlyProperty) As Nullable(Of ValueGenerated)
Parameters
- property
- IReadOnlyProperty
The property.
Returns
The store value generation strategy to set for the given property.
Applies to
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: