SqlClientFactory Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a set of methods for creating instances of the Microsoft.Data.SqlClient provider's implementation of the data source classes.
public ref class SqlClientFactory sealed : System::Data::Common::DbProviderFactory, IServiceProvider
public ref class SqlClientFactory sealed : System::Data::Common::DbProviderFactory
public sealed class SqlClientFactory : System.Data.Common.DbProviderFactory, IServiceProvider
public sealed class SqlClientFactory : System.Data.Common.DbProviderFactory
type SqlClientFactory = class
inherit DbProviderFactory
interface IServiceProvider
type SqlClientFactory = class
inherit DbProviderFactory
Public NotInheritable Class SqlClientFactory
Inherits DbProviderFactory
Implements IServiceProvider
Public NotInheritable Class SqlClientFactory
Inherits DbProviderFactory
- Inheritance
-
SqlClientFactory
- Implements
Instance |
Gets an instance of the SqlClientFactory . This can be used to retrieve strongly typed data objects. |
Can |
Gets a value that indicates whether a DbBatch can be created. |
Can |
Gets a value that indicates whether a SqlDataSourceEnumerator can be created. |
Create |
Returns a strongly typed DbBatch instance. |
Create |
Returns a strongly typed DbBatchCommand instance. |
Create |
Returns a strongly typed DbCommand instance. |
Create |
Returns a strongly typed DbCommandBuilder instance. |
Create |
Returns a strongly typed DbConnection instance. |
Create |
Returns a strongly typed DbConnectionStringBuilder instance. |
Create |
Returns a strongly typed DbDataAdapter instance. |
Create |
Returns a new SqlDataSourceEnumerator . |
Create |
Returns a strongly typed DbParameter instance. |
Create |
Returns a new CodeAccessPermission . |
IService |
Extension mechanism for additional services; currently the only service supported is the DbProviderServices |
Toode | Versioonid |
---|---|
SqlClient .NET Core | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Framework | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |
SqlClient .NET Standard | 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2 |