EntityObject Class

EntityObject Class

.NET Framework (current version)
 

Base class for entity types that are generated by the Entity Data Model tools.

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

System.Object
  System.Data.Objects.DataClasses.StructuralObject
    System.Data.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)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(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()

Creates a shallow copy of the current Object.(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()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubeventPropertyChanged

Occurs when a property value has changed.(Inherited from StructuralObject.)

System_CAPS_pubeventPropertyChanging

Occurs when a property value change is a pending.(Inherited from StructuralObject.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker)

Specifies the instance of IEntityChangeTracker that is used to report property changes.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIEntityWithRelationships.RelationshipManager

Gets the relationship manager used by this object.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft