2011年2月26日

摘要: 1. AddObject View Code 1 privatestaticvoidAddObjectDemo1()2{3Console.WriteLine("--------BeginAddObjectDemo1");4using(varedm=newNorthwindEntities())5{6CustomersaddCustomer=edm.Customers.FirstOrDefault(c=>c.CustomerID=="001");7if(addCustomer==null)8{9Customerscustomer=newCustome 阅读全文
posted @ 2011-02-26 15:22 o0myself0o 阅读(624) 评论(0) 推荐(0)

导航