SqlServerPropertyExtensions.FindSequence 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
FindSequence(IProperty) |
Finds the ISequence in the model to use for the key value generation pattern. |
FindSequence(IReadOnlyProperty) |
Finds the ISequence in the model to use for the key value generation pattern. |
FindSequence(IProperty, StoreObjectIdentifier) |
Finds the ISequence in the model to use for the key value generation pattern. |
FindSequence(IReadOnlyProperty, StoreObjectIdentifier) |
Finds the ISequence in the model to use for the key value generation pattern. |
FindSequence(IProperty)
Finds the ISequence in the model to use for the key value generation pattern.
public static Microsoft.EntityFrameworkCore.Metadata.ISequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Metadata.ISequence
<Extension()>
Public Function FindSequence (property As IProperty) As ISequence
Parameters
- property
- IProperty
The property.
Returns
The sequence to use, or null
if no sequence exists in the model.
Applies to
FindSequence(IReadOnlyProperty)
Finds the ISequence in the model to use for the key value generation pattern.
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
<Extension()>
Public Function FindSequence (property As IReadOnlyProperty) As IReadOnlySequence
Parameters
- property
- IReadOnlyProperty
The property.
Returns
The sequence to use, or null
if no sequence exists in the model.
Applies to
FindSequence(IProperty, StoreObjectIdentifier)
Finds the ISequence in the model to use for the key value generation pattern.
public static Microsoft.EntityFrameworkCore.Metadata.ISequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.ISequence
<Extension()>
Public Function FindSequence (property As IProperty, ByRef storeObject As StoreObjectIdentifier) As ISequence
Parameters
- property
- IProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The sequence to use, or null
if no sequence exists in the model.
Applies to
FindSequence(IReadOnlyProperty, StoreObjectIdentifier)
Finds the ISequence in the model to use for the key value generation pattern.
public static Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence? FindSequence (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member FindSequence : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty * StoreObjectIdentifier -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
<Extension()>
Public Function FindSequence (property As IReadOnlyProperty, ByRef storeObject As StoreObjectIdentifier) As IReadOnlySequence
Parameters
- property
- IReadOnlyProperty
The property.
- storeObject
- StoreObjectIdentifier
The identifier of the store object.
Returns
The sequence to use, or null
if no sequence exists in the model.
Applies to
Entity Framework