Creates a new domain context object

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

Syntax

C#
public T CreateObject<T>()
where T : class
Visual Basic
Public Function CreateObject(Of T As Class) As T
Visual C++
public:
generic<typename T>
where T : ref class
T CreateObject()
F#
member CreateObject : unit -> 'T  when 'T : not struct

Type Parameters

T
The type of domain context object to create

Return Value

Type: T
The new object

See Also