DbSet::Cast<TEntity> Method ()

Entity Framework 6.0
 

Returns the equivalent generic DbSet<TEntity> object.

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

public:
generic<typename TEntity>
where TEntity : ref class
DbSet<TEntity>^ Cast()

Return Value

Type: System.Data.Entity::DbSet<TEntity>^

The generic set object.

Type Parameters

TEntity

The type of entity for which the set was created.

Return to top
Show: