hello all,
This is probably fairly simple but i can't get it to work. I have a
database wrapper that i created to encapsulate the ado functionality. I
have 1 constructor that does not take any parameters and now i want to
create another constructor that takes an SqlTransaction as a parameter
and then i want it to call the first constructor to do the work that
needs to be done. How do i do this....
this is what i have so far
public ADODatabaseWrapper()
{
// get the connection string from the application settings
connectionString =
eSolutions.AssetManagement.ORMMappingProject.Prope rties.Settings.Default.DatabaseConnectionString;
}
public ADODatabaseWrapper(SqlTransaction transaction)
{
if(transaction != null)
{
this.transaction = transaction;
}
}
I think i have to do something like :this( pass in value) but how do i
pass my value in???
Thanks,
Erin