none
why process take much time when using Entity Framework in c# winforms applicaiton? RRS feed

  • Question

  • why opening form process is take too much time when we use Entity Framework e.g we have a screen and for 4 comboBoxs that will be filled or load when form is open? i also have same problem it take too much time in Entity Framework not in ADO.net when we use manually all these things how we can resolve this issue or what we use for waiting before opening Form because it take some time, then after loading all comboboxs

    its happen when we use entity framework i don't know why this take too much time but when we use same process in ADO.net its work quickly 

    Kindly tell me about this 

    I shall be very thankful to you 

     
    Monday, July 24, 2017 5:36 PM

Answers

  • Hard to say without seeing how you are loading data via Entity Framework, personally have done most work in web apps with zero problems with speed yet have seen some projects where the data was not being loaded efficiently in windows form projects via Entity Framework.

    You might check out loading entities options

    https://msdn.microsoft.com/en-us/library/jj574232(v=vs.113).aspx


    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.
    VB Forums - moderator
    profile for Karen Payne on Stack Exchange, a network of free, community-driven Q&A sites

    • Marked as answer by sohail naseer Wednesday, July 26, 2017 3:46 PM
    Monday, July 24, 2017 5:46 PM

All replies