Six seconds warmup time for the first entity framework 6 nonquery

前端 未结 4 1684
夕颜
夕颜 2021-01-05 23:51

From my integration test:

// Act
Stopwatch w = new Stopwatch();
w.Start();
userService.Create(userDTO);
w.Stop();


public void Create(UserDTO userDTO)
{
            


        
4条回答
  •  鱼传尺愫
    2021-01-06 00:20

    Try EF6 CodeFirst View Generation T4 Template for C#. Pre-generated views improve application start-up time by moving the work that would have to be done at runtime to design time. more info

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题