TypeConventionConfiguration Class
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.
Allows configuration to be performed for a lightweight convention based on the entity types in a model.
public class TypeConventionConfiguration
type TypeConventionConfiguration = class
Public Class TypeConventionConfiguration
- Inheritance
-
TypeConventionConfiguration
Methods
Configure(Action<ConventionTypeConfiguration>) |
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<T>(Func<Type,T>) |
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
Entity Framework