hi,
lets say, I am using 2 method in my DB object layer.
one object named "OpenConnection". connection parameters are passed to it (ADO used here). The other method
Creates recordset named "CreateRecordset". Activeconnection is not passed to it instead, it uses connection object which was created earlier with the first mehtod (OpenConnection).
Is this technique is a violation of stateless. No property is created but the object in first method which is utilized by second method.
What do you think about it ????
Bye
miq
lets say, I am using 2 method in my DB object layer.
one object named "OpenConnection". connection parameters are passed to it (ADO used here). The other method
Creates recordset named "CreateRecordset". Activeconnection is not passed to it instead, it uses connection object which was created earlier with the first mehtod (OpenConnection).
Is this technique is a violation of stateless. No property is created but the object in first method which is utilized by second method.
What do you think about it ????
Bye
miq