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(); }
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(); }