Closed gabrielrobert closed 3 years ago
We had an issue mocking a DbContext with models containing a property with a protected setter. For example:
public class Entity { public DateTime CreationDate { get; protected set; } protected Entity() { CreationDate = DateTime.UtcNow; } }
Now, this is how PR's should look like! Well done & thanks. 🎉
We had an issue mocking a DbContext with models containing a property with a protected setter. For example: