Share via


SqlServerValueGenerationConvention.GetValueGenerated Method

Definition

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