schambers/fluentmigrator — Issue #233: Additional syntax for Delete
Author: khalidabuhakmeh
Created: 2012-01-25 14:10:20+00:00
State: open

Delete has a lot of repetitiveness in the syntax.

Delete.Column("AllowSubscription").FromTable("Users");
Delete.Column("SubscriptionDate").FromTable("Users");

proposed addition:

Delete.Columns("AllowSubscription", "SubscriptionDate").FromTable("Users");

or:

Delete.FromTable("Users").Column("AllowSubscription").Column("SubscriptionDate");

I like the first one for simplicity sake, but the second one is more in line with the current API. What do you think?