Share via


SqlitePropertyExtensions.SetValueGenerationStrategy Method

Definition

Overloads

Name Description
SetValueGenerationStrategy(IMutableProperty, Nullable<SqliteValueGenerationStrategy>, StoreObjectIdentifier)

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IMutableProperty, Nullable<SqliteValueGenerationStrategy>)

Sets the SqliteValueGenerationStrategy to use for the property.

SetValueGenerationStrategy(IMutableRelationalPropertyOverrides, Nullable<SqliteValueGenerationStrategy>)

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, Boolean)

Sets the SqliteValueGenerationStrategy to use for the property.

SetValueGenerationStrategy(IConventionRelationalPropertyOverrides, Nullable<SqliteValueGenerationStrategy>, Boolean)

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, StoreObjectIdentifier, Boolean)

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

SetValueGenerationStrategy(IMutableProperty, Nullable<SqliteValueGenerationStrategy>, StoreObjectIdentifier)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

public static void SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetValueGenerationStrategy (property As IMutableProperty, value As Nullable(Of SqliteValueGenerationStrategy), ByRef storeObject As StoreObjectIdentifier)

Parameters

property
IMutableProperty

The property.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

storeObject
StoreObjectIdentifier

The identifier of the table containing the column.

Applies to

SetValueGenerationStrategy(IMutableProperty, Nullable<SqliteValueGenerationStrategy>)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property.

public static void SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> -> unit
<Extension()>
Public Sub SetValueGenerationStrategy (property As IMutableProperty, value As Nullable(Of SqliteValueGenerationStrategy))

Parameters

property
IMutableProperty

The property.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

Applies to

SetValueGenerationStrategy(IMutableRelationalPropertyOverrides, Nullable<SqliteValueGenerationStrategy>)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

public static void SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> -> unit
<Extension()>
Public Sub SetValueGenerationStrategy (overrides As IMutableRelationalPropertyOverrides, value As Nullable(Of SqliteValueGenerationStrategy))

Parameters

overrides
IMutableRelationalPropertyOverrides

The property overrides.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

Applies to

SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, Boolean)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property.

public static Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value, bool fromDataAnnotation = false);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> * bool -> Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy>
<Extension()>
Public Function SetValueGenerationStrategy (property As IConventionProperty, value As Nullable(Of SqliteValueGenerationStrategy), Optional fromDataAnnotation As Boolean = false) As Nullable(Of SqliteValueGenerationStrategy)

Parameters

property
IConventionProperty

The property.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to

SetValueGenerationStrategy(IConventionRelationalPropertyOverrides, Nullable<SqliteValueGenerationStrategy>, Boolean)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

public static Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value, bool fromDataAnnotation = false);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> * bool -> Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy>
<Extension()>
Public Function SetValueGenerationStrategy (overrides As IConventionRelationalPropertyOverrides, value As Nullable(Of SqliteValueGenerationStrategy), Optional fromDataAnnotation As Boolean = false) As Nullable(Of SqliteValueGenerationStrategy)

Parameters

overrides
IConventionRelationalPropertyOverrides

The property overrides.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to

SetValueGenerationStrategy(IConventionProperty, Nullable<SqliteValueGenerationStrategy>, StoreObjectIdentifier, Boolean)

Source:
SqlitePropertyExtensions.cs

Sets the SqliteValueGenerationStrategy to use for the property for a particular table.

public static Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? SetValueGenerationStrategy(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy? value, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetValueGenerationStrategy : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy> * StoreObjectIdentifier * bool -> Nullable<Microsoft.EntityFrameworkCore.Metadata.SqliteValueGenerationStrategy>
<Extension()>
Public Function SetValueGenerationStrategy (property As IConventionProperty, value As Nullable(Of SqliteValueGenerationStrategy), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of SqliteValueGenerationStrategy)

Parameters

property
IConventionProperty

The property.

value
Nullable<SqliteValueGenerationStrategy>

The strategy to use.

storeObject
StoreObjectIdentifier

The identifier of the table containing the column.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

The configured value.

Applies to