Пример #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);
        }
Пример #2
0
 /// <summary>
 /// Creates a new sazehService
 /// </summary>
 public sazehServiceBase()
     : base()
 {
     DbConnection = new DatabaseConnection(DataObjectFactory.CreateConnection());
     m_sazehAdapter = new sazehDataAdapter(DbConnection);
 }
Пример #3
0
 /// <summary>
 /// Initializes the static instance
 /// </summary>
 static sazehDataAdapter()
 {
     m_Instance = new sazehDataAdapter();
 }