473,715 Members | 6,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can I use LINQ to get to a VFP table?

cj
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've
seen demos of it with SQL Server but they've used it with a server
browser and I don't think that'd work when I need to see VFP tables.
Jan 2 '08 #1
4 2159
Linq to SQL is only for SQL server.

Linq to DataSet is for others, however that is not direct to retrieve the
dataset.

http://msdn2.microsoft.com/en-us/library/bb386977.aspx

Cor

"cj" <cj@nospam.nosp amschreef in bericht
news:O2******** ******@TK2MSFTN GP02.phx.gbl...
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've seen
demos of it with SQL Server but they've used it with a server browser and
I don't think that'd work when I need to see VFP tables.
Jan 2 '08 #2
cj
Thanks. Linq to DataSet doesn't sound very helpful to me. It sounds as
if I'd have to load all the data I might be needing into datasets then
be able to query them vial Linq. I need to do queries, both reading and
writing, to these tables while our business system continue to work with
the data as well. This will be a real time portal into our system for
customers to inquire about account balances and set up accounts. I
can't load every customers information into data sets on the off chance
they'll submit an inquiry for their balance. I guess Linq will not be
of much help to me since I'm forced to pull most data from VFP tables.
Am I misunderstandin g anything?

Cor Ligthert[MVP] wrote:
Linq to SQL is only for SQL server.

Linq to DataSet is for others, however that is not direct to retrieve
the dataset.

http://msdn2.microsoft.com/en-us/library/bb386977.aspx

Cor

"cj" <cj@nospam.nosp amschreef in bericht
news:O2******** ******@TK2MSFTN GP02.phx.gbl...
>Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've
seen demos of it with SQL Server but they've used it with a server
browser and I don't think that'd work when I need to see VFP tables.
Jan 2 '08 #3
Hi Cj,

I'm afraid so far the built-in LINQ-SQL feature won't help much for Visual
Foxpro. There does exists some 3rd party community that are working on some
LINQ to other db projects:

#DbLinq Project: Linq Provider for MySql, Oracle and PostgreSQL
http://code2code.net/DB_Linq/

http://www.ayende.com/projects/scratch-pad.aspx

however, direct LINQ to VFP support is still uncertainty.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Date: Wed, 02 Jan 2008 13:31:42 -0500
From: cj <cj@nospam.nosp am>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Subject: Re: Can I use LINQ to get to a VFP table?
>
Thanks. Linq to DataSet doesn't sound very helpful to me. It sounds as
if I'd have to load all the data I might be needing into datasets then
be able to query them vial Linq. I need to do queries, both reading and
writing, to these tables while our business system continue to work with
the data as well. This will be a real time portal into our system for
customers to inquire about account balances and set up accounts. I
can't load every customers information into data sets on the off chance
they'll submit an inquiry for their balance. I guess Linq will not be
of much help to me since I'm forced to pull most data from VFP tables.
Am I misunderstandin g anything?

Cor Ligthert[MVP] wrote:
>Linq to SQL is only for SQL server.

Linq to DataSet is for others, however that is not direct to retrieve
the dataset.

http://msdn2.microsoft.com/en-us/library/bb386977.aspx

Cor

"cj" <cj@nospam.nosp amschreef in bericht
news:O2******* *******@TK2MSFT NGP02.phx.gbl.. .
>>Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've
seen demos of it with SQL Server but they've used it with a server
browser and I don't think that'd work when I need to see VFP tables.
Jan 3 '08 #4
cj
Thanks.

Steven Cheng[MSFT] wrote:
Hi Cj,

I'm afraid so far the built-in LINQ-SQL feature won't help much for Visual
Foxpro. There does exists some 3rd party community that are working on some
LINQ to other db projects:

#DbLinq Project: Linq Provider for MySql, Oracle and PostgreSQL
http://code2code.net/DB_Linq/

http://www.ayende.com/projects/scratch-pad.aspx

