Sdílet prostřednictvím


DbExpressionBuilder.NotEqual(DbExpression, DbExpression) Metoda

Definice

Vytvoří nový DbComparisonExpression , který porovná levé a pravé argumenty nerovnosti.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbComparisonExpression ^ NotEqual(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbComparisonExpression NotEqual (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member NotEqual : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbComparisonExpression
<Extension()>
Public Function NotEqual (left As DbExpression, right As DbExpression) As DbComparisonExpression

Parametry

left
DbExpression

Výraz, který určuje levý argument.

right
DbExpression

Výraz, který určuje správný argument.

Návraty

Nový DbComparisonExpression představující porovnání nerovnosti.

Výjimky

left nebo right má hodnotu null.

Mezi a neexistuje žádný společný typ výsledků srovnatelný s rovnostíleft.right

Platí pro