Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GradeTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGradeTypes(GradeType gradeType)
 {
     base.AddObject("GradeTypes", gradeType);
 }
Beispiel #2
0
 /// <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;
 }