コード例 #1
0
 public RelativesInfoService(IContextCreator creator)
 {
     Context = creator.CreateContext();
     Persones = Context.CreateRepository<Person>();
     Relationships = Context.CreateRepository<Relationship>();
     ToDispose = true;
 }
コード例 #2
0
ファイル: BaseUnitOfWork.cs プロジェクト: Nikolay-k/CarRental
 protected BaseUnitOfWork(
     IContextCreator contextCreator,
     IRepositoryCreator repositoryCreator)
 {
     _contextCreator    = contextCreator;
     _repositoryCreator = repositoryCreator;
 }
コード例 #3
0
 public ServiceBehaviorForRIS(IContextCreator creator)
 {
     this.creator = creator;
 }
コード例 #4
0
 public ServiceHostForRIS(Type serviceType, IContextCreator creator)
     : base(serviceType)
 {
     this.creator = creator;
 }
コード例 #5
0
		public UserDeviceController(IContextCreator contextCreator)
		{
			contextCreator.CheckIfNull("contextCreator");
			this.getFitContext = contextCreator.CreateGetFitContext();
		}
コード例 #6
0
 public InstanceProviderForRIS(IContextCreator creator)
 {
     this.creator = creator;
 }
コード例 #7
0
 public ContextProvider(IContextCreator contextCreator)
 {
     ContextCreator = contextCreator;
 }