src/Shared/EntityFramework/ModelConfiguration/Conventions/Convention.cs
/// <summary>
/// Begins configuration of a lightweight convention that applies to all mapped types in
/// the model that derive from or implement the specified type.
/// </summary>
/// <typeparam name="T"> The type of the entities that this convention will apply to. </typeparam>
/// <returns> A configuration object for the convention. </returns>
/// <remarks> This method does not add new types to the model.</remarks>
Begins configuration of a lightweight convention that applies to all mapped types in
the model that derive from or implement the specified type.
Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type .
public TypeConventionConfiguration<T> Types<T>()
            where T : class
        {
            return new TypeConventionConfiguration<T>(_conventionsConfiguration);
        }
public TypeConventionConfiguration < T > Types < T > ( ) where T : class { return new TypeConventionConfiguration < T > ( _conventionsConfiguration ) ; }
Begins configuration of a lightweight convention that applies to all mapped types in
the model that derive from or implement the specified type.
Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type .
A configuration object for the convention.
A configuration object for the convention .
typeparam
The type of the entities that this convention will apply to.
The type of the entities that this convention will apply to .
remarks
This method does not add new types to the model.
This method does not add new types to the model .