public mail_template() { if (siteConfig == null) { dal = new DAL.mail_template("dt_"); } else { dal = new DAL.mail_template(siteConfig.sysdatabaseprefix); } }
public mail_template() { dal = new DAL.mail_template(siteConfig.sysdatabaseprefix); }
private readonly Model.siteconfig siteConfig = new BLL.siteconfig().loadConfig(); //获得站点配置信息 #endregion Fields #region Constructors public mail_template() { dal = new DAL.mail_template(siteConfig.sysdatabaseprefix); }