You are integrating a Windows Communication Foundation (WCF) service within an enterprise-wide Service Oriented Architecture (SOA).Your service has the following service contract: [ServiceContract]public class CreditCardConfirmationService { [OperationContract] boolean ConfirmCreditCard(string ccNumber); double OrderAmount(int orderNumber);} You need to allow the code in the ConfirmCreditCard method to participate automatically in existing transactions.If there is no existing transaction, a new transaction must be created automatically. What should you do?()
A. Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new TransactionScope()) block.
B. Inside the ConfirmCreditCard method, surround the code that must participate in the transaction with a using(new CommittableTransaction()) block.
C. Add an [OperationBehavior(TransactionScopeRequired=true)] attribute to the ConfirmCreditCard method.
D. Add an [OperationBehavior(TransactionAutoComplete=true)] attribute to the ConfirmCreditCard method.
查看答案
空白背书的背书人在汇票背面签上()。
A. 被背书人的姓名
B. 背书人自己的姓名
C. 被背书人的商号名称
D. 付款人的名称
人民法院对()行政行为的起诉不予受理。
A. 不服行政强制措施的
B. 行政机关拒绝履行保护人身权、财产权法定职责的
C. 行政机关制定、发布的具有普遍约束力的决定、命令有异议的
D. 行政机关不依法发给抚恤金的
教师要在共同的生活和活动中,以多种方式引导幼儿认识,体验并理解基本的社会行为规则,学习自律和尊重他人。
A. 正确
B. 错误
主变压器各侧的任一侧断路器停电时,在拉开该断路器母线侧隔离开关前,退出该侧()压板。有旁切功能的应将电压回路切换至()。