/// <summary> /// Creates a new memariService and sets the Database context /// </summary> public memariServiceBase(DatabaseConnection connection) : base() { UseConnectionAndTransaction(connection); m_memariAdapter = new memariDataAdapter(connection); }
/// <summary> /// Creates a new memariService /// </summary> public memariServiceBase() : base() { DbConnection = new DatabaseConnection(DataObjectFactory.CreateConnection()); m_memariAdapter = new memariDataAdapter(DbConnection); }
/// <summary> /// Initializes the static instance /// </summary> static memariDataAdapter() { m_Instance = new memariDataAdapter(); }