Class SqlLoggingExtensions
This static class provides the logging extension methods for handling table-valued parameter (TVP) mapping.
Inheritance
System.Object
SqlLoggingExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea.Sql
Assembly: ArgentSea.Sql.dll
Syntax
public static class SqlLoggingExtensions
Methods
| Improve this Doc View SourceBuildTvpScope(ILogger, Type)
Declaration
public static IDisposable BuildTvpScope(this ILogger logger, Type model)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.ILogger | logger | |
System.Type | model |
Returns
Type | Description |
---|---|
System.IDisposable |
SqlTvpCacheHit(ILogger, Type)
Declaration
public static void SqlTvpCacheHit(this ILogger logger, Type modelT)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.ILogger | logger | |
System.Type | modelT |
SqlTvpCacheMiss(ILogger, Type)
Declaration
public static void SqlTvpCacheMiss(this ILogger logger, Type modelT)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.ILogger | logger | |
System.Type | modelT |
TraceTvpMapperProperty(ILogger, String)
Declaration
public static void TraceTvpMapperProperty(this ILogger logger, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Logging.ILogger | logger | |
System.String | propertyName |