22 lines
553 B
C#
22 lines
553 B
C#
using Entities.Contracts;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using SharedDATA.Api;
|
|
using TechHelper.Context;
|
|
|
|
namespace TechHelper.Repository
|
|
{
|
|
/// <summary>
|
|
/// 教材仓储实现类
|
|
/// </summary>
|
|
public class TextbookRepository : Repository<Textbook>, IRepository<Textbook>
|
|
{
|
|
/// <summary>
|
|
/// 初始化教材仓储
|
|
/// </summary>
|
|
/// <param name="dbContext">数据库上下文</param>
|
|
public TextbookRepository(ApplicationContext dbContext) : base(dbContext)
|
|
{
|
|
}
|
|
}
|
|
}
|