25 lines
787 B
C#
25 lines
787 B
C#
/*
|
||
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
||
*Repository提供数据库操作,如果要增加数据库操作请在当前目录下Partial文件夹Sys_DepartmentRepository编写代码
|
||
*/
|
||
using VOL.System.IRepositories;
|
||
using VOL.Core.BaseProvider;
|
||
using VOL.Core.EFDbContext;
|
||
using VOL.Core.Extensions.AutofacManager;
|
||
using VOL.Entity.DomainModels;
|
||
|
||
namespace VOL.System.Repositories
|
||
{
|
||
public partial class Sys_DepartmentRepository : RepositoryBase<Sys_Department> , ISys_DepartmentRepository
|
||
{
|
||
public Sys_DepartmentRepository(VOLContext dbContext)
|
||
: base(dbContext)
|
||
{
|
||
|
||
}
|
||
public static ISys_DepartmentRepository Instance
|
||
{
|
||
get { return AutofacContainerModule.GetService<ISys_DepartmentRepository>(); } }
|
||
}
|
||
}
|