而OData Service for Team Foundation Server 2010所提供的方法会在客户对象模型之上提供一个层,从而提供我们想要暴露的OData接口。
Our approach with the OData Service for Team Foundation Server 2010 is to then provide a layer on top of the client object model to provide the OData interfaces we wish to expose.
例如,客户对象映射并不是性能测试模型的关键构件。
For example, client object maps are not a key component of the performance testing model.
按照数据对象模型方式,首先需要创建包装器对象来封装客户和订单数据,见清单1、清单2和清单3。
In the data object model approach, you need to first create the wrapper objects to encapsulate the customer and order data, as shown in Listing 1, Listing 2, and Listing 3.
应用推荐