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