DeleteCommand="BEGIN TRANSACTION
UPDATE [Equipment] SET [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE Equipment.ID = @ID
UPDATE [CustomerImages] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [CustomerImages].[ImageId] = @ID
UPDATE [Radactive_ILoad_Images] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [Radactive_ILoad_Images].[ImageId] = @ID
UPDATE [Radactive_ILoad_Indexes] Set [IsLockedOut] = 'True', [LastLockOutDate] = GetDate() WHERE [Radactive_ILoad_Indexes].[ImageId] = @ID
COMMIT TRANSACTION"
|