Which programming language are you using ? You could likely use Reflection
in C# or CallByName in VB.NET (I tried this later method once) to
dynamically call the appropriate member on the DataContext.
I understand you may have some reasons for this design but I'm not a big fan
of those "select by table name instead of using a where clause" design and
it could be likely a subject of its own...
Finally you'll find a LINQ specific forum at :
http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=123&SiteID=1
--
Patrice
"Joey" <joey....@topscene.com> a écrit dans le message de groupe de
discussion :
220288e6-a8c6-4964...@k37g2000hsf.googlegroups.com...
-- bruce (sqlwork.com)