private void removePartyType(PartyType partyType) { Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager(); ptm.Delete(partyType); }
private bool removeTestPartyCustomAttribute(Dlm.Entities.Party.PartyCustomAttribute partyCustomAttr) { Dlm.Services.Party.PartyTypeManager pm = new Dlm.Services.Party.PartyTypeManager(); return pm.DeletePartyCustomAttribute(partyCustomAttr); }
private void removePartyStatusType(PartyStatusType partyStatusType) { Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager(); ptm.RemoveStatusType(partyStatusType); }
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"); }
private Dlm.Entities.Party.PartyCustomAttribute addTestPartyCustomAttribute(Dlm.Entities.Party.PartyType partyType) { Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager(); return ptm.CreatePartyCustomAttribute(partyType, "string", "Name", "Name for test", "", true, 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); }
private Dlm.Entities.Party.PartyStatusType addPartyStatusType(PartyType partyType) { Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager(); return ptm.AddStatusType(partyType, "just created", "this is for test data", 0); }