SqlServerPropertyExtensions.SetSequenceSchema 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
SetSequenceSchema(IMutableProperty, String) |
Sets the schema to use for the key value generation sequence. |
SetSequenceSchema(IConventionProperty, String, Boolean) |
Sets the schema to use for the key value generation sequence. |
SetSequenceSchema(IMutableProperty, String)
Sets the schema to use for the key value generation sequence.
public static void SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? schema);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetSequenceSchema (property As IMutableProperty, schema As String)
Parameters
- property
- IMutableProperty
The property.
- schema
- String
The schema to use.
Applies to
SetSequenceSchema(IConventionProperty, String, Boolean)
Sets the schema to use for the key value generation sequence.
public static string? SetSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
static member SetSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Function SetSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false) As String
Parameters
- property
- IConventionProperty
The property.
- schema
- String
The schema to use.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The configured value.
Applies to
Entity Framework