private GpoSendDao(string connectionName) { if (string.IsNullOrEmpty(connectionName)) { dbFacade = DataBaseFacade.GetInstance(); } else { dbFacade = DataBaseFacade.GetInstance(connectionName); } }
/// <summary> /// Initializes a new instance of the <see cref="T:OracleDAOBase"/> class. /// </summary> /// <param name="connectionName">Name of the connection.可以为空。</param> protected OracleDAOBase(string connectionName) { if (string.IsNullOrEmpty(connectionName)) { dbFacade = DataBaseFacade.GetInstance(); } else { dbFacade = DataBaseFacade.GetInstance(connectionName); } }
private ClientUploadDao(string connectionName) { if (string.IsNullOrEmpty(connectionName)) { dbFacade = DataBaseFacade.GetInstance(); } else { dbFacade = DataBaseFacade.GetInstance(connectionName); } //con = dbFacade.OpenConnection(); }
private ClientSyncDataDAO(string connectionName) { if (string.IsNullOrEmpty(connectionName)) { dbFacade = DataBaseFacade.GetInstance(); } else { dbFacade = DataBaseFacade.GetInstance(connectionName); } con = dbFacade.OpenConnection(); conn = dbFacade.OpenConnection(); }
private ClientUploadDao() { dbFacade = DataBaseFacade.GetInstance(); con = dbFacade.OpenConnection(); }
/// <summary> /// Initializes a new instance of the <see cref="T:OracleDAOBase"/> class. /// </summary> protected OracleDAOBase() { dbFacade = DataBaseFacade.GetInstance(); }
private GpoSendDao() { dbFacade = DataBaseFacade.GetInstance(); }
public static readonly String SEQ_GPO = "SEQ_GPO_USR"; //序列名 刘海超2007-8-16 protected SqlDAOBase() { dbFacade = DataBaseFacade.GetInstance(); }
private ClientSyncDataDAO() { dbFacade = DataBaseFacade.GetInstance(); con = dbFacade.OpenConnection(); conn = dbFacade.OpenConnection(); }