Base class for complex types.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
|GetValidValue<'T>('T, String, Boolean, Boolean)|
Returns a complex type for the specified property.(Inherited from StructuralObject.)
Notifies the change tracker that a property of a complex object has changed.(Overrides StructuralObject.ReportPropertyChanged(String).)
Notifies the change tracker that a property change is pending on a complex object.(Overrides StructuralObject.ReportPropertyChanging(String).)
|SetValidValue<'T>('T, 'T, String)|
Sets a complex object for the specified property.(Inherited from StructuralObject.)
Returns a string that represents the current object.(Inherited from Object.)
When implementing custom data classes with a conceptual model, we recommend that your data classes that represent complex types inherit from Customizing Objects.. For more information, see
A complex type can be a property of an entity type or of another complex type.
Complex types are returned by non-scalar properties of entity types. This enables scalar properties to be organized within entities. Like entities, complex types consist of scalar properties or other complex type properties. A complex type cannot be used without an associated entity type. Because complex types do not have keys, complex type objects cannot be managed without an associated entity type. For more information, see Complex Type Objects.
Available since 3.5
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
How to: Define a Model with Complex Types (Entity Framework)
How to: Execute a Query that Returns Complex Types
How to: Add and Modify Objects with Complex Types (Entity Framework)