Beispiel #1
0
 public static void Update(Rio_UserIndexSetting UserIndexSetting)
 {
     using (Entities db = new Entities())
     {
         db.Entry(UserIndexSetting).State = EntityState.Modified;
         db.SaveChanges();
     }
 }
Beispiel #2
0
 public static void Insert(Rio_UserIndexSetting UserIndexSetting)
 {
     using (Entities db = new Entities())
     {
         db.Rio_UserIndexSetting.Add(UserIndexSetting);
         db.SaveChanges();
     }
 }