ВВассралман
Mapping to avoid data dublicating.(Just help with ideas)
Im using asp identityuser from asp.net identity library, and my domain customer model has no unique properties i need email and id only and i want to try take this info from AspIdentityUser table
11 replies
Mapping to avoid data dublicating.(Just help with ideas)
My Customer model has two properties: Id and Email. The AspNetUser model has these properties plus additional ones. I want to use the Customer domain model, but creating a new Customer is meaningless when a new user registers he already has same fields (and values that is needed for Customer). Instead, I’ll retrieve the email (and possibly the ID) from the database and map it to Customer.
11 replies