コード例 #1
0
        public ContactBO(IContactConverter _ContactConverter)
        {
            context = RepositoryHelper.GetDbContext();
            uow = RepositoryHelper.GetUnitOfWork(context);
            this.entiesrepository = RepositoryHelper.GetContactRepository(context);
			this.typeAdapter = _ContactConverter;
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ContactBusinessObject"/> class.
 /// </summary>
 public ContactBusinessObject()
 {
     contactRepository = RepositoryHelper.GetContactRepository();
 }