I need to switch an entity to internal. So I create it. No build/runtime error. But when I want to use the DbSet object I can\'t because the object seems not initialized !>
It will not be automatically instantiated if it is not set to public. You can manually instantiate it using Set() method.
public
public partial class Entities { internal DbSet EmployeeSet { get; set; } public Entities() { EmployeeSet = Set(); } }