Пример #1
0
 public ModelContext(
     IEdmModel edmModel,
     IDictionary <string, IEntityType> entityTypes,
     IDictionary <string, IEntitySet> entitySets,
     IODataPathService pathService,
     OperationHandlerStore operationHandlerStore)
 {
     this.EdmModel              = edmModel;
     this.entityTypes           = entityTypes;
     this.entitySets            = entitySets;
     this.pathService           = pathService;
     this.operationHandlerStore = operationHandlerStore;
 }
Пример #2
0
 public ModelBuilder(IODataPathService pathTranslator, INavigationPropertyBuilderFactory navigationPropertyBuilderFactory)
 {
     this.pathTranslator = pathTranslator;
     this.navigationPropertyBuilderFactory = navigationPropertyBuilderFactory;
     this.edmModelUnderConstruction        = new EdmModel();
 }
Пример #3
0
 public ModelBuilderFactory(IODataPathService pathTranslator, INavigationPropertyBuilderFactory navigationPropertyBuilderFactory)
 {
     this.pathTranslator = pathTranslator;
     this.navigationPropertyBuilderFactory = navigationPropertyBuilderFactory;
 }
Пример #4
0
 public OperationContextFactory(IODataPathService pathService)
 {
     this.pathService = pathService;
 }