Пример #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;
 }
Пример #2
0
 partial void DeleteAchievement(Achievement instance);
Пример #3
0
 partial void UpdateAchievement(Achievement instance);
Пример #4
0
 partial void InsertAchievement(Achievement instance);