You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/*
|
|
|
|
|
*代码由框架生成,任何更改都可能导致被代码生成器覆盖
|
|
|
|
|
*Repository提供数据库操作,如果要增加数据库操作请在当前目录下Partial文件夹Sys_RoleRepository编写代码
|
|
|
|
|
*/
|
|
|
|
|
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_RoleRepository : RepositoryBase<Sys_Role> , ISys_RoleRepository
|
|
|
|
|
{
|
|
|
|
|
public Sys_RoleRepository(VOLContext dbContext)
|
|
|
|
|
: base(dbContext)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public static ISys_RoleRepository Instance
|
|
|
|
|
{
|
|
|
|
|
get { return AutofacContainerModule.GetService<ISys_RoleRepository>(); } }
|
|
|
|
|
}
|
|
|
|
|
}
|