Пример #1
0
 private void removePartyType(PartyType partyType)
 {
     Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager();
     ptm.Delete(partyType);
 }
Пример #2
0
 private bool removeTestPartyCustomAttribute(Dlm.Entities.Party.PartyCustomAttribute partyCustomAttr)
 {
     Dlm.Services.Party.PartyTypeManager pm = new Dlm.Services.Party.PartyTypeManager();
     return pm.DeletePartyCustomAttribute(partyCustomAttr);
 }
Пример #3
0
 private void removePartyStatusType(PartyStatusType partyStatusType)
 {
     Dlm.Services.Party.PartyTypeManager ptm = new Dlm.Services.Party.PartyTypeManager();
     ptm.RemoveStatusType(partyStatusType);
 }
Пример #4
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");
 }
Пример #5
0
 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);
 }
Пример #6
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);
 }
Пример #7
0
 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);
 }