Partager via


ColumnModification Constructeurs

Définition

Surcharges

ColumnModification(ColumnModificationParameters)

Crée une instance ColumnModification.

ColumnModification(String, Object, Object, IProperty, Boolean, Boolean, Boolean, Boolean)

Crée une instance ColumnModification.

ColumnModification(IUpdateEntry, IProperty, IRelationalPropertyAnnotations, Func<String>, Boolean, Boolean, Boolean, Boolean, Boolean)

Crée une instance ColumnModification.

ColumnModification(IUpdateEntry, IProperty, Func<String>, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Obsolète.
Obsolète.

Crée une instance ColumnModification.

ColumnModification(String, Object, Object, IProperty, Boolean, Boolean, Boolean, Boolean, Boolean)
Obsolète.
Obsolète.

Crée une instance ColumnModification.

ColumnModification(IUpdateEntry, IProperty, IColumn, Func<String>, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean)
Obsolète.

Crée une instance ColumnModification.

ColumnModification(String, Object, Object, IProperty, String, Boolean, Boolean, Boolean, Boolean, Boolean)
Obsolète.
Obsolète.

Crée une instance ColumnModification.

ColumnModification(String, Object, Object, IProperty, String, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>)
Obsolète.

Crée une instance ColumnModification.

ColumnModification(ColumnModificationParameters)

Crée une instance ColumnModification.

public ColumnModification (in Microsoft.EntityFrameworkCore.Update.ColumnModificationParameters columnModificationParameters);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : ColumnModificationParameters -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (ByRef columnModificationParameters As ColumnModificationParameters)

Paramètres

columnModificationParameters
ColumnModificationParameters

Paramètres de création.

S’applique à

ColumnModification(String, Object, Object, IProperty, Boolean, Boolean, Boolean, Boolean)

Crée une instance ColumnModification.

public ColumnModification (string columnName, object originalValue, object value, Microsoft.EntityFrameworkCore.Metadata.IProperty property, bool isRead, bool isWrite, bool isKey, bool isCondition);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (columnName As String, originalValue As Object, value As Object, property As IProperty, isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean)

Paramètres

columnName
String

Nom de la colonne.

originalValue
Object

Valeur d’origine de la propriété mappée à cette colonne.

value
Object

Obtient ou définit la valeur actuelle de la propriété mappée à cette colonne.

property
IProperty

Propriété mappée à la colonne.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire est ou non.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

S’applique à

ColumnModification(IUpdateEntry, IProperty, IRelationalPropertyAnnotations, Func<String>, Boolean, Boolean, Boolean, Boolean, Boolean)

Crée une instance ColumnModification.

public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations propertyAnnotations, Func<string> generateParameterName, bool isRead, bool isWrite, bool isKey, bool isCondition, bool isConcurrencyToken);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyAnnotations * Func<string> * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (entry As IUpdateEntry, property As IProperty, propertyAnnotations As IRelationalPropertyAnnotations, generateParameterName As Func(Of String), isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, isConcurrencyToken As Boolean)

Paramètres

entry
IUpdateEntry

IUpdateEntry qui représente l’entité en cours de modification.

property
IProperty

Propriété mappée à la colonne.

propertyAnnotations
IRelationalPropertyAnnotations

Fournit l’accès aux annotations relationnelles spécifiques pour la colonne.

generateParameterName
Func<String>

Délégué pour générer des noms de paramètres pour la mise à jour SQL.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire est ou non.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

isConcurrencyToken
Boolean

Indique si la colonne agit ou non comme un jeton d’accès concurrentiel optimiste.

S’applique à

ColumnModification(IUpdateEntry, IProperty, Func<String>, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)

Attention

Use the constructor with column

Attention

Use the constructor with columnModificationParameters

Crée une instance ColumnModification.

