/// <summary> /// Deprecated Method for adding a new object to the SkillLevels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSkillLevels(SkillLevel skillLevel) { base.AddObject("SkillLevels", skillLevel); }
/// <summary> /// Create a new SkillLevel object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="conferredEffectivenessMinimum">Initial value of the ConferredEffectivenessMinimum property.</param> /// <param name="conferredEffectivenessMaximum">Initial value of the ConferredEffectivenessMaximum property.</param> public static SkillLevel CreateSkillLevel(global::System.Int32 id, global::System.String name, global::System.Decimal conferredEffectivenessMinimum, global::System.Decimal conferredEffectivenessMaximum) { SkillLevel skillLevel = new SkillLevel(); skillLevel.Id = id; skillLevel.Name = name; skillLevel.ConferredEffectivenessMinimum = conferredEffectivenessMinimum; skillLevel.ConferredEffectivenessMaximum = conferredEffectivenessMaximum; return skillLevel; }