however, direct LINQ to VFP support is still uncertainty.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>Date: Wed, 02 Jan 2008 13:31:42 -0500
From: cj <cj@nospam.nosp am>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Subject: Re: Can I use LINQ to get to a VFP table?
>Thanks. Linq to DataSet doesn't sound very helpful to me. It sounds as
if I'd have to load all the data I might be needing into datasets then
be able to query them vial Linq. I need to do queries, both reading and
writing, to these tables while our business system continue to work with
the data as well. This will be a real time portal into our system for
customers to inquire about account balances and set up accounts. I
can't load every customers information into data sets on the off chance
they'll submit an inquiry for their balance. I guess Linq will not be
of much help to me since I'm forced to pull most data from VFP tables.
Am I misunderstandin g anything?

Cor Ligthert[MVP] wrote:
>>Linq to SQL is only for SQL server.

Linq to DataSet is for others, however that is not direct to retrieve
the dataset.

http://msdn2.microsoft.com/en-us/library/bb386977.aspx

Cor

"cj" <cj@nospam.nosp amschreef in bericht
news:O2****** ********@TK2MSF TNGP02.phx.gbl. ..
Can I use LINQ in VB .Net 2008 to get to a Visual FoxPro Table? I've
seen demos of it with SQL Server but they've used it with a server
browser and I don't think that'd work when I need to see VFP tables.
Jan 3 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3597
by: =?Utf-8?B?V2lsc29uIEMuSy4gTmc=?= | last post by:
Hi Experts, I am doing a prototype of providing data access (read, write & search) through Web Service. We observed that the data storing in SQL Server 2005, the memory size is always within 250MB. Our aim is to support ~50K concurrency users. After investigation, we are thinking to use In-memory database for achieving
2
2339
by: Andy B | last post by:
Hi... I have an sql server 2005 database that has a table called TestXml in it. The table has the columns ID (identity, int) and MyXml(xml). I created a stored proc on the server to insert a row into the table. It looks like this: create procedure InsertRow(@xmlDocument xml) as insert into TestXml values(@xmlDocument);
3
2900
by: Leo Seccia | last post by:
Hello everyone, I have a c# project with a sql server database. I have a number of lookup tables in my database which I successfully managed to import into my LINQ dataclasses. eg. Table: tlkpColor (PK) tlkpColorID
2
4807
by: Joey | last post by:
I am querying a DataSet with LINQ. I am running into a problem when trying to construct my query because in the "from" clause I do not know the table name (range variable) until runtime. Possible table names might include "SomeTable1" or "SomeTable236" etc... Unfortunately when I try to use something like "from SomeTable + MyChangingNumber.ToString() in..." in my from clause it does not work. How can I set this up to use a range variable...
2
4475
by: timor.super | last post by:
Hi group, In my database, I have a table with fields like this : id | title | xml ------------------------------------ 1 | title1 | <datas><data><item name="item1">value1</ item><item name="item2">value2</item></data></datas> ......
4
2185
by: =?Utf-8?B?RXJpYyBGYWxza2Vu?= | last post by:
We’re storing our main entity in an insert only table which stores the history of past revisions, but we’re facing problems with storing this history as LINQ will only update the entity, and not reinsert it with a different revision number. Compounding the issue, we’ve also got an associated table storing properties for our entities which is not revisioned, but we still want changes to the children of our entity (additions, changes...
21
4357
by: hrishy | last post by:
Hi Will LINQ be ported to Python ? regards Hrishy
3
12433
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
I'm attempting to use LINQ to insert a record into a child table and I'm receiving a "Specified cast is not valid" error that has something to do w/ the keys involved. The stack trace is: ====================== Message: Specified cast is not valid. Type: System.InvalidCastException Source: System.Data.Linq TargetSite: Boolean TryCreateKeyFromValues(System.Object, V ByRef)
0
8823
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9343
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9198
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9104
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7973
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2119
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.