public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Func<string> generateParameterName, bool isRead, bool isWrite, bool isKey, bool isCondition, bool isConcurrencyToken, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with column")]
public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Func<string> generateParameterName, bool isRead, bool isWrite, bool isKey, bool isCondition, bool isConcurrencyToken, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with columnModificationParameters")]
public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Func<string> generateParameterName, bool isRead, bool isWrite, bool isKey, bool isCondition, bool isConcurrencyToken, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Func<string> * bool * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with column")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Func<string> * bool * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with columnModificationParameters")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : Microsoft.EntityFrameworkCore.Update.IUpdateEntry * Microsoft.EntityFrameworkCore.Metadata.IProperty * Func<string> * bool * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (entry As IUpdateEntry, property As IProperty, generateParameterName As Func(Of String), isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, isConcurrencyToken As Boolean, sensitiveLoggingEnabled As Boolean)

Paramètres

entry
IUpdateEntry

IUpdateEntry qui représente l’entité en cours de modification.

property
IProperty

Propriété mappée à la colonne.

generateParameterName
Func<String>

Délégué pour générer des noms de paramètres pour la mise à jour SQL.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

isConcurrencyToken
Boolean

Indique si la colonne agit comme un jeton d’accès concurrentiel optimiste.

sensitiveLoggingEnabled
Boolean

Indique si des données potentiellement sensibles (par exemple, des valeurs de base de données) peuvent être enregistrées.

Attributs

S’applique à

ColumnModification(String, Object, Object, IProperty, Boolean, Boolean, Boolean, Boolean, Boolean)

Attention

Use the constructor with columnType

Attention

Use the constructor with columnModificationParameters

Crée une instance ColumnModification.

