Condividi tramite


OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>.Ignore Metodo

Definizione

Overload

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

Esclude la proprietà specificata dal tipo di entità. Questo metodo viene in genere usato per rimuovere proprietà o spostamenti dal tipo di entità di proprietà aggiunto dalla convenzione.

Ignore(String)

Esclude la proprietà specificata dal tipo di entità. Questo metodo viene in genere usato per rimuovere proprietà o spostamenti dal tipo di entità di proprietà aggiunto dalla convenzione.

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

Esclude la proprietà specificata dal tipo di entità. Questo metodo viene in genere usato per rimuovere proprietà o spostamenti dal tipo di entità di proprietà aggiunto dalla convenzione.

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)

Parametri

propertyExpression
Expression<Func<TDependentEntity,Object>>

Espressione lambda che rappresenta la proprietà da ignorare (blog => blog.Url).

Restituisce

OwnedNavigationBuilder<TEntity,TDependentEntity>

Si applica a

Ignore(String)

Esclude la proprietà specificata dal tipo di entità. Questo metodo viene in genere usato per rimuovere proprietà o spostamenti dal tipo di entità di proprietà aggiunto dalla convenzione.

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)

Parametri

propertyName
String

Nome della proprietà da rimuovere dal tipo di entità.

Restituisce

OwnedNavigationBuilder<TEntity,TDependentEntity>

Si applica a