This documentation is archived and is not being maintained.
EntityObject Class
Visual Studio 2010
Base class for entity types that are generated by the Entity Data Model tools.
System::Object
System.Data.Objects.DataClasses::StructuralObject
System.Data.Objects.DataClasses::EntityObject
System.Data.Objects.DataClasses::StructuralObject
System.Data.Objects.DataClasses::EntityObject
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The EntityObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | EntityKey | Gets or sets the key for this object. |
![]() | EntityState | Gets the entity state of the object. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValidValue<T>(T, String, Boolean, Boolean) | Returns a complex type for the specified property. (Inherited from StructuralObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnPropertyChanged | Raises the PropertyChanged event. (Inherited from StructuralObject.) |
![]() | OnPropertyChanging | Raises the PropertyChanging event. (Inherited from StructuralObject.) |
![]() | ReportPropertyChanged | Notifies the change tracker that a property has changed. (Overrides StructuralObject::ReportPropertyChanged(String).) |
![]() | ReportPropertyChanging | Notifies the change tracker that a property change is pending. (Overrides StructuralObject::ReportPropertyChanging(String).) |
![]() | SetValidValue<T>(T, T, String) | Sets a complex object for the specified property. (Inherited from StructuralObject.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | PropertyChanged | Occurs when a property value has changed. (Inherited from StructuralObject.) |
![]() | PropertyChanging | Occurs when a property value change is a pending. (Inherited from StructuralObject.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEntityWithChangeTracker::SetChangeTracker | Specifies the instance of IEntityChangeTracker that is used to report property changes. |
![]() ![]() | IEntityWithRelationships::RelationshipManager | Gets the relationship manager used by this object. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:

