Home Rollback a row Undelete a row

From .NET code

Use DataInterface.RollbackRow or DataInterface.RollbackRows, as demonstrated in the following code sample. For more information, see the documentation.


    //Rollback company 12 to what it looked like on Jan 1, 2006
    dataInterface.RollbackRow(UserID, "tblCompany", 12, 
        new DateTime(2006, 1, 1));

    //Rollback all companies created by UserID 1 to what they
    //looked like on Jan 1, 2006
    dataInterface.RollbackRows(UserID, "tblCompany", 
        new DateTime(2006, 1, 1), "CreatedBy=1");