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 DataLogDPLogTrendDAO GetInstance() { string Function_Name = "GetInstance"; LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Entered"); if (m_instance == null) { m_instance = new DataLogDPLogTrendDAO(); } LogHelper.Trace(CLASS_NAME, Function_Name, "Function_Exited"); return(m_instance); }