EntityObject Class

 

This is the class is the basis for all perscribed EntityObject classes.

Namespace:   System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Core.Objects.DataClasses.StructuralObject
    System.Data.Entity.Core.Objects.DataClasses.EntityObject

[SerializableAttribute]
[DataContractAttribute(IsReference = true)]
public abstract class EntityObject : StructuralObject, IEntityWithKey, 
	IEntityWithChangeTracker, IEntityWithRelationships

NameDescription
System_CAPS_protmethodEntityObject()

Initializes a new instance of the EntityObject class.

NameDescription
System_CAPS_pubpropertyEntityKey

Gets or sets the key for this object.

System_CAPS_pubpropertyEntityState

Gets the entity state of the object.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodGetValidValue<T>(T, String, Boolean, Boolean)

Returns a complex type for the specified property.(Inherited from StructuralObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnPropertyChanged(String)

Raises the PropertyChanged event.(Inherited from StructuralObject.)

System_CAPS_protmethodOnPropertyChanging(String)

Raises the PropertyChanging event.(Inherited from StructuralObject.)

System_CAPS_protmethodReportPropertyChanged(String)

Notifies the change tracker that a property has changed.(Overrides StructuralObject.ReportPropertyChanged(String).)

System_CAPS_protmethodReportPropertyChanging(String)

Notifies the change tracker that a property change is pending.(Overrides StructuralObject.ReportPropertyChanging(String).)

System_CAPS_protmethodSetValidValue<T>(T, T, String)

Sets a complex object for the specified property.(Inherited from StructuralObject.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventPropertyChanged

Notification that a property has been changed.(Inherited from StructuralObject.)

System_CAPS_pubeventPropertyChanging

Notification that a property is about to be changed.(Inherited from StructuralObject.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker)

Used by the ObjectStateManager to attach or detach this EntityObject to the cache.

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