Table of Contents

Interface IEfCoreDataSource

Namespace
Savvyio.Extensions.EFCore
Assembly
Savvyio.Extensions.EFCore.dll

Defines a generic way to support the actual I/O communication with a source of data - tailored to Microsoft Entity Framework Core.

public interface IEfCoreDataSource : IDataSource, IUnitOfWork
Inherited Members

Methods

Set<TEntity>()

Creates a DbSet<TEntity> that can be used to query and save instances of TEntity.

DbSet<TEntity> Set<TEntity>() where TEntity : class

Returns

DbSet<TEntity>

A set for the given entity type.

Type Parameters

TEntity

The type of entity for which a set should be returned.

See Also