0 out of 1 rated this helpful - Rate this topic

DbSet<TEntity>.Create Method

Entity Framework 5.0

Creates a new instance of an entity for the type of this set. This instance is not added or attached to the set. The instance returned will be a proxy if the underlying context is configured to create proxies and the entity type meets the requirements for creating a proxy.

Namespace:  System.Data.Entity
Assembly:  EntityFramework (in EntityFramework.dll)
public TEntity Create()

Return Value

Type: TEntity
Returns [{0}].

Implements

IDbSet<TEntity>.Create()
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.