Set Method
Definition
- Namespace
- Savvyio.Extensions.EFCore
- Assemblies
- Savvyio.Extensions.EFCore.dll
Set<TEntity>()
Creates a DbSet<TEntity> that can be used to query and save instances of TEntity.
public DbSet<TEntity> Set<TEntity>() where TEntity : class
Returns
- DbSet<TEntity>
A set for the given entity type.
Type Parameters
TEntityThe type of entity for which a set should be returned.