/// <summary> /// Deprecated Method for adding a new object to the GradeTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGradeTypes(GradeType gradeType) { base.AddObject("GradeTypes", gradeType); }
/// <summary> /// Create a new GradeType object. /// </summary> /// <param name="typeID">Initial value of the typeID property.</param> /// <param name="name">Initial value of the name property.</param> public static GradeType CreateGradeType(global::System.Int32 typeID, global::System.String name) { GradeType gradeType = new GradeType(); gradeType.typeID = typeID; gradeType.name = name; return gradeType; }