摘要:
通过LiveWriter提交 阅读全文
摘要:
-------------------ICustomer(接口类)------------------------------------[ServiceContract] public interface ICustomer { [OperationContract] [TransactionFlow(TransactionFlowOption.Allowed)] int RegisterCustomer(Customer customer);//注册一个客户 }------------------IRental(接口类)-----... 阅读全文
摘要:
-------------interface---------------------- /// /// 租赁合同管理 /// [ServiceContract] public interface IRental { [OperationContract] [FaultContract(typeof(RentalRegistFault))] string RegisterCarRental(RentalRegistraction rentalRegistraction);//注册一个租赁合同 [OperationContract] [FaultContract(typeof(RentalR.. 阅读全文