Equivalent of EF Find Method and Local
Posted: Tue 07 Oct 2014 15:03
I am considering to buy the dotConnect for MySQL and am trying to convert an existing project to it in VS2013 with EF6.
I am currently using the EF method DbSet<TEntity>.Find to find objects in a table by primary key.
The definition can be found here:
Is there an equivalent in dotConnect for MySQL?
devart seems to be using System.Data.Entity.Core.Objects.ObjectSet for tables, whereas the default EF uses System.Data.Entity.DbSet
Given this difference, Is there an equivalent of the Local property that allows the code to bypass a trip to the DB?
Thanks
I am currently using the EF method DbSet<TEntity>.Find to find objects in a table by primary key.
The definition can be found here:
Is there an equivalent in dotConnect for MySQL?
devart seems to be using System.Data.Entity.Core.Objects.ObjectSet for tables, whereas the default EF uses System.Data.Entity.DbSet
Given this difference, Is there an equivalent of the Local property that allows the code to bypass a trip to the DB?
Thanks