Пример #1
0
            /// <summary>
            /// Creates a new list Record instance. Providers to load a specifics records from database.
            /// </summary>
            /// <param name="pTransaction">A specifics transaction</param>
            /// <param name="pCondition">Condition, This represents a WHERE on load from db.</param>
            public Records(DbTransaction pTransaction, Condition pCondition)
            {
                _list = ListRecord <TRECORD> .CreateNewInstance(pTransaction, pCondition);

                _list.Load(pTransaction, pCondition);
            }
Пример #2
0
            /// <summary>
            /// Creates a new list Record instance. Providers to load a specifics records from database.
            /// </summary>
            /// <param name="pTransaction">A specifics transaction</param>
            /// <param name="pSelectQuery">Select Command Text</param>
            /// <param name="pParameters">arameters list. This list represents a WHERE on load from db.</param>
            public Records(DbTransaction pTransaction, String pSelectQuery, params RecordParameter[] pParameters)
            {
                _list = ListRecord <TRECORD> .CreateNewInstance(pTransaction, pSelectQuery, pParameters);

                _list.Load(pTransaction, pSelectQuery, pParameters);
            }
Пример #3
0
            /// <summary>
            /// Creates a new list Record instance. Providers to NOT load a specifics records from database.
            /// </summary>
            public Records()
            {
                _list = ListRecord <TRECORD> .CreateNewInstance();

                _list.Load(null);
            }