ValueGenerationConvention.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(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