public void AddToStaffgroups(Staffgroup staffgroup) { base.AddObject("Staffgroups", staffgroup); }
public static Staffgroup CreateStaffgroup(global::System.Guid ID, global::System.Guid composition_Id, int sequence, Audit audit, short index) { Staffgroup staffgroup = new Staffgroup(); staffgroup.Id = ID; staffgroup.Composition_Id = composition_Id; staffgroup.Sequence = sequence; if ((audit == null)) { throw new global::System.ArgumentNullException("audit"); } staffgroup.Audit = audit; staffgroup.Index = index; return staffgroup; }