4 thoughts on “EF Core Getting Started Pluralsight Course Trailer

  1. Saw you visit to Microsoft Visual Studio on Channel 9. Was wondering about your comment about turning off tracking for webapi/read only data – does this still apply to things that you do a “.tolist” – does “.tolist” generate tracking items?

    1. it applies to all linq query execution. By default any EF LINQ query that you execute (using one of the linq methods that triggers execution such as ToList, FirstOrDefault, etc) will cause EF to track the results. You can use notracking in the query itself to prevent the results of that query from getting tracked, or disable tracking at the context level (which is the new capability I spoke of). Hope that helps.

    1. The true definition of odata is the format which is a standard and I don’t think that’s going away (http://www.odata.org/blog/). However, I think you are probably referring to our ability to build odata services on top of EF …something I haven’t haven’t paid much attention to it lately. Lots of chatter about support for .net core here: https://github.com/odata/WebApi/issues. You should be able to build the Web APIs with EF Core 1.0 (supports .net 4.5+) but EF Core 2.0 depends on .net standard 2.0 which is only aligned with .NET 4.6.1+ so I really don’t know what’s going on. Sorry. Perhaps some of those links will help you discuss this with folks who know more?

Leave a Reply

Your email address will not be published. Required fields are marked *