private void detach_SkillQuestionBanks(SkillQuestionBank entity)
		{
			this.SendPropertyChanging();
			entity.QuestionBank = null;
		}
		private void attach_SkillQuestionBanks(SkillQuestionBank entity)
		{
			this.SendPropertyChanging();
			entity.Skill = this;
		}
 partial void DeleteSkillQuestionBank(SkillQuestionBank instance);
 partial void UpdateSkillQuestionBank(SkillQuestionBank instance);
 partial void InsertSkillQuestionBank(SkillQuestionBank instance);
        public bool CreateSkillQuestionBank(SkillQuestionBankDAO s)
        {
            SkillQuestionBank skillQuestionBank = new SkillQuestionBank
            {
                SkillQuestionBank_ID = s.SkillQuestionBankID,
                Skill_ID = s.SkillID,
                QuestionBank_ID = s.QuestionBankID
            };

            using (AESDatabaseDataContext db = new AESDatabaseDataContext())
            {
                db.SkillQuestionBanks.InsertOnSubmit(skillQuestionBank);

                try
                {
                    db.SubmitChanges();
                }
                catch (Exception e)
                {
                    throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message));
                }
            }

            return true;
        }