ProfiledDbProviderFactory
Wrapper for a db provider factory to enable profiling
Assembly: ServiceStack.NetFramework.dll
View Source
Declaration
public class ProfiledDbProviderFactory : ProfiledProviderFactory
Inherited Properties
CanCreateDataSourceEnumerator
proxy
View Source
Declaration
public override bool CanCreateDataSourceEnumerator { get; }
Profiler
View Source
Declaration
protected IDbProfiler Profiler { get; }
WrappedFactory
View Source
Declaration
protected DbProviderFactory WrappedFactory { get; }
Fields
Instance
Every provider factory must have an Instance public field
View Source
Declaration
public static ProfiledDbProviderFactory Instance
Methods
CreateCommand()
proxy
View Source
Declaration
public override DbCommand CreateCommand()
Returns
System.Data.Common.DbCommand
CreateConnection()
proxy
View Source
Declaration
public override DbConnection CreateConnection()
Returns
System.Data.Common.DbConnection
Inherited Methods
CreateCommand()
proxy
View Source
Declaration
public override DbCommand CreateCommand()
Returns
System.Data.Common.DbCommand
CreateCommandBuilder()
proxy
View Source
Declaration
public override DbCommandBuilder CreateCommandBuilder()
Returns
System.Data.Common.DbCommandBuilder
CreateConnection()
proxy
View Source
Declaration
public override DbConnection CreateConnection()
Returns
System.Data.Common.DbConnection
CreateConnectionStringBuilder()
proxy
View Source
Declaration
public override DbConnectionStringBuilder CreateConnectionStringBuilder()
Returns
System.Data.Common.DbConnectionStringBuilder
CreateDataAdapter()
proxy
View Source
Declaration
public override DbDataAdapter CreateDataAdapter()
Returns
System.Data.Common.DbDataAdapter
CreateDataSourceEnumerator()
proxy
View Source
Declaration
public override DbDataSourceEnumerator CreateDataSourceEnumerator()
Returns
System.Data.Common.DbDataSourceEnumerator
CreateParameter()
proxy
View Source
Declaration
public override DbParameter CreateParameter()
Returns
System.Data.Common.DbParameter
CreatePermission(PermissionState)
proxy
View Source
Declaration
public override CodeAccessPermission CreatePermission(PermissionState state)
Returns
System.Security.CodeAccessPermission
Parameters
Type | Name |
---|---|
System.Security.Permissions.PermissionState | state |
InitProfiledDbProviderFactory(IDbProfiler, DbProviderFactory)
Allow to re-init the provider factory.
View Source
Declaration
public void InitProfiledDbProviderFactory(IDbProfiler profiler, DbProviderFactory wrappedFactory)
Parameters
Type | Name |
---|---|
ServiceStack.MiniProfiler.Data.IDbProfiler | profiler |
System.Data.Common.DbProviderFactory | wrappedFactory |