/// <summary> /// Used to instantiate an AchievementModel from the achievement table. /// </summary> /// <param name="achievement"></param> /// <returns></returns> public AchievementModel InstantiateModel(Achievement achievement) { if (achievement != null) return new AchievementModel { Achievement_ID = achievement.Achievement_ID, Beloning = achievement.Beloning, Instructie = achievement.Instructie, Logo = achievement.Logo, Naam = achievement.Naam }; else return null; }
partial void DeleteAchievement(Achievement instance);
partial void UpdateAchievement(Achievement instance);
partial void InsertAchievement(Achievement instance);