Exemplo n.º 1
0
 private Dlm.Entities.Party.PartyCustomAttributeValue addTestPartyCustomAttributeValue(Dlm.Entities.Party.Party party, Dlm.Entities.Party.PartyCustomAttribute partyCustomAttr)
 {
     Dlm.Services.Party.PartyManager pm = new Dlm.Services.Party.PartyManager();
     pm.AddPartyCustomAttriuteValue(party, partyCustomAttr, "TestName");
     Dictionary<PartyCustomAttribute, string> customAtts = new Dictionary<PartyCustomAttribute, string>();
     customAtts.Add(partyCustomAttr, "Dic");
     customAtts.Add(addTestPartyCustomAttribute(party.PartyType), "dic2");
     customAtts.Add(addTestPartyCustomAttribute(party.PartyType), "dic3");
     pm.AddPartyCustomAttriuteValue(party, customAtts);
     return pm.AddPartyCustomAttriuteValue(party, partyCustomAttr, "TestName updated");
 }