次の方法で共有


EntityTypeFullNameComparer.Compare メソッド

定義

オーバーロード

Compare(IEntityType, IEntityType)

2 つのオブジェクトを比較して、一方が他方より小さいか、同じか、または大きいかを示す値を返します。

Compare(IReadOnlyEntityType, IReadOnlyEntityType)

2 つのオブジェクトを比較して、一方が他方より小さいか、同じか、または大きいかを示す値を返します。

Compare(IEntityType, IEntityType)

2 つのオブジェクトを比較して、一方が他方より小さいか、同じか、または大きいかを示す値を返します。

public int Compare (Microsoft.EntityFrameworkCore.Metadata.IEntityType x, Microsoft.EntityFrameworkCore.Metadata.IEntityType y);
abstract member Compare : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> int
override this.Compare : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> int
Public Function Compare (x As IEntityType, y As IEntityType) As Integer

パラメーター

x
IEntityType

比較する最初のオブジェクト。

y
IEntityType

比較する 2 番目のオブジェクト。

戻り値

'x' が 'y' より小さい場合は負の数。'x' が 'y' より大きい場合は正の数。それ以外の場合は 0。

実装

適用対象

Compare(IReadOnlyEntityType, IReadOnlyEntityType)

2 つのオブジェクトを比較して、一方が他方より小さいか、同じか、または大きいかを示す値を返します。

public int Compare (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? x, Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType? y);
abstract member Compare : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> int
override this.Compare : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> int
Public Function Compare (x As IReadOnlyEntityType, y As IReadOnlyEntityType) As Integer

パラメーター

x
IReadOnlyEntityType

比較する最初のオブジェクト。

y
IReadOnlyEntityType

比較する 2 番目のオブジェクト。

戻り値

'x' が 'y' より小さい場合は負の数。'x' が 'y' より大きい場合は正の数。それ以外の場合は 0。

実装

適用対象