1

Topic: EF 6, cold start

The first reversal to EF occupies a lot of time. Whether there is a possibility artificially to force EF to make everything, what it there does at start that application did not spend for this time at the first actual request?

2

Re: EF 6, cold start

Hello, Vladek, you wrote: V> the First reversal to EF occupies a lot of time. Whether there is a possibility artificially to force EF to make everything, what it there does at start that application did not spend for this time at the first actual request? See Database. SetInitializer (...) And context. Database. Initialize (...)... <<RSDN@Home 1.0.0 alpha 5 rev. 0>>

3

Re: EF 6, cold start

Hello, Vladek, you wrote: V> the First reversal to EF occupies a lot of time. Whether there is a possibility artificially to force EF to make everything, what it there does at start that application did not spend for this time at the first actual request? Except migrations and other, the connection to basis (and in the following times it will undertake from a pool) can occupy pair of seconds

4

Re: EF 6, cold start

Hello, Sshur, you wrote: S> Except migrations and other, pair of seconds the connection to basis (and in the following times it will undertake from a pool) can occupy the Connection - my case. How at once to push a connection in a pool?

5

Re: EF 6, cold start

V> How at once to push a connection in a pool?  in advance. For example the basis version consider and compare with demanded for operation

6

Re: EF 6, cold start

Hello, And here in the first versions EF which possibility to generate certain  which differently were generated in  Database First, was. How with it now?

7

Re: EF 6, cold start

Hello, Arsen. Shnurkov, you wrote: V>> How at once to push a connection in a pool? AS>  in advance. For example the basis version consider and compare with demanded for operation That for the version? The server version  or migrations? Migrations anyway in an application operating time do not happen, only during time . It is possible a code sample?

8

Re: EF 6, cold start

Hello, Vladek, you wrote: AS>>  in advance. For example the basis version consider and compare with demanded for operation V> That for the version? Yes any value from a DB approaches. Easier not to load both application and a DB request should be as much as possible simple and return a minimum of the data.

9

Re: EF 6, cold start

Hello, Vladek, you wrote: V> That for the version? The server version  or migrations? Migrations anyway in an application operating time do not happen, only during time . It is possible a code sample? Whether but there is a check the circuit if it is specified changed.

10

Re: EF 6, cold start

Hello, Vladek, you wrote: V> That for the version? The server version  or migrations? Migrations anyway in an application operating time do not happen, only during time . It is possible a code sample? If automatic migrations are included - they will check the circuit at each connection