This topic has not yet been rated - Rate this topic

SqlDatabase Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents a SQL Server database.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Sql
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
[DatabaseAssemblerAttribute(typeof(SqlDatabaseAssembler))]
[SqlClientPermissionAttribute(SecurityAction.Demand)]
public class SqlDatabase : Database

Internally uses SQL Server .NET Managed Provider from Microsoft (System.Data.SqlClient) to connect to the database.

SystemObject
  Microsoft.Practices.EnterpriseLibrary.DataDatabase
    Microsoft.Practices.EnterpriseLibrary.Data.SqlSqlDatabase
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Did you find this helpful?
(1500 characters remaining)