DbExpressionBuilder.Distinct(DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbDistinctExpression that removes duplicates from the given set argument.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbDistinctExpression ^ Distinct(System::Data::Common::CommandTrees::DbExpression ^ argument);
public static System.Data.Common.CommandTrees.DbDistinctExpression Distinct (this System.Data.Common.CommandTrees.DbExpression argument);
static member Distinct : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbDistinctExpression
<Extension()>
Public Function Distinct (argument As DbExpression) As DbDistinctExpression
Parameters
- argument
- DbExpression
An expression that defines the set over which to perform the distinct operation.
Returns
A new DbDistinctExpression that represents the distinct operation applied to the specified set argument.
Exceptions
argument
is null.
argument
does not have a collection result type.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.