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