public static void ReleaseInstance() { string Function_Name = "ReleaseInstance"; LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered"); if (m_instance != null) { m_instance = null; } LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited"); }
public static TrendLogDAO GetInstance() { string Function_Name = "GetInstance"; LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered"); if (m_instance == null) { m_instance = new TrendLogDAO(); } LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited"); return(m_instance); }