新建一个EntitieBase类 public class EntitieBase { public EntitieBase() { var obj = this; Type t = obj.GetType();//获得该类的Type &nb
首先封装一下NVelocity新建 VelocityHelper.cs /// <summary> /// NVelocity模板工具类 VelocityHelper /// </summary> public class VelocityHelper { privat···
记录一下,免得以后忘记了又要到处去找。begin /*这里不能直接执行select语句但可以直接执行update、delete、insert语句*/ end里面不能接执行select语句,声明会话级临时表···