WCF 事务

[OperationContract(IsOneWay = true)]//事务流
        [TransactionFlow(TransactionFlowOption.Allowed)]
        
void TransactionMethod();
[OperationBehavior(TransactionAutoComplete = true)]
        
public void TransactionMethod(){
            
throw new NotImplementedException();
        }


posted on 2010-02-12 14:50  银翼幻影  阅读(92)  评论(0)    收藏  举报

导航