AFAttribute.FindAttributes not returning attributes in specified category

Discussion created by Armadillo on Apr 16, 2009
Latest reply on Apr 17, 2009 by pcombellick

I am getting all atrributes regardless of their categories when I specifically passed attribute category and performance is too slow.

AttributeList list = 
    AFAttribute.FindElementAttributes(db, element, null, null, null
        AFElementType.Any, null, category, TypeCode.Object, true,
        AFSortField.ID, AFSortOrder.Ascending, int.MaxValue);

What is the corresponding SQL statement for above?


BTW, how many simultaneous connections does AF2 allow? I am having some with multi thread.