Windows Azure Parameters

Folks, Good Night! Can you halp me in this situation ? I search for two days, but I cant't find a way to do this ...

How can I pass parameters to read function in Windows Azure mobile service ?

In code bellow I call the read function , but I want pass Parm1 to manipulate in Windos Azure.

[itemTable readWhere:predicate completion:^(NSArray *items, NSInteger totalCount, NSError *error) {

I want in Windows Azure make something like this...

function read(query, user, request) {
var parm1 = query.parameters.Parm1;

request.execute();
}

Tks for help me.

Paulo

Answers


If you're doing a read, this can be accomplished by calling MSTable's readWithQueryString method. For example:

NSString *queryString = [NSString stringWithFormat:@"param1=%@", @"myparam"];

[self.myTable readWithQueryString:queryString completion:^...

and then in your server side scripts you would acces sit using request.parameters.param1.

Chris


Need Your Help

Rspec expanding upon basic user tests with user id

ruby-on-rails rspec

I am trying to build upon some existing tests but i am unsure how to approach the syntax i need. My user has diagnostic info which is much like a posts concept. I am trying to write a test for the ...

Convert DOS line endings to Linux line endings in vim

linux vim file editor dos2unix

If I open files I created in Windows, the lines all end with ^M.

Notify Registration to friends

algorithm search

I'm building a system where each user has some contacts (i.e. address book, basically his phone's addressbook).

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.