Example #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;
 }
Example #2
0
 public ModelBuilder(IODataPathService pathTranslator, INavigationPropertyBuilderFactory navigationPropertyBuilderFactory)
 {
     this.pathTranslator = pathTranslator;
     this.navigationPropertyBuilderFactory = navigationPropertyBuilderFactory;
     this.edmModelUnderConstruction        = new EdmModel();
 }
Example #3
0
 public ModelBuilderFactory(IODataPathService pathTranslator, INavigationPropertyBuilderFactory navigationPropertyBuilderFactory)
 {
     this.pathTranslator = pathTranslator;
     this.navigationPropertyBuilderFactory = navigationPropertyBuilderFactory;
 }
Example #4
0
 public OperationContextFactory(IODataPathService pathService)
 {
     this.pathService = pathService;
 }