public void UpdateUser(Sokoban.DataTypes.User user) { Client.Store(user); Client.Commit(); }
public void InsertUser(Sokoban.DataTypes.User user) { user.Id = (from Sokoban.DataTypes.User u in Client select u).Count() + 1; Client.Store(user); Client.Commit(); }