Removes a type binding from this entity object
Namespace: BrightstarDB.EntityFrameworkAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
public void Unbecome<T>() |
Visual Basic |
---|
Public Sub Unbecome(Of T) |
Visual C++ |
---|
public: generic<typename T> void Unbecome() |
F# |
---|
member Unbecome : unit -> unit |
Type Parameters
- T
- The entity definition interface that defines the type that should be removed from this entity object
Remarks
This method removes only the direct type of the specified entity definition, it does not remove the super-types of that
entity definition as they may be shared by the other types of the resource. After commiting changes, the resource will no longer
be accessible through the collection of entities of type T on the context object.
Exceptions
Exception | Condition |
---|---|
BrightstarDB.EntityFramework..::..MappingNotFoundException | Raised if T is not a registered entity definition interface type. |