25
08/14
LINQ to SQLite完美解决方案
1、下载安装LinqConnectExpress(就是LinqConnect免费版) 2、安装好后就和LINQ TO SQL 一样了! 3、查询(增删改查和LINQ TO SQL 完全一样,你可以不用改一句代码!) CrmDemoDataContext context = new CrmDemoDataContext(); var query = from it in context.Companies orderby it.CompanyID select it; foreach (Company comp in query) Console.WriteLine("{0} | {1} | {2}", comp.CompanyID, comp.CompanyName, comp.Country); Console.ReadLine(); 4、增加 ...