GetMulti

Posts   
 
    
shekar
User
Posts: 327
Joined: 26-Mar-2010
# Posted on: 28-May-2012 07:44:15   

LLBLGEN 3.5 Framework 4.0 SQL Server 2005.

Title.GetMulti(TitleFilter);

I just need to know by bool function whether this returned data OR no data

Regards

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 28-May-2012 20:00:52   

I'll supose theat the collection was empty before the fetch. So all you have to do is:

var dataFetched = (Title.Count > 0);
shekar
User
Posts: 327
Joined: 26-Mar-2010
# Posted on: 29-May-2012 06:25:41   

Walaa wrote:

I'll supose theat the collection was empty before the fetch. So all you have to do is:

var dataFetched = (Title.Count > 0);

Thank you