protected static void Establish_context() { client = new HttpClient(); var sourcesystem = new EnergyTrading.Mdm.Contracts.SourceSystem(); content = HttpContentExtensions.CreateDataContract(sourcesystem); }
protected static void Establish_context() { client = new HttpClient(); var curve = new Contracts.Curve(); content = HttpContentExtensions.CreateDataContract(curve); }
protected static void Establish_context() { partyrole = PartyRoleData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(partyrole); client = new HttpClient(); }
protected static void Establish_context() { exchange = ExchangeData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(exchange); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); var notALegalEntity = new Mapping(); content = HttpContentExtensions.CreateDataContract(notALegalEntity); }
protected static void Establish_context() { client = new HttpClient(); var exchange = new EnergyTrading.MDM.Contracts.Sample.Exchange(); content = HttpContentExtensions.CreateDataContract(exchange); }
protected static void Establish_context() { broker = BrokerData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(broker); client = new HttpClient(); }
protected static void Establish_context() { sourcesystem = Script.SourceSystemData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(sourcesystem); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); var location = new EnergyTrading.MDM.Contracts.Sample.Location(); content = HttpContentExtensions.CreateDataContract(location); }
protected static void Establish_context() { client = new HttpClient(); var party = new EnergyTrading.MDM.Contracts.Sample.Party(); content = HttpContentExtensions.CreateDataContract(party); }
protected static void Establish_context() { counterparty = CounterpartyData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(counterparty); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); var notAPartyRole = new Mapping(); content = HttpContentExtensions.CreateDataContract(notAPartyRole); }
protected static void Establish_context() { legalentity = LegalEntityData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(legalentity); client = new HttpClient(); }
protected static void Establish_context() { person = Script.PersonData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(person); client = new HttpClient(); }
protected static void Establish_context() { var notAPerson = new Mapping(); content = HttpContentExtensions.CreateDataContract(notAPerson); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); var partyrole = new OpenNexus.MDM.Contracts.PartyRole(); content = HttpContentExtensions.CreateDataContract(partyrole); }
protected static void Establish_context() { curve = CurveData.CreateContractForEntityCreation(); content = HttpContentExtensions.CreateDataContract(curve); client = new HttpClient(); }
protected static void Establish_context() { entity = PartyRoleData.CreateBasicEntity(); var notAMapping = new OpenNexus.MDM.Contracts.PartyRole(); content = HttpContentExtensions.CreateDataContract(notAMapping); client = new HttpClient(); }
protected static void Establish_context() { entity = Script.SourceSystemData.CreateBasicEntity(); var notAMapping = new EnergyTrading.Mdm.Contracts.SourceSystem(); content = HttpContentExtensions.CreateDataContract(notAMapping); client = new HttpClient(); }
protected static void Establish_context() { entity = ExchangeData.CreateBasicEntity(); var notAMapping = new EnergyTrading.MDM.Contracts.Sample.Exchange(); content = HttpContentExtensions.CreateDataContract(notAMapping); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); entity = Script.SourceSystemData.CreateBasicEntity(); content = HttpContentExtensions.CreateDataContract(new EnergyTrading.Mdm.Contracts.SourceSystem()); startVersion = CurrentEntityVersion(); }
protected static void Establish_context() { client = new HttpClient(); entity = CurveData.CreateBasicEntity(); content = HttpContentExtensions.CreateDataContract(new MDM.Contracts.Curve()); startVersion = CurrentEntityVersion(); }
protected static void Establish_context() { entity = CurveData.CreateBasicEntity(); var notAMapping = new Contracts.Curve(); content = HttpContentExtensions.CreateDataContract(notAMapping); client = new HttpClient(); }
protected static void Establish_context() { client = new HttpClient(); entity = CounterpartyData.CreateBasicEntity(); content = HttpContentExtensions.CreateDataContract(new EnergyTrading.MDM.Contracts.Sample.Counterparty()); startVersion = CurrentEntityVersion(); }
protected static void Establish_context() { entity = CounterpartyData.CreateBasicEntityWithOneMapping(); client = new HttpClient(); var notAMapping = new MDM.Counterparty(); content = HttpContentExtensions.CreateDataContract(notAMapping); startVersion = CurrentEntityVersion(); }
protected static void Establish_context() { client = new HttpClient(); entity = Script.SourceSystemData.CreateBasicEntity(); var getResponse = client.Get(ServiceUrl["SourceSystem"] + entity.Id); updatedContract = getResponse.Content.ReadAsDataContract <EnergyTrading.Mdm.Contracts.SourceSystem>(); content = HttpContentExtensions.CreateDataContract(Script.SourceSystemData.MakeChangeToContract(updatedContract)); }
protected static void Establish_context() { client = new HttpClient(); entity = CounterpartyData.CreateBasicEntity(); var getResponse = client.Get(ServiceUrl["Counterparty"] + entity.Id); updatedContract = getResponse.Content.ReadAsDataContract <EnergyTrading.MDM.Contracts.Sample.Counterparty>(); content = HttpContentExtensions.CreateDataContract(CounterpartyData.MakeChangeToContract(updatedContract)); }
protected static void Establish_context() { client = new HttpClient(); Search search = SearchBuilder.CreateSearch(); search.AddSearchCriteria(SearchCombinator.Or).AddCriteria( "x", SearchCondition.Equals, Guid.NewGuid().ToString()); content = HttpContentExtensions.CreateDataContract(search); }
protected static void Establish_context() { client = new HttpClient(); entity = Script.PartyData.CreateBasicEntity(); var getResponse = client.Get(ServiceUrl["Party"] + entity.Id); updatedContract = getResponse.Content.ReadAsDataContract <EnergyTrading.MDM.Contracts.Sample.Party>(); updatedContract.Details.Name = "Bob"; updatedContract.Identifiers.Remove(updatedContract.Identifiers.Where(id => id.IsMdmId).First()); content = HttpContentExtensions.CreateDataContract(updatedContract); }
protected static void Establish_context() { entity1 = CounterpartyData.CreateBasicEntity(); entity2 = CounterpartyData.CreateBasicEntity(); client = new HttpClient(); var search = new Search().IsMutliPage().MaxPageSize(1); CounterpartyData.CreateSearch(search, entity1, entity2); content = HttpContentExtensions.CreateDataContract(search); }