Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何配置微风以使用 Angular 和 OData?
我设置
breeze.config.initializeAdapterInstance("modelLibrary", "backingStore", true);
但我还需要设置
dataService: "OData"
但 setproperty 已过时
尝试:
Breeze.config.initializeAdapterInstance("dataService", "OData");
breeze.config.initializeAdapterInstances({ dataService: "OData" }); breeze.config.initializeAdapterInstance("modelLibrary", "backingStore", true);