NotNullConditionConfiguration Class
Collapse the table of content
Expand the table of content

NotNullConditionConfiguration Class

Entity Framework 5.0

Configures a condition used to discriminate between types in an inheritance hierarchy based on the values assigned to a property. This configuration functionality is exposed by the Code First Fluent API, see DbModelBuilder.


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

public class NotNullConditionConfiguration

The NotNullConditionConfiguration type exposes the following members.

Public methodEqualsDetermines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type of the current instance. This method is hidden from IntelliSense.
Public methodHasValue Configures the condition to require a value in the property. Rows that do not have a value assigned to column that this property is stored in are assumed to be of the base type of this entity type.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. This method is hidden from IntelliSense. (Overrides Object.ToString().)

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