15 lines
633 B
C#
15 lines
633 B
C#
using DigitalData.Core.Abstractions.Infrastructure;
|
|
using DigitalData.Core.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using WorkFlow.Domain.Entities;
|
|
using WorkFlow.Infrastructure.Contracts;
|
|
|
|
namespace WorkFlow.Infrastructure.Repositories
|
|
{
|
|
public class ProfileObjStateRepository(WFDBContext dbContext) : CRUDRepository<ProfileObjState, int, WFDBContext>(dbContext, dbContext.ProfileObjStates), IProfileObjStateRepository, ICRUDRepository<ProfileObjState, int>
|
|
{
|
|
protected override IQueryable<ProfileObjState> ReadOnly() => base.ReadOnly().Include(pos => pos.Profile).Include(pos => pos.State);
|
|
|
|
|
|
}
|
|
} |