Create a database project based on an existing database.
Make a schema change that may result in data loss (e.g. drop a column).
Deploy the project to the existing database.
.Net SqlClient Data Provider: Msg 50000, Level 16, State 127, Line 12 Rows were detected. The schema update is terminating because data loss might occur.
As an example (the message would change based on the update occurring):
.Net SqlClient Data Provider: Msg 50000, Level 16, State 127, Line 12 Rows were detected IN TABLE [X].[Y]. THE SCHEMA UPDATE IS ATTEMPTING TO DROP THE COLUMN [Z]. The schema update is terminating because data loss might occur.