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
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 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);
public static string? SetHiLoSequenceSchema (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, string? schema, bool fromDataAnnotation = false);
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> unit
static member SetHiLoSequenceSchema : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * string * bool -> string
<Extension()>
Public Sub SetHiLoSequenceSchema (property As IConventionProperty, schema As String, Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetHiLoSequenceSchema (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
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.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework