Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.NotNullConditionConfiguration

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

The NotNullConditionConfiguration type exposes the following members.

  NameDescription
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().)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.