DbSkipExpression.Count Property

 

Gets or sets an expression that specifies the number of elements to skip from the input collection.

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public DbExpression Count { get; }

Property Value

Type: System.Data.Common.CommandTrees.DbExpression

An expression that specifies the number of elements to skip from the input collection.

Exception Condition
ArgumentNullException

The expression is null.

ArgumentException

The expression is not associated with the command tree of the DbSkipExpression; the expression is not either a DbConstantExpression or a DbParameterReferenceExpression;

or the result type of the expression is not equal or promotable to a 64-bit integer type.

.NET Framework
Available since 3.5
Return to top
Show: