Get or set the context that the item is currently attached to

Namespace: BrightstarDB.EntityFramework
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public EntityContext Context { get; set; }
Visual Basic
Public Property Context As EntityContext
	Get
	Set
Visual C++
public:
virtual property EntityContext^ Context {
	EntityContext^ get () sealed;
	void set (EntityContext^ value) sealed;
}
F#
abstract Context : EntityContext with get, set
override Context : EntityContext with get, set

Property Value

Type: EntityContext

Implements

IEntityObject..::..Context

Remarks

Changing the context that an entity is attached to will cause any unsaved changes to that entity to be lost.

See Also