摘要: 1.Contractnamespace BankContract{ [ServiceContract] public interface IBank { [OperationContract] [TransactionFlow(TransactionFlowOption.Mandatory)]//设置事务流,必须启用使用 void IntoMoney(int money); [OperationContract] [TransactionFlow(TransactionFlowOption.Mandatory)] void OutMoney(int money); }}2.Servicenam 阅读全文
posted @ 2013-04-06 22:42 feidaochuanqing 阅读(185) 评论(0) 推荐(0) 编辑