示例#1
0
 /// <summary>
 /// Constructor dependency injection
 /// </summary>
 /// <param name="repository"></param>
 public CommentLogic(IEfRepository repository)
 {
     _commentLogic = repository.For <Comment>();
 }
示例#2
0
 /// <summary>
 /// Constructor dependency injection
 /// </summary>
 /// <param name="repository"></param>
 public UserLogic(IEfRepository repository)
 {
     _userDal = repository.For <User>();
 }
示例#3
0
 public BasicLogicUserBoundImpl(User user, IBasicCrudWrapper <T> basicCrudDal)
 {
     _user         = user;
     _basicCrudDal = basicCrudDal;
 }
示例#4
0
 /// <summary>
 /// Constructor dependency injection
 /// </summary>
 /// <param name="repository"></param>
 public CategoryLogic(IEfRepository repository)
 {
     _categoryDal = repository.For <Category>();
 }
示例#5
0
 /// <summary>
 /// Constructor dependency injection
 /// </summary>
 /// <param name="repository"></param>
 public ProjectLogic(IEfRepository repository)
 {
     _userDal = repository.For <Project>();
 }