Esempio n. 1
0
 /// <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;
 }
Esempio n. 2
0
 partial void DeleteAchievement(Achievement instance);
Esempio n. 3
0
 partial void UpdateAchievement(Achievement instance);
Esempio n. 4
0
 partial void InsertAchievement(Achievement instance);