T
Tim Brooks
All,
I'm working on a SQL Mobile app in VS2005 -- awesome product, too (as an
asided, I wish it were easier to get data into the sdf from the desktop as
we're not all planning on using rep/sync [but I was able to put together a
nice little DTS package to suck and pump my data from SQLServer to
SDF]...but I digress).
Looks as though strongly typed datasetsets are supported but my concern is,
using the built in xsd editor, that if I try to add input parameters (if
even possible) in the tool generated code that the tool will overwrite
anything I change. But conversely, I can't figured out how to make the
editor accept an input parameter; it only seems to allow parameterless
queries.
Am I missing something? Is it doable? Any example code someone could point
me to that would show me how? Of course, I'm doing all this rather than
just using an untyped 'database.cs' type object approach because my
understanding is my database access would perform better using a strongly
typed approach. Or is the standard SQLCE2.0 sort of data access (e.g. just
hand build everything to use either concatenated SQL strings....or even use
command objects with parameters outside the tool) still the only route?
Basically, I want to use the power of the tool but not sacrifice parameters.
I'm sure it supports it but there seems to be zero documentation on this
topic, yet......
thanks and I hope my question makes sense,
tim
I'm working on a SQL Mobile app in VS2005 -- awesome product, too (as an
asided, I wish it were easier to get data into the sdf from the desktop as
we're not all planning on using rep/sync [but I was able to put together a
nice little DTS package to suck and pump my data from SQLServer to
SDF]...but I digress).
Looks as though strongly typed datasetsets are supported but my concern is,
using the built in xsd editor, that if I try to add input parameters (if
even possible) in the tool generated code that the tool will overwrite
anything I change. But conversely, I can't figured out how to make the
editor accept an input parameter; it only seems to allow parameterless
queries.
Am I missing something? Is it doable? Any example code someone could point
me to that would show me how? Of course, I'm doing all this rather than
just using an untyped 'database.cs' type object approach because my
understanding is my database access would perform better using a strongly
typed approach. Or is the standard SQLCE2.0 sort of data access (e.g. just
hand build everything to use either concatenated SQL strings....or even use
command objects with parameters outside the tool) still the only route?
Basically, I want to use the power of the tool but not sacrifice parameters.
I'm sure it supports it but there seems to be zero documentation on this
topic, yet......
thanks and I hope my question makes sense,
tim