IQueryTypeConfiguration<TQuery> 인터페이스

정의

주의

Use IEntityTypeConfiguration<TEntity> instead

쿼리 형식에 대한 구성을 의 인라인이 아닌 별도의 클래스로 계산할 수 있습니다 OnModelCreating(ModelBuilder). 이 인터페이스를 구현하고 메서드에서 쿼리에 대한 구성을 Configure(QueryTypeBuilder<TQuery>) 적용한 다음 에서 를 사용하여 ApplyConfiguration<TQuery>(IQueryTypeConfiguration<TQuery>)OnModelCreating(ModelBuilder)모델에 구성을 적용합니다.

public interface IQueryTypeConfiguration<TQuery> where TQuery : class
[System.Obsolete("Use IEntityTypeConfiguration<TEntity> instead")]
public interface IQueryTypeConfiguration<TQuery> where TQuery : class
type IQueryTypeConfiguration<'Query (requires 'Query : null)> = interface
[<System.Obsolete("Use IEntityTypeConfiguration<TEntity> instead")>]
type IQueryTypeConfiguration<'Query (requires 'Query : null)> = interface
Public Interface IQueryTypeConfiguration(Of TQuery)

형식 매개 변수

TQuery

구성할 쿼리 형식입니다.

특성

메서드

Configure(QueryTypeBuilder<TQuery>)
사용되지 않음.

형식 TQuery의 쿼리를 구성합니다.

적용 대상