partial void DeleteSkill(Skill instance);
partial void InsertSkill(Skill instance);
partial void UpdateSkill(Skill instance);
public bool CreateSkill(SkillDAO s) { Skill skill = new Skill { Skill_ID = s.SkillID, SkillName = s.SkillName }; using (AESDatabaseDataContext db = new AESDatabaseDataContext()) { db.Skills.InsertOnSubmit(skill); try { db.SubmitChanges(); } catch (Exception e) { throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message)); } } return true; }