单项选择题

在使用ADO.NET编写连接到SQL Server 2005数据库的应用程序时,从提高性能角度考虑,应创建()类的对象,并调用其Open方法连接到数据库。

A.Connection
B.SqlConnection
C.OleDbConnection
D.OdbcConnection