What to use instead of DbSet Create() Method in EF7, and is it recommended to simply new T()

Now that EF Core supports proxies and lazy loading, there is a DbSet.CreateProxy() extension method. It looks like they changed the name to make it more clear that its only purpose is to create a proxy.


What i found is that the reason why such methods are not implemented is that Entity Framework Core (EF7) doesn't use proxies at all. So the added value for such methods (which creates a proxy for an entity) are gone. In my opinion the default constructor of an entity is the way to go.

See the discussion: https://github.com/aspnet/EntityFramework/issues/3797