コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: saadzaman/myProject
 /// <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);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: saadzaman/myProject
 /// <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;
 }