Esempio n. 1
0
        /// <summary>
        /// Creates a new noeService and sets the Database context
        /// </summary>
        public noeServiceBase(DatabaseConnection connection)
            : base()
        {
            UseConnectionAndTransaction(connection);

            m_noeAdapter = new noeDataAdapter(connection);
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes the static instance
 /// </summary>
 static noeDataAdapter()
 {
     m_Instance = new noeDataAdapter();
 }
Esempio n. 3
0
 /// <summary>
 /// Creates a new noeService
 /// </summary>
 public noeServiceBase()
     : base()
 {
     DbConnection = new DatabaseConnection(DataObjectFactory.CreateConnection());
     m_noeAdapter = new noeDataAdapter(DbConnection);
 }