Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to create a datatable from the LINQ?
Message
De
18/08/2013 04:50:04
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01580581
Message ID:
01580716
Vues:
18
>>>I am going to try now this solution http://archive.msdn.microsoft.com/LinqEntityDataReader by MS employee David Browne.
>>
>>Like this:
    DataTable dt = new DataTable();
>>            dt.Load(resultingQuery.AsDataReader());
Interested to know if it works.....
>
>
>Yes, worked fine.

But the fact that such a rather simple idea needs a threat shows the not-rounded nature of LINQ even today.
Not only vfp would not hiccup there, but ANY disc based middle layer - in SQLite you could even steer the resulting new table to RAM or disc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform