table architecture & # xff1a as follows;
the users table: sys_users
[Description (& # 34; system user table & # 34;)]Public class Sys_User: BaseEntity{[Description (& # 34; account & # 34;), StringLength (10)]Public string AccountNumber {get; The set; }[Description (& # 34; password & # 34;)]Public string Pwd {get; The set; }Public virtual ICollection
user details table: sys_user_dtl
The public class Sys_User_Dtl: BaseEntity{[Description (& # 34; real name & # 34;), MaxLength (10)]Public string RealName {get; The set; }[Description (& # 34; date of birth & # 34;)]Public DateTime BirthDate {get; The set; }[Description (& # 34; mobile number & # 34;)]Public string Tel {get; The set; }[Description (& # 34; user ID & # 34;)]Public Guid UserId {get; The set; }[ForeignKey (& # 34; UserId & # 34;)]Public virtual Sys_User SysUser {get; The set; }}
details table associated with the user table,
the question to the & # xff0c; When through the update & # xff0c; Updated when the user table & # xff0c; Not directly by updating the user table details update to the table information
The public async Task UpdateAsync (Sys_UserDto dto){Var user & # 61; ObjectMapper. Map
this update update only to the main table field information & # xff0c; Table has not been updated to the details and ask the great spirit show