IMutableModel.AddIgnored 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
AddIgnored(String) |
Marks the given entity type name as ignored, preventing conventions from adding a matching entity type to the model. |
AddIgnored(Type) |
Marks the given entity type as ignored, preventing conventions from adding a matching entity type to the model. |
AddIgnored(String)
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
Marks the given entity type name as ignored, preventing conventions from adding a matching entity type to the model.
public void AddIgnored (string typeName);
public string AddIgnored (string typeName);
abstract member AddIgnored : string -> unit
abstract member AddIgnored : string -> string
Public Sub AddIgnored (typeName As String)
Public Function AddIgnored (typeName As String) As String
Parameters
- typeName
- String
The name of the entity type to be ignored.
Returns
The name of the ignored type.
Applies to
AddIgnored(Type)
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
- Source:
- IMutableModel.cs
Marks the given entity type as ignored, preventing conventions from adding a matching entity type to the model.
public string AddIgnored (Type type);
abstract member AddIgnored : Type -> string
Public Function AddIgnored (type As Type) As String
Parameters
- type
- Type
The entity type to be ignored.
Returns
The name of the ignored type.
Applies to
Entity Framework