EntityObject EntityObject EntityObject EntityObject Class

Definition

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

public ref class EntityObject abstract : System::Data::Objects::DataClasses::StructuralObject, System::Data::Objects::DataClasses::IEntityWithChangeTracker, System::Data::Objects::DataClasses::IEntityWithKey, System::Data::Objects::DataClasses::IEntityWithRelationships
[System.Runtime.Serialization.DataContract(IsReference=true)]
[System.Serializable]
public abstract class EntityObject : System.Data.Objects.DataClasses.StructuralObject, System.Data.Objects.DataClasses.IEntityWithChangeTracker, System.Data.Objects.DataClasses.IEntityWithKey, System.Data.Objects.DataClasses.IEntityWithRelationships
type EntityObject = class
    inherit StructuralObject
    interface IEntityWithKey
    interface IEntityWithChangeTracker
    interface IEntityWithRelationships
Public MustInherit Class EntityObject
Inherits StructuralObject
Implements IEntityWithChangeTracker, IEntityWithKey, IEntityWithRelationships
Inheritance
Attributes
Implements

Constructors

EntityObject() EntityObject() EntityObject() EntityObject()

Initializes a new instance of the EntityObject class.

Properties

EntityKey EntityKey EntityKey EntityKey

Gets or sets the key for this object.

EntityState EntityState EntityState EntityState

Gets the entity state of the object.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetValidValue<T>(T, String, Boolean, Boolean) GetValidValue<T>(T, String, Boolean, Boolean) GetValidValue<T>(T, String, Boolean, Boolean) GetValidValue<T>(T, String, Boolean, Boolean)

Returns a complex type for the specified property.

(Inherited from StructuralObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnPropertyChanged(String) OnPropertyChanged(String) OnPropertyChanged(String) OnPropertyChanged(String)

Raises the PropertyChanged event.

(Inherited from StructuralObject)
OnPropertyChanging(String) OnPropertyChanging(String) OnPropertyChanging(String) OnPropertyChanging(String)

Raises the PropertyChanging event.

(Inherited from StructuralObject)
ReportPropertyChanged(String) ReportPropertyChanged(String) ReportPropertyChanged(String) ReportPropertyChanged(String)

Notifies the change tracker that a property has changed.

ReportPropertyChanging(String) ReportPropertyChanging(String) ReportPropertyChanging(String) ReportPropertyChanging(String)

Notifies the change tracker that a property change is pending.

SetValidValue<T>(T, T, String) SetValidValue<T>(T, T, String) SetValidValue<T>(T, T, String) SetValidValue<T>(T, T, String)

Sets a complex object for the specified property.

(Inherited from StructuralObject)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker) IEntityWithChangeTracker.SetChangeTracker(IEntityChangeTracker)

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

IEntityWithRelationships.RelationshipManager IEntityWithRelationships.RelationshipManager IEntityWithRelationships.RelationshipManager IEntityWithRelationships.RelationshipManager

Gets the relationship manager used by this object.

Events

PropertyChanged PropertyChanged PropertyChanged PropertyChanged

Occurs when a property value has changed.

(Inherited from StructuralObject)
PropertyChanging PropertyChanging PropertyChanging PropertyChanging

Occurs when a property value change is a pending.

(Inherited from StructuralObject)

Applies to

See also