ConventionSet.AddAfter 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
AddAfter<TConvention>(IList<TConvention>, TConvention, Type) |
Adds a convention after an existing convention. |
AddAfter<TConvention>(List<TConvention>, TConvention, Type) |
Adds a convention after an existing convention. |
AddAfter<TConvention>(IList<TConvention>, TConvention, Type)
- Source:
- ConventionSet.cs
- Source:
- ConventionSet.cs
- Source:
- ConventionSet.cs
- Source:
- ConventionSet.cs
Adds a convention after an existing convention.
public static bool AddAfter<TConvention> (System.Collections.Generic.IList<TConvention> conventionsList, TConvention newConvention, Type existingConventionType);
static member AddAfter : System.Collections.Generic.IList<'Convention> * 'Convention * Type -> bool
Public Shared Function AddAfter(Of TConvention) (conventionsList As IList(Of TConvention), newConvention As TConvention, existingConventionType As Type) As Boolean
Type Parameters
- TConvention
The type of convention being added.
Parameters
- conventionsList
- IList<TConvention>
The list of existing convention instances to scan.
- newConvention
- TConvention
The new convention.
- existingConventionType
- Type
The type of the existing convention.
Returns
true
if the convention was added.
Applies to
AddAfter<TConvention>(List<TConvention>, TConvention, Type)
- Source:
- ConventionSet.cs
- Source:
- ConventionSet.cs
- Source:
- ConventionSet.cs
Adds a convention after an existing convention.
public static bool AddAfter<TConvention> (System.Collections.Generic.List<TConvention> conventionsList, TConvention newConvention, Type existingConventionType);
static member AddAfter : System.Collections.Generic.List<'Convention> * 'Convention * Type -> bool
Public Shared Function AddAfter(Of TConvention) (conventionsList As List(Of TConvention), newConvention As TConvention, existingConventionType As Type) As Boolean
Type Parameters
- TConvention
The type of convention being added.
Parameters
- conventionsList
- List<TConvention>
The list of existing convention instances to scan.
- newConvention
- TConvention
The new convention.
- existingConventionType
- Type
The type of the existing convention.
Returns
true
if the convention was added.
Applies to
Entity Framework