Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the VarsityLevels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVarsityLevels(VarsityLevel varsityLevel)
 {
     base.AddObject("VarsityLevels", varsityLevel);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new VarsityLevel object.
 /// </summary>
 /// <param name="varsityLevelId">Initial value of the VarsityLevelId property.</param>
 /// <param name="varsityLevelName">Initial value of the VarsityLevelName property.</param>
 public static VarsityLevel CreateVarsityLevel(global::System.Int32 varsityLevelId, global::System.String varsityLevelName)
 {
     VarsityLevel varsityLevel = new VarsityLevel();
     varsityLevel.VarsityLevelId = varsityLevelId;
     varsityLevel.VarsityLevelName = varsityLevelName;
     return varsityLevel;
 }