The BrightstarEntityObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BrightstarEntityObject()()()() |
Creates a new, unattached BrightstarEntityObject
| |
BrightstarEntityObject(BrightstarEntityContext, IDataObject) |
Creates a domain object
| |
BrightstarEntityObject(BrightstarEntityContext, Type) |
Creates a domain object bound to a specific type
| |
BrightstarEntityObject(BrightstarEntityContext, Uri) |
Creates an entity object that is attached to a BrightstarEntityContext
and bound to a resource
|
Methods
Name | Description | |
---|---|---|
Attach |
Attaches the object to the specified context
| |
Become<(Of <<'(T>)>>) |
Returns an new entity object bound to the same resource as this entity object
| |
Detach |
Removes the object from its current context
| |
Equals | (Overrides Object..::..Equals(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.
(Overrides Object..::..GetHashCode()()()().) | |
GetKey |
Returns the key for this object.
| |
GetRelatedLiteralPropertiesCollection<(Of <<'(T>)>>) |
Returns the collection of literal values for a property of this entity
| |
GetRelatedObject<(Of <<'(T>)>>) |
Invoked by the generated class to retrieve the value of a property whose
type is another entity
| |
GetRelatedObjects<(Of <<'(T>)>>) |
Invoked by the generated class to retrieve the collection of related entities
for a specific property
| |
GetRelatedProperty<(Of <<'(T>)>>) |
Returns the value of a property of the object
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnCreated |
Runs after the entity object is created by the specified context. It is not necessary to call the base method.
| |
OnPropertyChanged |
Raises the PropertyChanged event
| |
ReportPropertyChanged |
Invoked by the generated class after the value of a scalar property has been modified
| |
ReportPropertyChanging |
Invoked by generated class prior to changing the value of a scalar property
| |
SetKey |
Sets the key for this object
| |
SetRelatedLiteralPropertiesCollection<(Of <<'(T>)>>) |
Sets a collection of literals as a property value on this entity.
| |
SetRelatedObject<(Of <<'(T>)>>) |
Invoked by the generated class to change the value of a property whose type
is another entity
| |
SetRelatedObjects<(Of <<'(T>)>>) |
Sets the collection of related entities for a specific property
| |
SetRelatedProperty |
Updates the property of a domain object
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unbecome<(Of <<'(T>)>>) |
Removes a type binding from this entity object
|
Properties
Name | Description | |
---|---|---|
Context |
Get or set the context that the item is currently attached to
| |
Identity |
Get or set the URI of the resource that this entity object is attached to
| |
IsAttached |
Returns true if the object is currently attached to a context
| |
IsModified |
Flag indicating if this entity has been locally modified
|
Events
Name | Description | |
---|---|---|
PropertyChanged |
Event raised when an entity property is modified
|