Rebinds a resource to a new entity type

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

Syntax

C#
public T Become<T>(
	BrightstarEntityObject beo
)
Visual Basic
Public Function Become(Of T) ( 
	beo As BrightstarEntityObject
) As T
Visual C++
public:
generic<typename T>
T Become(
	BrightstarEntityObject^ beo
)
F#
member Become : 
        beo : BrightstarEntityObject -> 'T 

Parameters

beo
Type: BrightstarDB.EntityFramework..::..BrightstarEntityObject
The existing entity object to be rebound

Type Parameters

T
The new entity type to bind to

Return Value

Type: T
An instance of T that is bound to the same underlying resource as beo.

See Also