Share via


DbContextId.Inequality(DbContextId, DbContextId) Operator

Definition

Compares one ID to another ID to see if they represent different leased contexts.

public static bool operator != (Microsoft.EntityFrameworkCore.DbContextId left, Microsoft.EntityFrameworkCore.DbContextId right);
static member op_Inequality : Microsoft.EntityFrameworkCore.DbContextId * Microsoft.EntityFrameworkCore.DbContextId -> bool
Public Shared Operator != (left As DbContextId, right As DbContextId) As Boolean

Parameters

left
DbContextId

The first ID.

right
DbContextId

The second ID.

Returns

true if they represent different leased contexts; false otherwise.

Applies to