Exemplo n.º 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));
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }