微软MCAD 70-310 实战百题
题目内容

You are creating a serviced component named Itemlnventory. An online catalog application will use Itemlnventory to display the availability of products in inventory.Additional serviced components written by other developers will continuously update the inventory data as orders are placed.The Item Inventory class includes the following code segment: <Transaction(TransactionOption.Required)>Public Class Itemlnventory Inherits ServicedComponent 'Method code goes here.End ClassItemlnventory is configured to require transactions. You want Item Inventory to respond to requests as quickly as possible, even if that means displaying inventory values that are not up to date with the most recent orders.What should you do?

2021-12-25

A.To the Itemlnventory class, add the following attribute:

B.To all methods of the Itemlnventory class, add the following attribute:

C.Modify the Transaction attribute of the Itemlnventory class to be the following attribute:

D.Modify the Transaction attribute of the Itemlnventory class to be the following attribute:〈Transaction(TransactionOption.Required, __IsolationLevel:» TransactionlsolationLevel.ReadOncoromitted)>

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端