示例#1
0
 public async Task SetDisplayName(RemotelyUser user, string displayName)
 {
     RemotelyContext.Attach(user);
     user.DisplayName = displayName;
     await RemotelyContext.SaveChangesAsync();
 }