TypeMappingInfo Konstruktory
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
TypeMappingInfo(IProperty)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (property As IProperty)
Parametry
- property
- IProperty
Vlastnost, pro kterou je potřeba mapování.
Platí pro
TypeMappingInfo(IReadOnlyList<IProperty>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty))
Parametry
- principals
- IReadOnlyList<IProperty>
Hlavní řetězec vlastností pro vlastnost, pro kterou je potřeba mapování.
Platí pro
TypeMappingInfo(MemberInfo)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo)
Parametry
- member
- MemberInfo
Vlastnost nebo pole, pro které je potřeba mapování.
Platí pro
TypeMappingInfo(Type)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (Type type);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (type As Type)
Parametry
- type
- Type
Typ CLR v modelu, pro který je potřeba mapování.
Platí pro
TypeMappingInfo(IElementType, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Metadata.IElementType elementType, bool? fallbackUnicode = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Metadata.IElementType * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (elementType As IElementType, Optional fallbackUnicode 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)
Parametry
- elementType
- IElementType
Element kolekce pro vlastnost, pro kterou je potřeba mapování.
Určuje velikost mapování pro případ, že se nenajde na úrovni jádra nebo null
pro výchozí.
Určuje přesnost mapování v případě, že se nenajde na úrovni jádra nebo null
výchozí hodnoty.
Určuje měřítko mapování pro případ, že se nějaké nenachází na úrovni jádra nebo null
pro výchozí úroveň.
Platí pro
TypeMappingInfo(IReadOnlyList<IProperty>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> principals, bool? fallbackUnicode = default, int? fallbackSize = default, int? fallbackPrecision = default, int? fallbackScale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (principals As IReadOnlyList(Of IProperty), Optional fallbackUnicode 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)
Parametry
- principals
- IReadOnlyList<IProperty>
Hlavní řetězec vlastností pro vlastnost, pro kterou je potřeba mapování.
Určuje velikost mapování pro případ, že se nenajde na úrovni jádra nebo null
ve výchozím nastavení.
Určuje přesnost mapování pro případ, že se nějaké nenajde na úrovni jádra nebo null
jako výchozí.
Určuje měřítko mapování pro případ, že se nějaké nenachází na úrovni jádra nebo null
jako výchozí.
Platí pro
TypeMappingInfo(MemberInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo, 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)
Parametry
- member
- MemberInfo
Vlastnost nebo pole, pro které je potřeba mapování.
Platí pro
TypeMappingInfo(TypeMappingInfo, ValueConverterInfo, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci s TypeMappingInfo daným ValueConverterInfoobjektem .
public TypeMappingInfo (Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo source, Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo converter, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo * Microsoft.EntityFrameworkCore.Storage.ValueConversion.ValueConverterInfo * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (source As TypeMappingInfo, converter As ValueConverterInfo, 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)
Parametry
- source
- TypeMappingInfo
Informace o zdroji
- converter
- ValueConverterInfo
Převaděč, který chcete použít.
Platí pro
TypeMappingInfo(MemberInfo, CoreTypeMapping, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (System.Reflection.MemberInfo member, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? elementTypeMapping = default, bool? unicode = default, int? size = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * Nullable<bool> * Nullable<int> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (member As MemberInfo, Optional elementTypeMapping As CoreTypeMapping = 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)
Parametry
- member
- MemberInfo
Vlastnost nebo pole, pro které je potřeba mapování.
- elementTypeMapping
- CoreTypeMapping
Mapování typu pro elementy, pokud jsou známé.
Platí pro
TypeMappingInfo(Type, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (Type type, bool keyOrIndex, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
public TypeMappingInfo (Type type = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
public TypeMappingInfo (Type? type = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (type As Type, keyOrIndex As Boolean, Optional unicode As Nullable(Of Boolean) = Nothing, Optional size As Nullable(Of Integer) = Nothing, Optional rowVersion As Nullable(Of Boolean) = Nothing, Optional precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Public Sub New (Optional type As Type = 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 precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parametry
- type
- Type
Typ CLR v modelu, pro který je potřeba mapování.
- keyOrIndex
- Boolean
Pokud true
, může se vrátit speciální mapování pro klíč nebo index.
Platí pro
TypeMappingInfo(Type, CoreTypeMapping, Boolean, Nullable<Boolean>, Nullable<Int32>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>)
Vytvoří novou instanci položky TypeMappingInfo.
public TypeMappingInfo (Type? type = default, Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? elementTypeMapping = default, bool keyOrIndex = false, bool? unicode = default, int? size = default, bool? rowVersion = default, int? precision = default, int? scale = default);
new Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo : Type * Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping * bool * Nullable<bool> * Nullable<int> * Nullable<bool> * Nullable<int> * Nullable<int> -> Microsoft.EntityFrameworkCore.Storage.TypeMappingInfo
Public Sub New (Optional type As Type = Nothing, Optional elementTypeMapping As CoreTypeMapping = 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 precision As Nullable(Of Integer) = Nothing, Optional scale As Nullable(Of Integer) = Nothing)
Parametry
- type
- Type
Typ CLR v modelu, pro který je potřeba mapování.
- elementTypeMapping
- CoreTypeMapping
Mapování typu pro elementy, pokud jsou známé.
- keyOrIndex
- Boolean
Pokud true
, může se vrátit speciální mapování pro klíč nebo index.
Platí pro
Entity Framework
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro