SqlServer DbHelper
/// <summary> /// 数据库通用操作类 /// </summary> public abstract class DbHelper { #region " 连接字符串 " //连接字符串 //public static string ConnString = ConfigurationManager.ConnectionStrings["CommonSqlConnectionString"].ConnectionString; public static string DefaultConnString = string.Empty; public const int defaultCommandTimeout = 180; public const int defaultdbconfig = 1; #endregion #region " GetSqlCommand " /// <summary> /// 获取初始化好的Command对象 /// </summary> /// <param name="conn">Connection对象</param> /// <param name="cmdText">命令文本</param> /// <param name="cmdType">命令类型</param> /// <param name="parameters"