コード例 #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.ExtractPartnerByEvent.sql");

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

            return(ExtractQuery.CalculateExtractInternal(AParameters, SqlStmt, AResults));
        }
コード例 #2
0
ファイル: ExtractByEvent.cs プロジェクト: Davincier/openpetra
        /// <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.ExtractPartnerByEvent.sql");

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

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