This is the link to the MSDN using Statement documentation: http://msdn.microsoft.com/en-us/library/yh598w02.aspx This is how it's coded in DevExpress: using(UnitOfWork uow = new UnitOfWork()) { // Create, update or delete objects uow.CommitChanges(); } CommitChanges is used to update the database. If Visual COBOL doesn't support the using statement, maybe I could call the Dispose method, which I'll need to work out. Something like: invoke uow::Dispose as type IDisposable (please correct me if this is wrong)
↧