public static void updateProfileLow(LMComData2.User user, ProfileData profile) { writeProfileLow(user, profile.getAsString(), new ProfileDataCriteria(profile)); }
public static ProfileData readProfileLow(LMComData2.LMComDataContext db, Int64 id, out LMComData2.User user) { user = db.Users.Where(u => u.Id == id).FirstOrDefault(); if (user == null) return null; return fromString(user.Data); }