public void AddToSchoolParts(SchoolPart schoolPart) { base.AddObject("SchoolParts", schoolPart); }
public static SchoolPart CreateSchoolPart(int ID, byte[] rowVersion, int school_SchoolPart, int schoolPart_District) { SchoolPart schoolPart = new SchoolPart(); schoolPart.Id = ID; schoolPart.RowVersion = rowVersion; schoolPart.School_SchoolPart = school_SchoolPart; schoolPart.SchoolPart_District = schoolPart_District; return schoolPart; }