Delen via


ForeignKeyComparer.Equals Method

Definition

Overloads

Equals(IForeignKey, IForeignKey)

Determines whether the specified objects are equal.

Equals(IReadOnlyForeignKey, IReadOnlyForeignKey)

Determines whether the specified objects are equal.

Equals(IForeignKey, IForeignKey)

Source:
ForeignKeyComparer.cs

Determines whether the specified objects are equal.

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

Parameters

x
IForeignKey

The first object to compare.

y
IForeignKey

The second object to compare.

Returns

true if the specified objects are equal; otherwise, false.

Implements

Applies to

Equals(IReadOnlyForeignKey, IReadOnlyForeignKey)

Source:
ForeignKeyComparer.cs
Source:
ForeignKeyComparer.cs
Source:
ForeignKeyComparer.cs
Source:
ForeignKeyComparer.cs

Determines whether the specified objects are equal.

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

Parameters

x
IReadOnlyForeignKey

The first object to compare.

y
IReadOnlyForeignKey

The second object to compare.

Returns

true if the specified objects are equal; otherwise, false.

Implements

Applies to