Skip to content

Sending multiple parameters of type string and int #150

Open
ianvink opened this Issue Jan 27, 2013 · 2 comments

2 participants

@ianvink
ianvink commented Jan 27, 2013

Monotouch (thanks for the wonderful ORM by the way!!!)

I am trying to send in multiple parameters, but the parameter that is a string is not being evaluated it appears:

var items = db.Query<NameListItem>
        (Select * from table where field=? and field2=?,"SomeString",123);

When I enable trace it correctly displays the query:

Select * from table where field=? and field2=?
0: SomeString
1: 123
@praeclarum
Owner

Strange. Can you show me the public properties of NameListItem?

@ianvink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.