I have a database table that can contain many records, and I would like to calculate the current amount in the table. I was going to make simple:
DataContext.Table.Count(c => c.condition);
Until I realized that the return type for Count is int . What if the table should contain more values ββthan can be represented in 32 bits? How can I count them?
Should I count them differently when we talk about such a scale?
c # linq-to-sql
Martin
source share