LINQ与FoxPro?LINQ、FoxPro

2023-09-03 16:38:27 作者:喃喃自语

有没有一种合理的方式来访问使用LINQ的FoxPro数据库?

Is there a reasonable way to access FoxPro databases using LINQ?

推荐答案

一个祝福/ .NET的诅咒是,答案是很少不任何.NET编程问题。

One the blessing/curses of .NET is that the answer is rarely "no" to any .NET programming question.

例如,这个家伙(感谢谢尔盖和拉里)显示了一种方法来访问的FoxPro型的DB与LINQ:的 http://blogs.msdn.com/calvin_hsia/archive/2007/11/30/6620133.aspx

For example, this guy (thanks Sergey and Larry) shows a way to access FoxPro-type DBs with LINQ: http://blogs.msdn.com/calvin_hsia/archive/2007/11/30/6620133.aspx

一个更好的问题可能是,不是你能,但如果你!?

A better question is probably, not can you, but should you!?

如果你坚持这样的选择,实体框架可能是一个更好的地方去寻找: http://msdn.microsoft.com/en-us/库/ aa697427(VS.80)的.aspx

If you insist on such an option, the Entity Framework is probably a better place to look: http://msdn.microsoft.com/en-us/library/aa697427(VS.80).aspx

 
精彩推荐
图片推荐