Class DbParameterCollectionExtensions
- Namespace
- Microsoft.EntityFrameworkCore.Storage.Internal
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static class DbParameterCollectionExtensions
- Inheritance
-
DbParameterCollectionExtensions
- Inherited Members
Methods
FormatParameter(DbParameter, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static string FormatParameter(this DbParameter parameter, bool logParameterValues)
Parameters
parameter
DbParameterlogParameterValues
bool
Returns
FormatParameter(string, object, bool, ParameterDirection, DbType, bool, int, byte, byte)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static string FormatParameter(string name, object value, bool hasValue, ParameterDirection direction, DbType dbType, bool nullable, int size, byte precision, byte scale)
Parameters
name
stringvalue
objecthasValue
booldirection
ParameterDirectiondbType
DbTypenullable
boolsize
intprecision
bytescale
byte
Returns
FormatParameters(DbParameterCollection, bool)
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.
public static string FormatParameters(this DbParameterCollection parameters, bool logParameterValues)
Parameters
parameters
DbParameterCollectionlogParameterValues
bool