Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. Preloading Data outside of DataLoadOptions

Preloading Data outside of DataLoadOptions

Scheduled Pinned Locked Moved LINQ
databasecsharplinqperformancehelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RB Emphasys
    wrote on last edited by
    #1

    Hello All, I have a module i'm working on that runs hundreds of individual rules over and over against a set of data. The issue i'm coming up against, is that although each linq query that loads each individual rules data only takes 30 or 40 milliseconds, once you multiply that by a few hundred, things start getting unrulely. I thought of using dataload options, but each rule has it's own detailed linq query on this set of data that excludes dataload options from benefiting me. What i'm really looking for is a way to load all of the data into a in-memory temp db, run my linq queries against that db, and then lastly push the data back when the rules have completed. I know that I can use a dataset and run queries against that, but I was curious if there was a slick way to do it with the datacontext outside of a dataset. Any suggestion would be greatly appreciated, Ryan

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups