SqlServerIndexBuilderExtensions.ForSqlServerInclude Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| ForSqlServerInclude(IndexBuilder, String[]) |
Kullanımdan kalktı.
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır. |
| ForSqlServerInclude(IConventionIndexBuilder, IReadOnlyList<String>, Boolean) |
Kullanımdan kalktı.
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır. |
| ForSqlServerInclude<TEntity>(IndexBuilder<TEntity>, Expression<Func<TEntity,Object>>) |
Kullanımdan kalktı.
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır. |
ForSqlServerInclude(IndexBuilder, String[])
Dikkat
Use IncludeProperties
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder ForSqlServerInclude (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, params string[] propertyNames);
[System.Obsolete("Use IncludeProperties")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder ForSqlServerInclude (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder indexBuilder, params string[] propertyNames);
static member ForSqlServerInclude : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * string[] -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
[<System.Obsolete("Use IncludeProperties")>]
static member ForSqlServerInclude : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder * string[] -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder
<Extension()>
Public Function ForSqlServerInclude (indexBuilder As IndexBuilder, ParamArray propertyNames As String()) As IndexBuilder
Parametreler
- indexBuilder
- IndexBuilder
Yapılandırılmakta olan dizin için Oluşturucu.
- propertyNames
- String[]
' İnclude ' yan tümcesinde kullanılacak özellik adları dizisi.
Döndürülenler
Dizini daha fazla yapılandırmak için bir Oluşturucu.
- Öznitelikler
Şunlara uygulanır
ForSqlServerInclude(IConventionIndexBuilder, IReadOnlyList<String>, Boolean)
Dikkat
Use IncludeProperties
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır.
[System.Obsolete("Use IncludeProperties")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder ForSqlServerInclude (this Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, System.Collections.Generic.IReadOnlyList<string> propertyNames, bool fromDataAnnotation = false);
[<System.Obsolete("Use IncludeProperties")>]
static member ForSqlServerInclude : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * System.Collections.Generic.IReadOnlyList<string> * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder
<Extension()>
Public Function ForSqlServerInclude (indexBuilder As IConventionIndexBuilder, propertyNames As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false) As IConventionIndexBuilder
Parametreler
- indexBuilder
- IConventionIndexBuilder
Yapılandırılmakta olan dizin için Oluşturucu.
- propertyNames
- IReadOnlyList<String>
' İnclude ' yan tümcesinde kullanılacak özellik adları dizisi.
- fromDataAnnotation
- Boolean
Yapılandırmanın bir veri ek açıklaması kullanılarak mı belirtilmediğini belirtir.
Döndürülenler
Yapılandırma uygulanmışsa aynı Oluşturucu örneği, aksi takdirde null .
- Öznitelikler
Şunlara uygulanır
ForSqlServerInclude<TEntity>(IndexBuilder<TEntity>, Expression<Func<TEntity,Object>>)
Dikkat
Use IncludeProperties
SQL Server hedeflenirken Dizin içerme özelliklerini yapılandırır.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> ForSqlServerInclude<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, System.Linq.Expressions.Expression<Func<TEntity,object>> includeExpression);
[System.Obsolete("Use IncludeProperties")]
public static Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> ForSqlServerInclude<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<TEntity> indexBuilder, System.Linq.Expressions.Expression<Func<TEntity,object>> includeExpression);
static member ForSqlServerInclude : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * System.Linq.Expressions.Expression<Func<'Entity, obj>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
[<System.Obsolete("Use IncludeProperties")>]
static member ForSqlServerInclude : Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity> * System.Linq.Expressions.Expression<Func<'Entity, obj>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.IndexBuilder<'Entity>
<Extension()>
Public Function ForSqlServerInclude(Of TEntity) (indexBuilder As IndexBuilder(Of TEntity), includeExpression As Expression(Of Func(Of TEntity, Object))) As IndexBuilder(Of TEntity)
Tür Parametreleri
- TEntity
Parametreler
- indexBuilder
- IndexBuilder<TEntity>
Yapılandırılmakta olan dizin için Oluşturucu.
- includeExpression
- Expression<Func<TEntity,Object>>
' İnclude ' yan tümcesine dahil edilecek Özellik (ler) i temsil eden bir lambda ifadesi (Blog = > Blog). URL).
Birden çok özellik dahil edilse, özellikler dahil olmak üzere anonim bir tür belirleyin (Post = > New {Post. Başlık, gönderi. BlogID}).
Döndürülenler
- IndexBuilder<TEntity>
Dizini daha fazla yapılandırmak için bir Oluşturucu.
- Öznitelikler