Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing and updating VFP Free Tables from C#
Message
De
29/09/2009 06:59:02
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
25/09/2009 07:47:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01425844
Message ID:
01426610
Vues:
57
Using EF, I think one spends less time on data access and has more time to spend on the logic; I think the logic is also simpler; e.g. little or no typed / untyped datasets or custom entities versus EF generated entities ...

Including Oracle, I think there is now also a MySQL EF provider available. It only gets better.

>>Bite the bullet.
>>
>>With VFP free tables (and only 12 of them):
>>
>>1) Create a new SQL server database and import the free tables using the OLE DB provider (< 1 hour).
>>2) Generate an Entity Data Model (Entity Framework EDM) from the database using edmgen.exe in order to generate strongly typed data objects ( < 1 hour)
>>3) Configure a new project to use the new EDM and starting coding … (using LINQ to Entities for data access)
>>
>>I see no advantage to the 2 stage approach.
>>
>>>Hi
>>>A client has a fairly complex VFP app (I wrote it) that needs to be converted to C# in two stages:
>>>1- convert the GUI and business logic to C#, leaving the data in VFP free tables
>>>2- convert the VFP free tables to SQL-Server
>>>
>>>There are about a dozen tables involved. fewer than 100 transactions per day, but each transaction looks at every table several times, using indexing.
>>>25000 records in the largest table..
>>>What is the best way to access and update the VFP tables from C#, VS2008?
>
>In which of those hours you would implement the complex business logic he mentioned:)
>Cetin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform