Exemple #1
0
        private void UpdateGenevaActivityRun(int activityId, string name, string datatype, string source, int numrecs, XmlDocument xmldoc, loaderResultsStruct loaderResults)
        {
            WfmAdapter wfmAdapter = new WfmAdapter("Geneva",
                GetBamGenevaConnectionString(), "MarketDataSqlAlias");

            wfmAdapter.AddActivityDetailAlias = "BAMMarketPriceLoader.AddActivityRunDetail";

            wfmAdapter.UpdateActivityRun(activityId, name, datatype, source, numrecs,
                xmldoc, LoaderResults2Xml(loaderResults));
        }
Exemple #2
0
        private int FinalizeGenevaActivityRun(int activityId, string source, int numrecs)
        {
            WfmAdapter wfmAdapter = new WfmAdapter("Geneva",
                GetBamGenevaConnectionString(), "MarketDataSqlAlias");

            wfmAdapter.FinalizeActivityAlias = "BAMMarketPriceLoader.FinalizeActivityRun";
            return wfmAdapter.FinalizeActivityRun(activityId, source, numrecs);
        }
Exemple #3
0
        private int AddGenevaActivityRun(string name, string source, int numrecs)
        {
            WfmAdapter wfmAdapter = new WfmAdapter("Geneva",
                GetBamGenevaConnectionString(), "MarketDataSqlAlias");

            wfmAdapter.AddActivityAlias = "BAMMarketPriceLoader.AddActivityRun";
            return wfmAdapter.AddActivityRun(name, source, numrecs);
        }