public EntityRelationManager(IStorageService storageService)
        {
            if (storageService == null)
                throw new ArgumentNullException("storageService", "The storage service is required.");

            this.storageService = storageService;
            relationRepository = storageService.GetEntityRelationRepository();
            entityRepository = storageService.GetEntityRepository();
        }
Beispiel #2
0
        public EntityRelationManager(IStorageService storageService)
        {
            if (storageService == null)
            {
                throw new ArgumentNullException("storageService", "The storage service is required.");
            }

            this.storageService = storageService;
            relationRepository  = storageService.GetEntityRelationRepository();
            entityRepository    = storageService.GetEntityRepository();
        }