0

我如何配置微风以使用 Angular 和 OData?

我设置

breeze.config.initializeAdapterInstance("modelLibrary", "backingStore", true);

但我还需要设置

dataService: "OData"

但 setproperty 已过时

4

2 回答 2

0

尝试:

 Breeze.config.initializeAdapterInstance("dataService", "OData");
于 2013-05-21T16:41:40.693 回答
0
breeze.config.initializeAdapterInstances({ dataService: "OData" });
breeze.config.initializeAdapterInstance("modelLibrary", "backingStore", true);
于 2013-05-21T21:05:12.923 回答