/// <summary> /// Deprecated Method for adding a new object to the VarsityLevels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVarsityLevels(VarsityLevel varsityLevel) { base.AddObject("VarsityLevels", varsityLevel); }
/// <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; }