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)); }
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); }
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); }