public static PartyRef PartyRef(Party party) { Check.Require(party != null, "party must not be null"); PartyRef result = new PartyRef(party.Uid, "local", ((IRmType)party).GetRmTypeName()); return result; }
public static void SetVersionUid(Party party, ObjectVersionId versionUid) { Check.Require(party != null, "party must not be null"); party.VersionUid = versionUid; }
public static ObjectVersionId GetVersionUid(Party party) { Check.Require(party != null, "party must not be null"); return party.VersionUid; }