Exemplo n.º 1
0
        /// <summary>
        /// calculate an extract from a report: all partners living in a given city
        /// </summary>
        /// <param name="AParameters"></param>
        /// <param name="AResults"></param>
        /// <returns></returns>
        public static bool CalculateExtract(TParameterList AParameters, TResultList AResults)
        {
            string SqlStmt = TDataBase.ReadSqlFile("Partner.Queries.ExtractPartnerByEventRole.sql");

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

            return(ExtractQuery.CalculateExtractInternal(AParameters, SqlStmt, AResults));
        }
        /// <summary>
        /// calculate an extract from a report: all partners living in a given city
        /// </summary>
        /// <param name="AParameters"></param>
        /// <param name="AResults"></param>
        /// <returns></returns>
        public static bool CalculateExtract(TParameterList AParameters, TResultList AResults)
        {
            string SqlStmt = TDataBase.ReadSqlFile("Partner.Queries.ExtractPartnerByEventRole.sql");

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

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