CqlQueryExtensionsDeleteIfTSource Method |
Returns a representation of a DELETE ... IF ... cql statement, for Lightweight Transactions support
Namespace:
Dse.Data.Linq
Assembly:
Dse (in Dse.dll) Version: 2.9.0
Syntax public static CqlConditionalCommand<TSource> DeleteIf<TSource>(
this CqlQuery<TSource> source,
Expression<Func<TSource, bool>> predicate
)
Parameters
- source
- Type: Dse.Data.LinqCqlQueryTSource
- predicate
- Type: System.Linq.ExpressionsExpressionFuncTSource, Boolean
Type Parameters
- TSource
Return Value
Type:
CqlConditionalCommandTSourceUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CqlQueryTSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also