Dear all,
\
I have a question where I define a custom method on the domainservice with the invoke attribute.
I can call the method successfully from the client, but the problem is that the first call doesn't return the value, but in the second call it does .. funny isn't it ... what could be the reason.
This method is responsible of returning the maxID for an entity (id is generated by the application).
Method on the Domainservice:
The call to this from client through Dataservice class as follows:
LastID is a property on the Dataservice class, which is being used in the save function at the same class as follows:
it is an irrelevant question to telerik controls, but I am seeking help from professionals.
Appreciate your help indeed.
Regards
Waleed
By the way:
I tried to use the VQCV but I don't know how to get the Max id from the view here is the code:
The commented line gives converssion error !!