Database synchronization fails to create a view that has a dependency on another view that does not exist in the database. This can happen when the dependency between the two views is created using static code rather than metadata. The database synchronization does not know the dependency exists, so it cannot sync the two views in the incorrect order. If the view with the dependency is synced first, you will see the following error message:
"System.InvalidOperationException: Database execution failed: Invalid object name ''." This is because the dependent view does not exist in the database yet.