Create an entity from multiple data sources via custom load? RRS feed

  • Question

  • I want to use all of the goodness of EF, but I have a need to create an entity from multiple data sources.  Also, the 2nd source may have more records than the first.

    I know there's no official way to do this, but I was hoping to interrupt/override the loading mechanism so as to allow data source A to be loaded regularly and then to load data source B and merge in the results, including calling the constructor for additional records.  On save, I just need to save to data srouce A.

    so, my question was, is there a single place I can do this?

    Appreciate the help.


    Friday, October 21, 2011 10:13 PM


All replies