Export (0) Print
Expand All

ObjectSet<TEntity>.CreateObject Method

Creates a new entity type object.

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

public TEntity CreateObject()

Return Value

Type: TEntity
The new entity type object, or an instance of a proxy type that corresponds to the entity type.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft