ObjectSet<TEntity>::CreateObject<T> Method ()

.NET Framework (current version)
 

Creates an instance of the specified type.

Namespace:   System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public:
generic<typename T>
where T : ref class, TEntity
T CreateObject()

Return Value

Type: T

An instance of the requested type T, or an instance of a proxy type that corresponds to the type T.

Type Parameters

T

Type of object to be returned.

.NET Framework
Available since 4.0
Return to top
Show: