SqlServerPropertyExtensions.SetHiLoSequenceSchema 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
| Name | Description |
|---|---|
| SetHiLoSequenceSchema(IConventionProperty, String, Boolean) |
Sets the schema to use for the hi-lo sequence. |
| SetHiLoSequenceSchema(IMutableProperty, String) |
Sets the schema to use for the hi-lo sequence. |
SetHiLoSequenceSchema(IConventionProperty, String, Boolean)
Sets the schema to use for the hi-lo sequence.
public static string? SetHiLoSequenceSchema(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
public static void SetHiLoSequenceSchema(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string schema, bool fromDataAnnotation = false);
public static string SetHiLoSequenceSchema(this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string schema, bool fromDataAnnotation = false);
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
<Extension()>
Public Function SetHiLoSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false) As String
<Extension()>
Public Sub SetHiLoSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false)
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
SetHiLoSequenceSchema(IMutableProperty, String)
Sets the schema to use for the hi-lo sequence.
public static void SetHiLoSequenceSchema(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string? schema);
public static void SetHiLoSequenceSchema(this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, string schema);
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * string -> unit
<Extension()>
Public Sub SetHiLoSequenceSchema (property As IMutableProperty, schema As String)
Parameters
- property
- IMutableProperty
The property.
- schema
- String
The schema to use.