现有如下实体 public class User { public int Id { get; set; } public string Name { get; set; } } 根据这个实体创建一个Iqueryable<User>对象queryList List<User> dList = new List<User> { ,Name="zhansan" }, ,Name="lisi" }, ,Name="wangwu
一.PowerDesigner生成sql问题 生成sql的方法是 Database -->Generate Database (Ctrl + G ) 但是提示 Could not load VBScript engine. Check VBScript installation. Generation aborted due to errors detected during the verification of the model. 检查了好久 发现将check model 去掉就可以了!其
转:http://www.cnblogs.com/the7stroke/archive/2012/04/22/2465597.html using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Reflection; using System.Data; public class SQLHelper { /// <summary> /// 插入单个实例 /