2012年6月27日
摘要: 1usingSystem;2usingSystem.ServiceModel;3usingSystem.ServiceModel.Description;4usingSystem.ServiceModel.Channels;56namespaceZhiYuan.ServiceProxy7{8publicclassWCFClient<T>9{1011publicstaticTCreateService(Bindingbind,EndpointAddressaddress)12{13ChannelFactory<T>channelFactory=newChannelFact 阅读全文
posted @ 2012-06-27 14:03 @清风...... 阅读(1523) 评论(1) 推荐(0) 编辑
摘要: 数据仓储层1usingSystem;2usingSystem.Collections.Generic;3usingSystem.Linq;4namespaceZhiYuan.Repository.Member5{6publicclassLoginRepository:ZhiYuan.IRepository.Member.ILoginRepository7{8publicZhiYuan.DataContract.Member.LoginResponseUserLogin(ZhiYuan.DataContract.Member.LoginRequestlogin)9{10varres=newZhi 阅读全文
posted @ 2012-06-27 13:26 @清风...... 阅读(1052) 评论(2) 推荐(0) 编辑