TypeConventionConfiguration<T> Class

Definition

Allows configuration to be performed for a lightweight convention based on the entity types in a model that inherit from a common, specified type.

public class TypeConventionConfiguration<T> where T : class
type TypeConventionConfiguration<'T (requires 'T : null)> = class
Public Class TypeConventionConfiguration(Of T)

Type Parameters

T

The common type of the entity types that this convention applies to.

Inheritance
TypeConventionConfiguration<T>

Methods

Configure(Action<ConventionTypeConfiguration<T>>)

Allows configuration of the entity types that this convention applies to.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

Having<TValue>(Func<Type,TValue>)

Filters the entity types that this convention applies to based on a predicate while capturing a value to use later during configuration.

ToString()

Returns a string that represents the current object.

Where(Func<Type,Boolean>)

Filters the entity types that this convention applies to based on a predicate.

Applies to