Tag: datarow datarowcollection

使用AutoMapper将RowDataCollection映射到DTO

有没有办法使用AutoMapper将RowDataCollection映射到DTO ? 这是一个场景: DataRow to Object user.UserId = row[“UserId”]; user.UserName = row[“UserName”];