EntityObject EntityObject EntityObject EntityObject Class

Definición

Clase base para los tipos de entidad generados por las herramientas de Entity Data Model.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
Herencia
Atributos
Implementaciones

Constructores

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

Inicializa una nueva instancia de la clase EntityObject.Initializes a new instance of the EntityObject class.

Propiedades

EntityKey EntityKey EntityKey EntityKey

Obtiene o establece la clave para este objeto.Gets or sets the key for this object.

EntityState EntityState EntityState EntityState

Obtiene el estado de entidad del objeto.Gets the entity state of the object.

Métodos

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

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

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

Sirve como la función hash predeterminada.Serves as the default hash function.

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

Obtiene el Type de la instancia actual.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)

Devuelve un tipo complejo para la propiedad especificada.Returns a complex type for the specified property.

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

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

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

Genera el evento PropertyChanged.Raises the PropertyChanged event.

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

Genera el evento PropertyChanging.Raises the PropertyChanging event.

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

Notifica a la herramienta de seguimiento de cambios que una propiedad ha cambiado.Notifies the change tracker that a property has changed.

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

Notifica a la herramienta de seguimiento de cambios que hay un cambio pendiente en la propiedad.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)

Establece un objeto complejo para la propiedad especificada.Sets a complex object for the specified property.

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

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

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

Especifica la instancia de IEntityChangeTracker que se usa para informar acerca de los cambios en las propiedades.Specifies the instance of IEntityChangeTracker that is used to report property changes.

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

Obtiene el administrador de relaciones que usa este objeto.Gets the relationship manager used by this object.

Eventos

PropertyChanged PropertyChanged PropertyChanged PropertyChanged

Se produce cuando cambia el valor de una propiedad.Occurs when a property value has changed.

(Inherited from StructuralObject)
PropertyChanging PropertyChanging PropertyChanging PropertyChanging

Se produce cuando un valor de propiedad está pendiente de cambio.Occurs when a property value change is a pending.

(Inherited from StructuralObject)

Se aplica a

Consulte también: