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

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