26 lines
717 B
C#
26 lines
717 B
C#
namespace EgwCoreLib.Lux.Data.Repository.Config
|
|
{
|
|
public class EnvirParamRepository : BaseRepository, IEnvirParamRepository
|
|
{
|
|
#region Public Constructors
|
|
|
|
public EnvirParamRepository(IDbContextFactory<DataLayerContext> ctxFactory) : base(ctxFactory)
|
|
{
|
|
}
|
|
|
|
#endregion Public Constructors
|
|
|
|
#region Public Methods
|
|
|
|
/// <inheritdoc />
|
|
public async Task<List<EnvirParamModel>> GetAllAsync()
|
|
{
|
|
await using var dbCtx = await CreateContextAsync();
|
|
return await dbCtx.DbSetEnvirPar
|
|
.AsNoTracking()
|
|
.ToListAsync();
|
|
}
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |