public void Edit_instanceServ(NaveNodrizaOid p_thisNaveNodrizaArg) { // Create new context using (ONServiceContext lOnContext = new ONServiceContext(OnContext)) { // Change to Transactional OnContext Instance.OnContext = lOnContext; // Call Executive NaveNodrizaExecutive lExecutive = new NaveNodrizaExecutive(); lExecutive.OnContext = lOnContext; lExecutive.Instance = Instance; lExecutive.Edit_instanceServ(p_thisNaveNodrizaArg); // Change to Non-Transactional OnContext Instance.OnContext = OnContext; } }