ColumnModificationParameters Constructors
Definition
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.
Overloads
ColumnModificationParameters(IUpdateEntry, IProperty, IColumn, Func<String>, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean)
Creates a new ColumnModificationParameters instance.
public ColumnModificationParameters (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IColumn column, Func<string> generateParameterName, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping, bool valueIsRead, bool valueIsWrite, bool columnIsKey, bool columnIsCondition, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IColumn * Func<string> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters
Public Sub New (entry As IUpdateEntry, property As IProperty, column As IColumn, generateParameterName As Func(Of String), typeMapping As RelationalTypeMapping, valueIsRead As Boolean, valueIsWrite As Boolean, columnIsKey As Boolean, columnIsCondition As Boolean, sensitiveLoggingEnabled As Boolean)
Parameters
- entry
- IUpdateEntry
The IUpdateEntry that represents the entity that is being modified.
- property
- IProperty
The property that maps to the column.
- column
- IColumn
The column to be modified.
- typeMapping
- RelationalTypeMapping
The relational type mapping to be used for the command parameter.
- valueIsRead
- Boolean
Indicates whether a value must be read from the database for the column.
- valueIsWrite
- Boolean
Indicates whether a value must be written to the database for the column.
- columnIsKey
- Boolean
Indicates whether the column part of a primary or alternate key.
- columnIsCondition
- Boolean
Indicates whether the column is used in the WHERE
clause when updating.
- sensitiveLoggingEnabled
- Boolean
Indicates whether potentially sensitive data (e.g. database values) can be logged.
Applies to
ColumnModificationParameters(IUpdateEntry, IProperty, IColumnBase, Func<String>, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean)
Creates a new ColumnModificationParameters instance.
public ColumnModificationParameters (Microsoft.EntityFrameworkCore.Update.IUpdateEntry? entry, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, Microsoft.EntityFrameworkCore.Metadata.IColumnBase column, Func<string> generateParameterName, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping, bool valueIsRead, bool valueIsWrite, bool columnIsKey, bool columnIsCondition, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IColumnBase * Func<string> * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters
Public Sub New (entry As IUpdateEntry, property As IProperty, column As IColumnBase, generateParameterName As Func(Of String), typeMapping As RelationalTypeMapping, valueIsRead As Boolean, valueIsWrite As Boolean, columnIsKey As Boolean, columnIsCondition As Boolean, sensitiveLoggingEnabled As Boolean)
Parameters
- entry
- IUpdateEntry
The IUpdateEntry that represents the entity that is being modified.
- property
- IProperty
The property that maps to the column.
- column
- IColumnBase
The column to be modified.
- typeMapping
- RelationalTypeMapping
The relational type mapping to be used for the command parameter.
- valueIsRead
- Boolean
Indicates whether a value must be read from the database for the column.
- valueIsWrite
- Boolean
Indicates whether a value must be written to the database for the column.
- columnIsKey
- Boolean
Indicates whether the column part of a primary or alternate key.
- columnIsCondition
- Boolean
Indicates whether the column is used in the WHERE
clause when updating.
- sensitiveLoggingEnabled
- Boolean
Indicates whether potentially sensitive data (e.g. database values) can be logged.
Applies to
ColumnModificationParameters(IColumn, Object, Object, IProperty, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>)
Creates a new ColumnModificationParameters instance.
public ColumnModificationParameters (Microsoft.EntityFrameworkCore.Metadata.IColumn column, object? originalValue, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool read, bool write, bool key, bool condition, bool sensitiveLoggingEnabled, bool? isNullable = default);
new Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters : Microsoft.EntityFrameworkCore.Metadata.IColumn * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool * Nullable<bool> -> Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters
Public Sub New (column As IColumn, originalValue As Object, value As Object, property As IProperty, typeMapping As RelationalTypeMapping, read As Boolean, write As Boolean, key As Boolean, condition As Boolean, sensitiveLoggingEnabled As Boolean, Optional isNullable As Nullable(Of Boolean) = Nothing)
Parameters
- column
- IColumn
The column.
- originalValue
- Object
The original value of the property mapped to this column.
- value
- Object
The current value of the property mapped to this column.
- property
- IProperty
The property that maps to the column.
- typeMapping
- RelationalTypeMapping
The relational type mapping to be used for the command parameter.
- read
- Boolean
Indicates whether a value must be read from the database for the column.
- write
- Boolean
Indicates whether a value must be written to the database for the column.
- key
- Boolean
Indicates whether the column part of a primary or alternate key.
- condition
- Boolean
Indicates whether the column is used in the WHERE
clause when updating.
- sensitiveLoggingEnabled
- Boolean
Indicates whether potentially sensitive data (e.g. database values) can be logged.
Applies to
ColumnModificationParameters(String, Object, IProperty, String, RelationalTypeMapping, String, Boolean, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>)
Creates a new ColumnModificationParameters instance specific for updating objects mapped to JSON column.
public ColumnModificationParameters (string columnName, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, string? columnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, string jsonPath, bool read, bool write, bool key, bool condition, bool sensitiveLoggingEnabled, bool? isNullable = default);
new Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters : string * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * string * bool * bool * bool * bool * bool * Nullable<bool> -> Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters
Public Sub New (columnName As String, value As Object, property As IProperty, columnType As String, typeMapping As RelationalTypeMapping, jsonPath As String, read As Boolean, write As Boolean, key As Boolean, condition As Boolean, sensitiveLoggingEnabled As Boolean, Optional isNullable As Nullable(Of Boolean) = Nothing)
Parameters
- columnName
- String
The name of the JSON column.
- value
- Object
The current value of the JSON element located at the given JSON path.
- property
- IProperty
In case of JSON column single scalar property modification, the scalar property that is being modified, null otherwise.
- columnType
- String
The database type of the JSON column.
- typeMapping
- RelationalTypeMapping
The relational type mapping to be used for the command parameter.
- jsonPath
- String
The JSON path leading to the JSON element that needs to be updated.
- read
- Boolean
Indicates whether a value must be read from the database for the column.
- write
- Boolean
Indicates whether a value must be written to the database for the column.
- key
- Boolean
Indicates whether the column part of a primary or alternate key.
- condition
- Boolean
Indicates whether the column is used in the WHERE
clause when updating.
- sensitiveLoggingEnabled
- Boolean
Indicates whether potentially sensitive data (e.g. database values) can be logged.
Applies to
ColumnModificationParameters(String, Object, Object, IProperty, String, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>)
Creates a new ColumnModificationParameters instance.
public ColumnModificationParameters (string columnName, object? originalValue, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, string? columnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool read, bool write, bool key, bool condition, bool sensitiveLoggingEnabled, bool? isNullable = default);
new Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool * Nullable<bool> -> Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters
Public Sub New (columnName As String, originalValue As Object, value As Object, property As IProperty, columnType As String, typeMapping As RelationalTypeMapping, read As Boolean, write As Boolean, key As Boolean, condition As Boolean, sensitiveLoggingEnabled As Boolean, Optional isNullable As Nullable(Of Boolean) = Nothing)
Parameters
- columnName
- String
The name of the column.
- originalValue
- Object
The original value of the property mapped to this column.
- value
- Object
The current value of the property mapped to this column.
- property
- IProperty
The property that maps to the column.
- columnType
- String
The database type of the column.
- typeMapping
- RelationalTypeMapping
The relational type mapping to be used for the command parameter.
- read
- Boolean
Indicates whether a value must be read from the database for the column.
- write
- Boolean
Indicates whether a value must be written to the database for the column.
- key
- Boolean
Indicates whether the column part of a primary or alternate key.
- condition
- Boolean
Indicates whether the column is used in the WHERE
clause when updating.
- sensitiveLoggingEnabled
- Boolean
Indicates whether potentially sensitive data (e.g. database values) can be logged.
Applies to
Entity Framework