I have a bunch of classifiers that will be used quite often. I will not preload these objects when my program starts, so I do not have to do this later when any object refers to them.
How can this be done in EF4?
There is a long walkthrough here:
Framework Cache Entity Framework Reference
But first a profile. Writing good forecasts can be faster than materializing entire objects with cached links. Even loading single reference objects is pretty fast. Do not “optimize” material that does not slow down.
Source: https://habr.com/ru/post/1762480/More articles:How to disable file hosting in IIS using C # code - c #How to clear bad OpenSSL connection - c ++Как подключить JMS-очереди от JBOSS 4 и 5? - jbossPHP Session Question - phpPHP: help formatting google charts (bar) - phpAdding doubling vectors of different sizes in C ++ - c ++Powershell vs. UNIX - unixShould I auto-record my database tables in code or pre-initialize during installation? - javaRails 3.0 ORM admin agnostic plugin - ruby-on-railsDeserialize JSON with built-in dictionary - jsonAll Articles