What version of the framework are you using. If you're using SqlHelper I'm
assuing you're using the 1.0 or 1.1 framework correct?
The decision on a standard for your DAL and other data access truly depends
on how you want to design your business objects or data container objects
that your filling with the data from the stored procedure. SqlHelper is great
if you want a fast way to implement ADO.NET to fill custom class instances,
however if you want to use strongly typed datasets from XSD, SqlHelper is not
the best or most flexible way to fill and manage those datasets when it comes
to persistence and referential integrity.
If you're simply executing a stored procedure on the fly with no concern on
retriving data for business logic or do not have a business layer (and are
not using complex forms of databinding), then by all means SqlHelper is a
pretty quick way to get the job done with little overhead.
"John F" wrote:
Hello All,
What is the consensus on using sqlhelper or not using sqlhelper when calling
stored procedures?
We're trying to go with a standard for our projects and personally I prefer
not using sqlhelper, but some here do. I'm just curious if there are any
good arguments for or against it...
Thanks,
John