The SelectToStore<> method has been deprecated in SnapDevelop 2.0. We used this extensively in v1.0. What is the replacement for this this? How should our code be modified?
We used this to get values from SELECT statements like so:
var result = _dataContext.SqlExecutor.SelectToStore<DynamicModel>(sql, as_param1);
Thanks, Tom
as_type = result.GetValue<string>(0, "srv_type");
It doesn't like the row index indicator anymore. Is it no longer possible to do this with GetValue?
E.g.:
var result = _dataContext.SqlExecutor.SelectToStore<DynamicModel>(sql, as_param1);
as_type = result[0].GetValue<string>( "srv_type");