Share via


QueryTypeBuilder.Ignore(String) Method

Definition

Excludes the given property from the query type. This method is typically used to remove properties from the query type that were added by convention.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder Ignore (string propertyName);
abstract member Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder
override this.Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.QueryTypeBuilder
Public Overridable Function Ignore (propertyName As String) As QueryTypeBuilder

Parameters

propertyName
String

The name of then property to be removed from the query type.

Returns

Applies to