Example #1
0
 private Dlm.Entities.Party.PartyStatus addTestPartyStatus(Dlm.Entities.Party.Party party)
 {
     Dlm.Services.Party.PartyManager pm = new Dlm.Services.Party.PartyManager();
     Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager();
     var partyType = ptm.Create("partyTypeTest2", "just for test2", null);
     var st = ptm.AddStatusType(partyType, "second try", "this is for test data", 0);
     return pm.AddPartyStatus(party, st, "test");
 }
Example #2
0
 private Dlm.Entities.Party.PartyType addPartyType()
 {
     Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager();
     return ptm.Create("partyTypeTest", "just for test", null);
 }