RelationalTypeMappingInfo Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
RelationalTypeMappingInfo(IProperty)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (property As IProperty)
Paramètres
- property
- IProperty
Propriété pour laquelle le mappage est nécessaire.
S’applique à
RelationalTypeMappingInfo(Type, RelationalTypeMapping, String, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<DbType>)
Crée une instance de TypeMappingInfo.
public RelationalTypeMappingInfo (Type? type = default, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? elementTypeMapping = default, string? storeTypeName = default, string? storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default, System.Data.DbType? dbType = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * string * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<System.Data.DbType> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (Optional type As Type = Nothing, Optional elementTypeMapping As RelationalTypeMapping = Nothing, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional keyOrIndex As Boolean = false, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing, Optional dbType As Nullable(Of DbType) = Nothing)
Paramètres
- type
- Type
Type CLR dans le modèle pour lequel le mappage est nécessaire.
- elementTypeMapping
- RelationalTypeMapping
Mappage de type pour les éléments, s’il est connu.
- storeTypeName
- String
Nom du type de base de données.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
- keyOrIndex
- Boolean
Si true
la valeur est , un mappage spécial pour une clé ou un index peut être retourné.
Spécifie un mappage de longueur fixe ou null
pour la valeur par défaut.
S’applique à
RelationalTypeMappingInfo(Type, String, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de TypeMappingInfo.
public RelationalTypeMappingInfo (Type type, string storeTypeName = default, string storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default);
public RelationalTypeMappingInfo (Type type, string? storeTypeName = default, string? storeTypeNameBase = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, bool? fixedLength = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * string * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional keyOrIndex As Boolean = false, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Paramètres
- type
- Type
Type CLR dans le modèle pour lequel le mappage est nécessaire.
- storeTypeName
- String
Nom du type de base de données.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
- keyOrIndex
- Boolean
Si true
la valeur est , un mappage spécial pour une clé ou un index peut être retourné.
Spécifie un mappage de longueur fixe ou null
pour la valeur par défaut.
S’applique à
RelationalTypeMappingInfo(Type, String, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de TypeMappingInfo.
public RelationalTypeMappingInfo (Type type, string storeTypeName, bool keyOrIndex, bool? unicode, int? size, bool? rowVersion, bool? fixedLength, int? precision, int? scale);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type * string * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type, storeTypeName As String, keyOrIndex As Boolean, unicode As Nullable(Of Boolean), size As Nullable(Of Integer), rowVersion As Nullable(Of Boolean), fixedLength As Nullable(Of Boolean), precision As Nullable(Of Integer), scale As Nullable(Of Integer))
Paramètres
- type
- Type
Type CLR dans le modèle pour lequel le mappage est nécessaire.
- storeTypeName
- String
Nom du type de base de données.
- keyOrIndex
- Boolean
Si true
la valeur est , un mappage spécial pour une clé ou un index peut être retourné.
Spécifie un mappage de longueur fixe ou null
pour la valeur par défaut.
S’applique à
RelationalTypeMappingInfo(IReadOnlyList<IProperty>, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string storeTypeName = default, string storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fallbackFixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fixedLength As Nullable(Of Boolean) = Nothing, Optional fallbackSize As Nullable(Of Integer) = Nothing, Optional fallbackPrecision As Nullable(Of Integer) = Nothing, Optional fallbackScale As Nullable(Of Integer) = Nothing)
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackFixedLength As Nullable(Of Boolean) = Nothing, Optional fallbackSize As Nullable(Of Integer) = Nothing, Optional fallbackPrecision As Nullable(Of Integer) = Nothing, Optional fallbackScale As Nullable(Of Integer) = Nothing)
Paramètres
- principals
- IReadOnlyList<IProperty>
Chaîne de propriétés principale pour la propriété pour laquelle le mappage est nécessaire.
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
Spécifie Unicode ou ANSI pour le mappage ou null
pour la valeur par défaut.
Spécifie un mappage de longueur fixe ou null
pour la valeur par défaut.
Spécifie une taille pour le mappage, au cas où il n’en existe pas au niveau du cœur, ou null
pour la valeur par défaut.
Spécifie une précision pour le mappage, au cas où il n’y en a pas au niveau du cœur, ou null
pour la valeur par défaut.
Spécifie une échelle pour le mappage, au cas où l’une d’elles n’est pas trouvée au niveau du cœur, ou null
pour la valeur par défaut.
S’applique à
RelationalTypeMappingInfo(MemberInfo, RelationalTypeMapping, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? elementTypeMapping = default, string? storeTypeName = default, string? storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo, Optional elementTypeMapping As RelationalTypeMapping = Nothing, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Paramètres
- member
- MemberInfo
Propriété ou champ pour lequel le mappage est nécessaire.
- elementTypeMapping
- RelationalTypeMapping
Mappage de type pour les éléments, s’il est connu.
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
S’applique à
RelationalTypeMappingInfo(MemberInfo, String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, string storeTypeName = default, string storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member, string? storeTypeName = default, string? storeTypeNameBase = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo * string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Paramètres
- member
- MemberInfo
Propriété ou champ pour lequel le mappage est nécessaire.
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
S’applique à
RelationalTypeMappingInfo(IElementType, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IElementType elementType, string? storeTypeName = default, string? storeTypeNameBase = default, bool? fallbackUnicode = default, bool? fallbackFixedLength = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IElementType * string * string * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (elementType As IElementType, Optional storeTypeName As String = Nothing, Optional storeTypeNameBase As String = Nothing, Optional fallbackUnicode As Nullable(Of Boolean) = Nothing, Optional fallbackFixedLength As Nullable(Of Boolean) = Nothing, Optional fallbackSize As Nullable(Of Integer) = Nothing, Optional fallbackPrecision As Nullable(Of Integer) = Nothing, Optional fallbackScale As Nullable(Of Integer) = Nothing)
Paramètres
- elementType
- IElementType
Élément de collection pour lequel le mappage est nécessaire.
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
Spécifie Unicode ou ANSI pour le mappage ou null
pour la valeur par défaut.
Spécifie un mappage de longueur fixe ou null
pour la valeur par défaut.
Spécifie une taille pour le mappage, au cas où il n’en existe pas au niveau du noyau, ou null
pour la valeur par défaut.
Spécifie une précision pour le mappage, au cas où il n’en existe pas au niveau du cœur, ou null
pour la valeur par défaut.
Spécifie une échelle pour le mappage, au cas où l’une d’elles n’est pas trouvée au niveau du noyau, ou null
pour la valeur par défaut.
S’applique à
RelationalTypeMappingInfo(RelationalTypeMappingInfo, ValueConverterInfo)
Crée une instance de RelationalTypeMappingInfo avec le donnéValueConverterInfo.
public RelationalTypeMappingInfo (in Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo source, in Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo converter);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : RelationalTypeMappingInfo * ValueConverterInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (ByRef source As RelationalTypeMappingInfo, ByRef converter As ValueConverterInfo)
Paramètres
- source
- RelationalTypeMappingInfo
Informations sources.
- converter
- ValueConverterInfo
Convertisseur à appliquer.
S’applique à
RelationalTypeMappingInfo(Type)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (Type type);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (type As Type)
Paramètres
- type
- Type
Type CLR dans le modèle pour lequel le mappage est nécessaire.
S’applique à
RelationalTypeMappingInfo(String)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (string storeTypeName);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : string -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (storeTypeName As String)
Paramètres
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
S’applique à
RelationalTypeMappingInfo(MemberInfo)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Reflection.MemberInfo member);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (member As MemberInfo)
Paramètres
- member
- MemberInfo
Propriété ou champ pour lequel le mappage est nécessaire.
S’applique à
RelationalTypeMappingInfo(IReadOnlyList<IProperty>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty))
Paramètres
- principals
- IReadOnlyList<IProperty>
Chaîne de propriétés principale pour la propriété pour laquelle le mappage est nécessaire.
S’applique à
RelationalTypeMappingInfo(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Crée une instance de RelationalTypeMappingInfo.
public RelationalTypeMappingInfo (string storeTypeName, string storeTypeNameBase, bool? unicode, int? size, int? precision, int? scale);
new Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo : string * string * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMappingInfo
Public Sub New (storeTypeName As String, storeTypeNameBase As String, unicode As Nullable(Of Boolean), size As Nullable(Of Integer), precision As Nullable(Of Integer), scale As Nullable(Of Integer))
Paramètres
- storeTypeName
- String
Nom de type relationnel spécifique au fournisseur pour lequel le mappage est nécessaire.
- storeTypeNameBase
- String
Nom du type relationnel spécifique au fournisseur, avec toutes les facettes supprimées.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour