Hi,friends
Ordinarily we set a MTS object's transaction property by using MTS explorer.Here what i want to know is that whether or not i can set it in component's method.For example i have a MTS component named Proj.DO which has two method:get_data,set_data.
The get_data only fetches records from SQL server and the set_data insert/update records to SQL server.In get_data it doesnot need transaction,in set_data it requires transaction.How can i do it?
Any suggestions are appreciated!
zallen@cmmail.com
Long live of freedom!
Ordinarily we set a MTS object's transaction property by using MTS explorer.Here what i want to know is that whether or not i can set it in component's method.For example i have a MTS component named Proj.DO which has two method:get_data,set_data.
The get_data only fetches records from SQL server and the set_data insert/update records to SQL server.In get_data it doesnot need transaction,in set_data it requires transaction.How can i do it?
Any suggestions are appreciated!
zallen@cmmail.com
Long live of freedom!