摘要: 这几种访问方式使用介绍如下:(部分示例代码来源MSDN Magzine) EntityClient+EntitySQL 示例代码: string city = "London"; using (EntityConnection cn = new EntityConnection("Name=Entities")) { cn.Open(); EntityCommand cmd = cn.CreateCommand(); cmd.CommandText = @"SELECT VALUE c FROM Entities.Customers AS c 阅读全文
posted @ 2011-07-04 20:45 SESSION MODE 阅读(1021) 评论(0) 推荐(0) 编辑