コード例 #1
0
        /// <summary>
        /// Creates a new memariService and sets the Database context
        /// </summary>
        public memariServiceBase(DatabaseConnection connection)
            : base()
        {
            UseConnectionAndTransaction(connection);

            m_memariAdapter = new memariDataAdapter(connection);
        }
コード例 #2
0
 /// <summary>
 /// Creates a new memariService
 /// </summary>
 public memariServiceBase()
     : base()
 {
     DbConnection = new DatabaseConnection(DataObjectFactory.CreateConnection());
     m_memariAdapter = new memariDataAdapter(DbConnection);
 }
コード例 #3
0
 /// <summary>
 /// Initializes the static instance
 /// </summary>
 static memariDataAdapter()
 {
     m_Instance = new memariDataAdapter();
 }