TypeConventionConfiguration<T> Class

 

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

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration<T>

public class TypeConventionConfiguration<T>
where T : class

Type Parameters

T

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

NameDescription
System_CAPS_pubmethodConfigure(Action<ConventionTypeConfiguration<T>>)

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

System_CAPS_pubmethodEquals(Object)

Specifies whether this instance is equal to a specified object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code for this instance.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.

System_CAPS_pubmethodHaving<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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of this instance.(Overrides Object.ToString().)

System_CAPS_pubmethodWhere(Func<Type, Boolean>)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.