public ColumnModification (string columnName, object originalValue, object value, Microsoft.EntityFrameworkCore.Metadata.IProperty property, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with columnType")]
public ColumnModification (string columnName, object originalValue, object value, Microsoft.EntityFrameworkCore.Metadata.IProperty property, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with columnModificationParameters")]
public ColumnModification (string columnName, object? originalValue, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with columnType")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with columnModificationParameters")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (columnName As String, originalValue As Object, value As Object, property As IProperty, isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, sensitiveLoggingEnabled As Boolean)

Paramètres

columnName
String

Nom de la colonne.

originalValue
Object

Valeur d’origine de la propriété mappée à cette colonne.

value
Object

Obtient ou définit la valeur actuelle de la propriété mappée à cette colonne.

property
IProperty

Propriété mappée à la colonne.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

sensitiveLoggingEnabled
Boolean

Indique si des données potentiellement sensibles (par exemple, des valeurs de base de données) peuvent être enregistrées.

Attributs

S’applique à

ColumnModification(IUpdateEntry, IProperty, IColumn, Func<String>, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean)

Attention

Use the constructor with columnModificationParameters

Crée une instance ColumnModification.

public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IColumn column, Func<string> generateParameterName, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with columnModificationParameters")]
public ColumnModification (Microsoft.EntityFrameworkCore.Update.IUpdateEntry entry, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.IColumn column, Func<string> generateParameterName, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : 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.ColumnModification
[<System.Obsolete("Use the constructor with columnModificationParameters")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : 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.ColumnModification
Public Sub New (entry As IUpdateEntry, property As IProperty, column As IColumn, generateParameterName As Func(Of String), typeMapping As RelationalTypeMapping, isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, sensitiveLoggingEnabled As Boolean)

Paramètres

entry
IUpdateEntry

IUpdateEntry qui représente l’entité en cours de modification.

property
IProperty

Propriété mappée à la colonne.

column
IColumn

Colonne à modifier.

generateParameterName
Func<String>

Délégué pour générer des noms de paramètres pour la mise à jour SQL.

typeMapping
RelationalTypeMapping

Mappage de type relationnel à utiliser pour le paramètre de commande.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

sensitiveLoggingEnabled
Boolean

Indique si des données potentiellement sensibles (par exemple, des valeurs de base de données) peuvent être enregistrées.

Attributs

S’applique à

ColumnModification(String, Object, Object, IProperty, String, Boolean, Boolean, Boolean, Boolean, Boolean)

Attention

Use the constructor with type mapping

Attention

Use the constructor with columnModificationParameters

Crée une instance ColumnModification.

[System.Obsolete("Use the constructor with type mapping")]
public ColumnModification (string columnName, object originalValue, object value, Microsoft.EntityFrameworkCore.Metadata.IProperty property, string columnType, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
[System.Obsolete("Use the constructor with columnModificationParameters")]
public ColumnModification (string columnName, object? originalValue, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, string? columnType, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled);
[<System.Obsolete("Use the constructor with type mapping")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with columnModificationParameters")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * bool * bool * bool * bool * bool -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (columnName As String, originalValue As Object, value As Object, property As IProperty, columnType As String, isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, sensitiveLoggingEnabled As Boolean)

Paramètres

columnName
String

Nom de la colonne.

originalValue
Object

Valeur d’origine de la propriété mappée à cette colonne.

value
Object

Obtient ou définit la valeur actuelle de la propriété mappée à cette colonne.

property
IProperty

Propriété mappée à la colonne.

columnType
String

Type de base de données de la colonne.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

sensitiveLoggingEnabled
Boolean

Indique si des données potentiellement sensibles (par exemple, des valeurs de base de données) peuvent être enregistrées.

Attributs

S’applique à

ColumnModification(String, Object, Object, IProperty, String, RelationalTypeMapping, Boolean, Boolean, Boolean, Boolean, Boolean, Nullable<Boolean>)

Attention

Use the constructor with columnModificationParameters

Crée une instance ColumnModification.

public ColumnModification (string columnName, object originalValue, object value, Microsoft.EntityFrameworkCore.Metadata.IProperty property, string columnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping typeMapping, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled, bool? isNullable = default);
[System.Obsolete("Use the constructor with columnModificationParameters")]
public ColumnModification (string columnName, object? originalValue, object? value, Microsoft.EntityFrameworkCore.Metadata.IProperty? property, string? columnType, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? typeMapping, bool isRead, bool isWrite, bool isKey, bool isCondition, bool sensitiveLoggingEnabled, bool? isNullable = default);
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool * Nullable<bool> -> Microsoft.EntityFrameworkCore.Update.ColumnModification
[<System.Obsolete("Use the constructor with columnModificationParameters")>]
new Microsoft.EntityFrameworkCore.Update.ColumnModification : string * obj * obj * Microsoft.EntityFrameworkCore.Metadata.IProperty * string * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * bool * bool * bool * bool * bool * Nullable<bool> -> Microsoft.EntityFrameworkCore.Update.ColumnModification
Public Sub New (columnName As String, originalValue As Object, value As Object, property As IProperty, columnType As String, typeMapping As RelationalTypeMapping, isRead As Boolean, isWrite As Boolean, isKey As Boolean, isCondition As Boolean, sensitiveLoggingEnabled As Boolean, Optional isNullable As Nullable(Of Boolean) = Nothing)

Paramètres

columnName
String

Nom de la colonne.

originalValue
Object

Valeur d’origine de la propriété mappée à cette colonne.

value
Object

Obtient ou définit la valeur actuelle de la propriété mappée à cette colonne.

property
IProperty

Propriété mappée à la colonne.

columnType
String

Type de base de données de la colonne.

typeMapping
RelationalTypeMapping

Mappage de type relationnel à utiliser pour le paramètre de commande.

isRead
Boolean

Indique si une valeur doit être lue à partir de la base de données pour la colonne.

isWrite
Boolean

Indique si une valeur doit être écrite dans la base de données pour la colonne.

isKey
Boolean

Indique si la partie colonne d’une clé primaire ou secondaire.

isCondition
Boolean

Indique si la colonne est utilisée dans la clause lors de la WHERE mise à jour.

sensitiveLoggingEnabled
Boolean

Indique si des données potentiellement sensibles (par exemple, des valeurs de base de données) peuvent être enregistrées.

isNullable
Nullable<Boolean>

Valeur indiquant si la valeur peut être null.

Attributs

S’applique à