CreateObject Method
Collapse the table of content
Expand the table of content

ObjectSet<TEntity>.CreateObject Method ()

.NET Framework 4.6 and 4.5

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
Available since 4.0
Return to top
© 2015 Microsoft