コード例 #1
0
        /// <summary>
        /// calculate an extract from a report: all donors that have given to particular fields (ledgers)
        /// </summary>
        /// <param name="AParameters"></param>
        /// <param name="AResults"></param>
        /// <returns></returns>
        public static bool CalculateExtract(TParameterList AParameters, TResultList AResults)
        {
            string SqlStmt = TDataBase.ReadSqlFile("Gift.Queries.ExtractDonorByField.sql");

            // create a new object of this class and control extract calculation from base class
            QueryDonorByField ExtractQuery = new QueryDonorByField();

            return(ExtractQuery.CalculateExtractInternal(AParameters, SqlStmt, AResults));
        }
コード例 #2
0
        /// <summary>
        /// calculate an extract from a report: all donors that have given to particular fields (ledgers)
        /// </summary>
        /// <param name="AParameters"></param>
        /// <param name="AResults"></param>
        /// <returns></returns>
        public static bool CalculateExtract(TParameterList AParameters, TResultList AResults)
        {
            string SqlStmt = TDataBase.ReadSqlFile("Gift.Queries.ExtractDonorByField.sql");

            // create a new object of this class and control extract calculation from base class
            QueryDonorByField ExtractQuery = new QueryDonorByField();

            return ExtractQuery.CalculateExtractInternal(AParameters, SqlStmt, AResults);
        }