Intersoft Data Extensions for DevForce problem with newest DevForce 2010 v6.1.0

10 replies. Last post: May 20, 2011 11:15 PM by Jimmy Petrus
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Hi,

Our data extensions for DevForce EntityQueryExtensions located in assembly "Intersoft.Client.Data.Provider.DevForce.dll" not working correctly
with newest version of DevForce 2010 v6.1.0.

I'm trying use the data provider extension takes the QueryDescriptor as an input. Code is below:

public override void GetTotalItemCount(QueryDescriptor queryDescriptor, Action<int> onSuccess)
{
	var op = this.Manager.Users.Parse(queryDescriptor, false).AsScalarAsync().Count();
	op.Completed += (o, e) =>
	{
		if (onSuccess != null)
			onSuccess(e.Result);
	};
}

This code compiles correctly, but at runtime throws an exception:

System.MissingMethodException was unhandled by user code
  Message=Method not found: 'IdeaBlade.EntityModel.IEntityQuery`1<!!0> IdeaBlade.EntityModel.EntityQueryExtensions.OrderBySelector(IdeaBlade.EntityModel.IEntityQuery`1<!!0>, IdeaBlade.Core.IPropertySortSelector)'.
  StackTrace:
       w Intersoft.Client.Data.Provider.DevForce.EntityQueryExtensions.[TEntity](IEntityQuery`1 query, SortDescriptorCollection sortDescriptors)
       w Intersoft.Client.Data.Provider.DevForce.EntityQueryExtensions.Parse[TEntity](IEntityQuery`1 query, QueryDescriptor queryDescriptor, Boolean applyPageDescriptor)
       w S4MApp.ModelServices.UsersRepository.GetTotalItemCount(QueryDescriptor queryDescriptor, Action`1 onSuccess)
       w S4MApp.ViewModels.UsersViewModel.GetTotalItemCount()
       w S4MApp.ViewModels.UsersViewModel.OnQueryChanged(Object sender, EventArgs e)
       w Intersoft.Client.Data.ComponentModel.QueryDescriptor.?(Object sender, EventArgs e)
       w MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
       w MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)

When I downgrade DevForce to version 6.0.8 this code is working properly.
Hope this helps. Thank you.

Regards,
Krzysztof

All times are GMT -5. The time now is 3:48 PM.
Previous Next