Hi,
When i pass sorter to EntityCollectionBase.GetMulti method i get an exception, i also
appropriate RelationCollection pass to it as well.
Incorrect syntax near the keyword 'ASC'
Sorter looks like :
**
int kodRegion = 5;
EntityField regionField = (EntityField)new EntityField();
regionField.ExpressionToApply = new Expression( (EntityField)
EntityFieldFactory.Create(LokalizaciaFieldIndex.KodRegion), ExOp.Equal, kodRegion);
SortExpression sorter = new SortExpression();
sorter.Add(regionField , SortOperator.Ascending));
**
Could you tell me what's wrong ?