IMutableTypeBase.AddComplexProperty Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddComplexProperty(String, Boolean) |
Aggiunge una proprietà complessa a questo tipo. |
AddComplexProperty(MemberInfo, String, Boolean) |
Aggiunge una proprietà complessa a questo tipo. |
AddComplexProperty(String, Type, Type, String, Boolean) |
Aggiunge una proprietà complessa a questo tipo. |
AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean) |
Aggiunge una proprietà complessa a questo tipo. |
AddComplexProperty(String, Boolean)
Aggiunge una proprietà complessa a questo tipo.
public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, bool collection = false);
abstract member AddComplexProperty : string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, Optional collection As Boolean = false) As IMutableComplexProperty
Parametri
- name
- String
Nome della proprietà da aggiungere.
- collection
- Boolean
Indica se la proprietà rappresenta una raccolta.
Restituisce
Proprietà appena creata.
Si applica a
AddComplexProperty(MemberInfo, String, Boolean)
Aggiunge una proprietà complessa a questo tipo.
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Currently used only in tests")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (System.Reflection.MemberInfo memberInfo, string? complexTypeName = default, bool collection = false);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Currently used only in tests")>]
abstract member AddComplexProperty : System.Reflection.MemberInfo * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.AddComplexProperty : System.Reflection.MemberInfo * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function AddComplexProperty (memberInfo As MemberInfo, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty
Parametri
- memberInfo
- MemberInfo
Membro corrispondente della classe .
- complexTypeName
- String
Nome del tipo complesso.
- collection
- Boolean
Indica se la proprietà rappresenta una raccolta.
Restituisce
Proprietà appena creata.
- Attributi
Si applica a
AddComplexProperty(String, Type, Type, String, Boolean)
Aggiunge una proprietà complessa a questo tipo.
public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, Type propertyType, Type complexType, string? complexTypeName = default, bool collection = false);
abstract member AddComplexProperty : string * Type * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, propertyType As Type, complexType As Type, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty
Parametri
- name
- String
Nome della proprietà da aggiungere.
- propertyType
- Type
Tipo della proprietà.
- complexType
- Type
Il tipo di valore che la proprietà conterrà.
- complexTypeName
- String
Nome del tipo complesso.
- collection
- Boolean
Indica se la proprietà rappresenta una raccolta.
Restituisce
Proprietà appena creata.
Si applica a
AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean)
Aggiunge una proprietà complessa a questo tipo.
public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, Type propertyType, System.Reflection.MemberInfo memberInfo, Type complexType, string? complexTypeName = default, bool collection = false);
abstract member AddComplexProperty : string * Type * System.Reflection.MemberInfo * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, propertyType As Type, memberInfo As MemberInfo, complexType As Type, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty
Parametri
- name
- String
Nome della proprietà da aggiungere.
- propertyType
- Type
Tipo della proprietà.
- memberInfo
- MemberInfo
Membro del tipo CLR corrispondente.
È possibile usare un indicizzatore con un parametro e Object un String tipo restituito.
- complexType
- Type
Il tipo di valore che la proprietà conterrà.
- complexTypeName
- String
Nome del tipo complesso.
- collection
- Boolean
Indica se la proprietà rappresenta una raccolta.
Restituisce
Proprietà appena creata.
Si applica a
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per