RelationalModelExtensions.RemoveSequence 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
RemoveSequence(IConventionModel, String, String) |
Removes the IConventionSequence with the given name. |
RemoveSequence(IMutableModel, String, String) |
Removes the IMutableSequence with the given name. |
RemoveSequence(IConventionModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Removes the IConventionSequence with the given name.
public static Microsoft.EntityFrameworkCore.Metadata.IConventionSequence RemoveSequence (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string schema = default);
public static Microsoft.EntityFrameworkCore.Metadata.IConventionSequence? RemoveSequence (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string? schema = default);
static member RemoveSequence : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionSequence
<Extension()>
Public Function RemoveSequence (model As IConventionModel, name As String, Optional schema As String = Nothing) As IConventionSequence
Parameters
- model
- IConventionModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The removed IConventionSequence or null
if no sequence with the given name in
the given schema was found.
Applies to
RemoveSequence(IMutableModel, String, String)
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
- Source:
- RelationalModelExtensions.cs
Removes the IMutableSequence with the given name.
public static Microsoft.EntityFrameworkCore.Metadata.IMutableSequence RemoveSequence (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string schema = default);
public static Microsoft.EntityFrameworkCore.Metadata.IMutableSequence? RemoveSequence (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, string name, string? schema = default);
static member RemoveSequence : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * string * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableSequence
<Extension()>
Public Function RemoveSequence (model As IMutableModel, name As String, Optional schema As String = Nothing) As IMutableSequence
Parameters
- model
- IMutableModel
The model to find the sequence in.
- name
- String
The sequence name.
- schema
- String
The schema that contains the sequence.
Returns
The removed IMutableSequence or null
if no sequence with the given name in
the given schema was found.
Applies to
Entity Framework