You may have used the following code to access a database: 1 leaving connections open, reading wrongly-typed database column parameters, etc). While this technique provided a lower level of approach to database interactivity from C#, it was also more prone to error (ie. NET web applications involved handling database connections, SQLConnection and SqlCommand objects, and working with data readers. Prior to LINQ, working with databases from C# ASP. This article describes how to use LINQ to SQL with a MySQL database in C# ASP. Since LINQ is a leap forward for developers accessing databases, it’s important to be able to use LINQ with other popular database formats as well. Tranditionally, LINQ to SQL is compatible with SQL Server databases and does not easily support other database formats. LINQ to SQL builds upon LINQ technology to allow working with business objects, generated from the database tables. LINQ is one of the most popular Microsoft technologies for reading and writing to SQL Server databases.
0 Comments
Leave a Reply. |