问题描述
LINQ to SQL 和 ADO.net 有什么区别?
What's the difference between LINQ to SQL and ADO.net ?
推荐答案
ADO.NET 是 .NET Framework(很像 Java 中的 JDBC)的底层数据访问 API.自 .NET 第一次发布以来,它就已经存在了.
ADO.NET is the underlying data access API for .NET Framework (much like JDBC in Java). It's been around since the first release of .NET.
LINQ to SQL 是一个建立在 ADO.NET 和新语言功能之上的数据访问框架,使 SQL Server 数据以面向对象的编程风格本机可用.
LINQ to SQL is a data access framework built on ADO.NET and new language features that makes SQL Server data available natively in the object oriented style of programming.