Answer the question
In order to leave comments, you need to log in
Domain layer in N-layer architecture?
Hello! Colleagues tell me and tell about the domain model? The question is, for example, I have an entity User - poco class, generated from the User table in the database, and for example it has such fields
class UserEntity
{
public Guid Id{get;set;}
public string Name{get;set;}
public string Password{get;set;}
}
Answer the question
In order to leave comments, you need to log in
Well, in my opinion it is not very clear why to drag the password through the system. It is either hashed and its value is useless to you or not hashed and then it can be compromised.
https://jsfiddle.net/zL4y4myb/
https://jsfiddle.net/zL4y4myb/1/ round
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question