J
Jul
Hi,
I need to create copy (clone) the OracleConnection object.
The OracleConnection class does not contain "Clone" method for creating
copy.
It contains Protected MemberwiseClone
but if use this method:
conDB = CType(conValue.MemberwiseClone(), OracleConnection)
(it is an example from help)
the VS returns error: method is not accessible in this contest because it
is 'Protected'
How this method can be used or any another way to copy object?
Thanks
I need to create copy (clone) the OracleConnection object.
The OracleConnection class does not contain "Clone" method for creating
copy.
It contains Protected MemberwiseClone
but if use this method:
conDB = CType(conValue.MemberwiseClone(), OracleConnection)
(it is an example from help)
the VS returns error: method is not accessible in this contest because it
is 'Protected'
How this method can be used or any another way to copy object?
Thanks