コード例 #1
0
 private GpoSendDao(string connectionName)
 {
     if (string.IsNullOrEmpty(connectionName))
     {
         dbFacade = DataBaseFacade.GetInstance();
     }
     else
     {
         dbFacade = DataBaseFacade.GetInstance(connectionName);
     }
 }
コード例 #2
0
 /// <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);
     }
 }
コード例 #3
0
 private ClientUploadDao(string connectionName)
 {
     if (string.IsNullOrEmpty(connectionName))
     {
         dbFacade = DataBaseFacade.GetInstance();
     }
     else
     {
         dbFacade = DataBaseFacade.GetInstance(connectionName);
     }
     //con = dbFacade.OpenConnection();
 }
コード例 #4
0
 private ClientSyncDataDAO(string connectionName)
 {
     if (string.IsNullOrEmpty(connectionName))
     {
         dbFacade = DataBaseFacade.GetInstance();
     }
     else
     {
         dbFacade = DataBaseFacade.GetInstance(connectionName);
     }
     con  = dbFacade.OpenConnection();
     conn = dbFacade.OpenConnection();
 }
コード例 #5
0
 private ClientUploadDao()
 {
     dbFacade = DataBaseFacade.GetInstance();
     con      = dbFacade.OpenConnection();
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:OracleDAOBase"/> class.
 /// </summary>
 protected OracleDAOBase()
 {
     dbFacade = DataBaseFacade.GetInstance();
 }
コード例 #7
0
 private GpoSendDao()
 {
     dbFacade = DataBaseFacade.GetInstance();
 }
コード例 #8
0
        public static readonly String SEQ_GPO = "SEQ_GPO_USR";  //序列名 刘海超2007-8-16

        protected SqlDAOBase()
        {
            dbFacade = DataBaseFacade.GetInstance();
        }
コード例 #9
0
 private ClientSyncDataDAO()
 {
     dbFacade = DataBaseFacade.GetInstance();
     con      = dbFacade.OpenConnection();
     conn     = dbFacade.OpenConnection();
 }