public static YnDaoHelper GetInstance() { if (ynDaoHelper == null) ynDaoHelper = new YnDaoHelper(); return ynDaoHelper; }
public static void Init(NHibernateType nHibernateType, XmlReader xmlReader, string connection_string) { try { if (ynDaoHelper == null) { ynDaoHelper = new YnDaoHelper(nHibernateType, xmlReader, connection_string); } } catch (Exception ex) { throw ex; } }
public static void Init(NHibernateType nHibernateType,string configFileName, XmlReader xmlReader, string connection_string, Assembly[] assemblys) { try { if (ynDaoHelper == null) { ynDaoHelper = new YnDaoHelper(nHibernateType,configFileName, xmlReader, connection_string, assemblys); } } catch (Exception ex) { throw ex; } }
public static void Init(NHibernateType nHibernateType, string configFileName) { try { if (ynDaoHelper == null) { ynDaoHelper = new YnDaoHelper(nHibernateType, configFileName); } } catch (Exception ex) { throw ex; } }