共用方式為


EntityTypeFullNameComparer.Equals 方法

定義

多載

Equals(IEntityType, IEntityType)

判斷指定的物件是否相等。

Equals(IReadOnlyEntityType, IReadOnlyEntityType)

判斷指定的物件是否相等。

Equals(IEntityType, IEntityType)

判斷指定的物件是否相等。

public bool Equals (Microsoft.EntityFrameworkCore.Metadata.IEntityType x, Microsoft.EntityFrameworkCore.Metadata.IEntityType y);
override this.Equals : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> bool
Public Function Equals (x As IEntityType, y As IEntityType) As Boolean

參數

x
IEntityType

要比較的第一個物件。

y
IEntityType

要比較的第二個物件。

傳回

如果指定的物件相等則為 true,否則為 false

實作

適用於

Equals(IReadOnlyEntityType, IReadOnlyEntityType)

判斷指定的物件是否相等。

public bool Equals (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? x, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? y);
override this.Equals : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> bool
Public Function Equals (x As IReadOnlyEntityType, y As IReadOnlyEntityType) As Boolean

參數

x
IReadOnlyEntityType

要比較的第一個物件。

y
IReadOnlyEntityType

要比較的第二個物件。

傳回

如果指定的物件相等則為 true,否則為 false

實作

適用於