1
This commit is contained in:
24
iMES.Custom/Repositories/Custom/Base_NoticeRepository.cs
Normal file
24
iMES.Custom/Repositories/Custom/Base_NoticeRepository.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||||
*Repository提供数据库操作,如果要增加数据库操作请在当前目录下Partial文件夹Base_NoticeRepository编写代码
|
||||
*/
|
||||
using iMES.Custom.IRepositories;
|
||||
using iMES.Core.BaseProvider;
|
||||
using iMES.Core.EFDbContext;
|
||||
using iMES.Core.Extensions.AutofacManager;
|
||||
using iMES.Entity.DomainModels;
|
||||
|
||||
namespace iMES.Custom.Repositories
|
||||
{
|
||||
public partial class Base_NoticeRepository : RepositoryBase<Base_Notice> , IBase_NoticeRepository
|
||||
{
|
||||
public Base_NoticeRepository(SysDbContext dbContext)
|
||||
: base(dbContext)
|
||||
{
|
||||
|
||||
}
|
||||
public static IBase_NoticeRepository Instance
|
||||
{
|
||||
get { return AutofacContainerModule.GetService<IBase_NoticeRepository>(); } }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user