Beispiel #1
0
        public async Task RollbackAsync()
        {
            if (originalObject != null)
            {
                if (this.Operation == OperationType.InsertOrUpdate)
                {
                    await engine.RollbackObjectAsync(originalObject, objInfo.SqoTypeInfo).ConfigureAwait(false);
                }
                else//delete
                {
                    await engine.RollbackDeletedObjectAsync(originalObject, objInfo.SqoTypeInfo).ConfigureAwait(false);
                }
            }

        }