Take the following code:
protected DataSet RunProcedure(string storedProcName, IDataParameter[] parameters, DataSet dataSet, string tableName )
{
// fill code
.....
return dataSet;
}
When the "dataSet" object is returned, what exactly gets returned.....a copy of the dataSet object or the reference to the dataSet object that was passed via the method?
Thanks.
protected DataSet RunProcedure(string storedProcName, IDataParameter[] parameters, DataSet dataSet, string tableName )
{
// fill code
.....
return dataSet;
}
When the "dataSet" object is returned, what exactly gets returned.....a copy of the dataSet object or the reference to the dataSet object that was passed via the method?
Thanks.