EntityMappingConfiguration<TEntityType>.Properties<TObject> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 매핑 조각에 포함될 속성을 구성합니다. 이 메서드가 호출되지 않으면 매핑 조각에 아직 포함되지 않은 모든 속성이 구성됩니다.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public void Properties<TObject> (System.Linq.Expressions.Expression<Func<TEntityType,TObject>> propertiesExpression);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]
public void Properties<TObject> (System.Linq.Expressions.Expression<Func<TEntityType,TObject>> propertiesExpression);
member this.Properties : System.Linq.Expressions.Expression<Func<'EntityType, 'Object>> -> unit
Public Sub Properties(Of TObject) (propertiesExpression As Expression(Of Func(Of TEntityType, TObject)))
형식 매개 변수
- TObject
매핑할 속성을 포함하는 익명 형식입니다.
매개 변수
- propertiesExpression
- Expression<Func<TEntityType,TObject>>
매핑할 속성을 포함하는 익명 형식에 대한 람다 식입니다. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New with { p.Id, t.Property1, t.Property2 }
- 특성
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Entity Framework