Closed amirhessampourhossein closed 9 months ago
I have seen the code below in your fluent configuration for User
User
builder.Property(u => u.Email); builder.Property(u => u.LastName); builder.Property(u => u.FirstName);
Is there a reason for calling only the .Property() method with nothing else ?
.Property()
The properties aren't included by default since they don't have a getter and a setter, only a getter:
Thank you very much for taking the time. I was not aware of this ❤ @amantinband
I have seen the code below in your fluent configuration for
User
Is there a reason for calling only the
.Property()
method with nothing else ?