also.. I think the LINQ Query is easier to look at this way
var recordCount = (from c in qADCMainDatabase.terrain_t
where c.terrain_type_name == terrainType
where c.section_name == sectionName
where c.unit_type_name == unitTypeName
select c).Count();
Main Topics
Browse All Topics





by: CMYScottPosted on 2008-03-29 at 19:36:49ID: 21239313
var recordCount = (from c in qADCMainDatabase.terrain_t ype_vs_uni t_type_det ails.AsEnu merable()
where ((c.terrain_type_name == terrainType) &
(c.section_name == sectionName) &
(c.unit_type_name == unitTypeName))
select c).Count();