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.
If your elements are based upon templates and the categories are attached to the templates, not the elements, then this looks like an issue fixed in AF2.1 (WI4798).
Retrieving data ...