/// <summary>Returns the Semester with the provided primary key value.</summary> /// <param name="id">The primary key of the Semester to fetch.</param> /// <param name="context">The data context to use.</param> /// <returns>A single Semester, or null if it does not exist.</returns> public static Semester GetByID(SampleObjectContext context, int id) { return(Semester.GetByID(context, id)); }
public static Semester LoadSemesterFromDataContext(this Semester obj, SampleObjectContext dataContext) { return(Semester.GetByID(dataContext, obj.ID)); }
/// <summary>Returns the Semester with the provided primary key value.</summary> /// <param name="id">The primary key of the Semester to fetch.</param> /// <returns>A single Semester, or null if it does not exist.</returns> public static Semester GetByID(int id) { return(Semester.GetByID(id)); }