Saturday, 15 February 2014

c# - Mobile Services query exception -


When I use code with generic:

  varCertactable = Mobile service . GetTable & lt; TParent & gt; (); Var testid = Wait for the cacherestrial. Where (PRINT = & gt; P. IND ID == 20) .OolistSync ();   

Where TParent: iRenity

  Public Interface Irannati {Ent ID (Receive; Set;}}   

I get the exception:

'Mobile service query expression' convert 'is not supported in' Member 'ID .ID'.

But If I change the normal to type:

  var pertrabble = mobile service. GetTable & lt; Category & gt; (); var testid = Wait for the command-line where (print = & Gt; Pr. Ind. ED == 20) .OoliceSync ();   

Why do I have a general result? And how can I use general?

< Div class = "post-text" itemprop = "text">

Know that this is an old question but the answer is to tell you that this general type is also a class.

  Where T: Class, Marineette    

No comments:

Post a Comment