コード例 #1
0
        /// <summary>
        /// calculate an extract from a report: all partners that are subscribed to certain publications and other criteria
        /// </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.ExtractPartnerBySubscription.sql");

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

            return(ExtractQuery.CalculateExtractInternal(AParameters, SqlStmt, AResults));
        }
コード例 #2
0
        /// <summary>
        /// calculate an extract from a report: all partners that are subscribed to certain publications and other criteria
        /// </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.ExtractPartnerBySubscription.sql");

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

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