EntityMappingConfiguration<TEntityType>.Properties<TObject> Yöntem

Tanım

Bu eşleme parçasına dahil edilecek özellikleri yapılandırıyor. Bu yöntem çağrılmazsa, henüz bir eşleme parçasına dahil edilmeyen tüm özellikler yapılandırılır.

[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)))

Tür Parametreleri

TObject

Eşlenecek özellikleri içeren anonim bir tür.

Parametreler

propertiesExpression
Expression<Func<TEntityType,TObject>>

Eşlenecek özellikleri içeren anonim bir türe lambda ifadesi. C#: t => new { t.Id, t.Property1, t.Property2 } VB.Net: Function(t) New With { p.Id, t.Property1, t.Property2 }

Öznitelikler

Şunlara uygulanır