I have two tables. I am updating those tables using entity framework. here is my code
public bool UpdateTables()
{
UpdateTable1();
UpdateTable2();
}
If any table update operation fails other should not be committed how do i achieve this in entity framework?