Interface IOrganisationDbContext<TOrganisation, TPerson>
Provides an abstraction for an Entity Framework database context used for accessing organisations and persons.
Namespace: IRM.AspNetCore.Identity.EntityFrameworkCore
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
public interface IOrganisationDbContext<TOrganisation, TPerson> : IOrganisationDbContext where TOrganisation : class, IOrganisation where TPerson : class, IPerson
Type Parameters
TOrganisation
The type representing an organisation. |
TPerson
The type representing a person. |
Properties
Organisations
Gets the DbSet<TEntity> of Organisations.
Declaration
DbSet<TOrganisation> Organisations { get; }
Property Value
DbSet<TOrganisation>
|
Persons
Gets the DbSet<TEntity> of Persons.
Declaration
DbSet<TPerson> Persons { get; }
Property Value
DbSet<TPerson>
|