Ejemplo 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);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes the static instance
 /// </summary>
 static noeDataAdapter()
 {
     m_Instance = new noeDataAdapter();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new noeService
 /// </summary>
 public noeServiceBase()
     : base()
 {
     DbConnection = new DatabaseConnection(DataObjectFactory.CreateConnection());
     m_noeAdapter = new noeDataAdapter(DbConnection);
 }