コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SkillLevels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSkillLevels(SkillLevel skillLevel)
 {
     base.AddObject("SkillLevels", skillLevel);
 }
コード例 #2
0
 /// <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;
 }