IMutableTypeBase.AddComplexProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
AddComplexProperty(String, Boolean) |
이 형식에 복합 속성을 추가합니다. |
AddComplexProperty(MemberInfo, String, Boolean) |
이 형식에 복합 속성을 추가합니다. |
AddComplexProperty(String, Type, Type, String, Boolean) |
이 형식에 복합 속성을 추가합니다. |
AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean) |
이 형식에 복합 속성을 추가합니다. |
AddComplexProperty(String, Boolean)
이 형식에 복합 속성을 추가합니다.
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
매개 변수
- name
- String
추가할 속성의 이름입니다.
- collection
- Boolean
속성이 컬렉션을 나타내는지 여부를 나타냅니다.
반환
새로 만든 속성입니다.
적용 대상
AddComplexProperty(MemberInfo, String, Boolean)
이 형식에 복합 속성을 추가합니다.
[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
매개 변수
- memberInfo
- MemberInfo
클래스의 해당 멤버입니다.
- complexTypeName
- String
복합 형식의 이름입니다.
- collection
- Boolean
속성이 컬렉션을 나타내는지 여부를 나타냅니다.
반환
새로 만든 속성입니다.
- 특성
적용 대상
AddComplexProperty(String, Type, Type, String, Boolean)
이 형식에 복합 속성을 추가합니다.
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
매개 변수
- name
- String
추가할 속성의 이름입니다.
- propertyType
- Type
속성 형식입니다.
- complexType
- Type
속성이 보유할 값의 형식입니다.
- complexTypeName
- String
복합 형식의 이름입니다.
- collection
- Boolean
속성이 컬렉션을 나타내는지 여부를 나타냅니다.
반환
새로 만든 속성입니다.
적용 대상
AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean)
이 형식에 복합 속성을 추가합니다.
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
매개 변수
- name
- String
추가할 속성의 이름입니다.
- propertyType
- Type
속성 형식입니다.
- complexType
- Type
속성이 보유할 값의 형식입니다.
- complexTypeName
- String
복합 형식의 이름입니다.
- collection
- Boolean
속성이 컬렉션을 나타내는지 여부를 나타냅니다.
반환
새로 만든 속성입니다.
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Entity Framework
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기