Aggregate Function-Count

Posts   
 
    
tisho
User
Posts: 2
Joined: 28-Aug-2007
# Posted on: 28-Aug-2007 10:04:45   

How i can make something like this: select count(*) from myTable

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 28-Aug-2007 10:22:48   

Check the GetScalar() method in the LLBLGen Pro reference manual. Use an AggregateFunction.CountRow for the aggregateToApply parameter.

Also please check the LLBLgen Pro manuals section "Using the generated code -> Field expressions and aggregates"