随笔分类 -  Windows Phone开发

摘要:Linq to sql是.NET上的ORM类库。因此首先我们需要定义O(Object),此处我们定义如下类:View Code publicclassCode{publicstringId{get;set;}publicstringCodeTypeId{get;set;}publicstringCodeExtensionId{get;set;}publicstringCodeValue{get;set;}publicstringDisplayText{get;set;}接下来就需要定义R(Relationship)和M(Mapping)Linq to sql为我们提供两种方式来进行Relati 阅读全文
posted @ 2012-10-06 02:13 self.refactoring 阅读(466) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示