OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>.Ignore Yöntem

Tanım

Aşırı Yüklemeler

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

Verilen özelliği varlık türünden dışlar. Bu yöntem genellikle kural tarafından eklenmiş olan varlık türünden özellikleri veya gezinmeleri kaldırmak için kullanılır.

Ignore(String)

Verilen özelliği varlık türünden dışlar. Bu yöntem genellikle kural tarafından eklenmiş olan varlık türünden özellikleri veya gezinmeleri kaldırmak için kullanılır.

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

Verilen özelliği varlık türünden dışlar. Bu yöntem genellikle kural tarafından eklenmiş olan varlık türünden özellikleri veya gezinmeleri kaldırmak için kullanılır.

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)

Parametreler

propertyExpression
Expression<Func<TDependentEntity,Object>>

Yok sayılacak özelliği temsil eden bir lambda ifadesi (Blog = > Blog). URL).

Döndürülenler

OwnedNavigationBuilder<TEntity,TDependentEntity>
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Şunlara uygulanır

Ignore(String)

Verilen özelliği varlık türünden dışlar. Bu yöntem genellikle kural tarafından eklenmiş olan varlık türünden özellikleri veya gezinmeleri kaldırmak için kullanılır.

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)

Parametreler

propertyName
String

Varlık türünden kaldırılacak özelliğin adı.

Döndürülenler

OwnedNavigationBuilder<TEntity,TDependentEntity>
OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>

Şunlara uygulanır