Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Skills EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSkills(Skill skill)
 {
     base.AddObject("Skills", skill);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Skill object.
 /// </summary>
 /// <param name="skillID">Initial value of the SkillID property.</param>
 /// <param name="skillName">Initial value of the SkillName property.</param>
 public static Skill CreateSkill(global::System.Int32 skillID, global::System.String skillName)
 {
     Skill skill = new Skill();
     skill.SkillID = skillID;
     skill.SkillName = skillName;
     return skill;
 }