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.