随笔分类 - 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
阅读全文