Sdílet prostřednictvím


OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>.Ignore Metoda

Definice

Přetížení

Ignore(Expression<Func<TDependentEntity,Object>>)

Vyloučí danou vlastnost z typu entity. Tato metoda se obvykle používá k odebrání vlastností nebo navigace z vlastněného typu entity, které byly přidány podle konvence.

Ignore(String)

Vyloučí danou vlastnost z typu entity. Tato metoda se obvykle používá k odebrání vlastností nebo navigace z vlastněného typu entity, které byly přidány podle konvence.

Ignore(Expression<Func<TDependentEntity,Object>>)

Vyloučí danou vlastnost z typu entity. Tato metoda se obvykle používá k odebrání vlastností nebo navigace z vlastněného typu entity, které byly přidány podle konvence.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> Ignore (System.Linq.Expressions.Expression<Func<TDependentEntity,object>> propertyExpression);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> Ignore (System.Linq.Expressions.Expression<Func<TDependentEntity,object?>> propertyExpression);
override this.Ignore : System.Linq.Expressions.Expression<Func<'DependentEntity, obj>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
override this.Ignore : System.Linq.Expressions.Expression<Func<'DependentEntity, obj>> -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function Ignore (propertyExpression As Expression(Of Func(Of TDependentEntity, Object))) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)
Public Overridable Function Ignore (propertyExpression As Expression(Of Func(Of TDependentEntity, Object))) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry

propertyExpression
Expression<Func<TDependentEntity,Object>>

Výraz lambda představující vlastnost, která se má ignorovat (blog => blog.Url).

Návraty

OwnedNavigationBuilder<TEntity,TDependentEntity>

Platí pro

Ignore(String)

Vyloučí danou vlastnost z typu entity. Tato metoda se obvykle používá k odebrání vlastností nebo navigace z vlastněného typu entity, které byly přidány podle konvence.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TEntity,TDependentEntity> Ignore (string propertyName);
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity> Ignore (string propertyName);
override this.Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Entity, 'DependentEntity (requires 'Entity : null and 'DependentEntity : null)>
override this.Ignore : string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function Ignore (propertyName As String) As OwnedNavigationBuilder(Of TEntity, TDependentEntity)
Public Overridable Function Ignore (propertyName As String) As OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity)

Parametry

propertyName
String

Název vlastnosti, která se má odebrat z typu entity.

Návraty

OwnedNavigationBuilder<TEntity,TDependentEntity>

Platí pro