示例#1
0
文件: CareUow.cs 项目: nemesek/Care
 private T GetRepo <T>() where T : class
 {
     return(RepositoryProvider.GetRepository <T>());
 }
示例#2
0
文件: CareUow.cs 项目: nemesek/Care
 private IRepository <T> GetStandardRepo <T>() where T : class
 {
     return(RepositoryProvider.GetRepositoryForEntityType <T>());
 }