Can I add a NON-DB table related POCO object? RRS feed

  • Question

  • I have a a EF Model contains a few objects. And I can expose those object set in my DataService.

    Now I would like to add a custom POCO object that is not from a Database table. Even this object is not a direct DB object, but it will use other objects in the EF model to populate. When I added this POCO object, and added new IQueryable function to the DataContext. This object is not exposed in the DataService as other objects in the EF model. I also tried to add it to the edmx as another entity. But since it is not mapped to any DB table, the Compiler just complains no mapping table to be found.

    Is this possible for what I'm trying to do?



    Friday, August 13, 2010 9:35 PM

All replies