Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
31Activity
0 of .
Results for:
No results containing your search query
P. 1
MySQL, LINQ and the ADO NET Entity Framework

MySQL, LINQ and the ADO NET Entity Framework

Ratings:

4.6

(10)
|Views: 12,056 |Likes:
Published by Oleksiy Kovyrin

More info:

Published by: Oleksiy Kovyrin on Apr 18, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

04/14/2013

pdf

text

original

 
Presented by,MySQL & O’Reilly Media, Inc.
MySQL, LINQ and theADO.NET Entity Framework
Reggie Burnett, MySQLDavid Sceppa, Microsoft
 
Agenda
From DataSets to data access layers
Introducing LINQ
Using LINQ to access your data
The ADO.NET Entity Framework
Introducing ADO.NET Data Services
Summary
 
 Working with DataSets
Basic example
//Execute a query, retrieve and store the resultsconnectionString ="Data Source=localhost;User ID=...;";commandText ="SELECT CompanyName, City FROM Customers "+"WHERE Country = ?Country";adapter =new MySqlDataAdapter(commandText, connectionString); adapter.SelectCommand.Parameters.AddWithValue("?Country", "Brazil");table =newDataTable(); adapter.Fill(table);//Display the resultsDataGridViewresultsGrid =newDataGridView(); resultsGrid.DataSource = table;//Submit pending changescommandBuilder =new MySqlCommandBuilder(adapter); adapter.Update(table);

Activity (31)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Juan Jose liked this
adminsvth liked this
Kwaku Nyadu liked this
gauravs900 liked this
ntbngoc84 liked this
boskalfa liked this
Steve Sherbondy liked this
ravisachdeva liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->