LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Database.RemoveConstraint parameter order incosistent with other Constraint methods #80

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Database.RemoveConstraint(TBL, CONSTRAINT)

vs.

Database.AddUniqueConstraint(CONSTRAINT, TBL, ...
Database.AddCheckConstraint(CONSTRAINT, TBL, ...

I'd like to see the parameters switched in RemoveConstraint. However, I 
don't know how feasible that would be since it would require a pretty 
major shift in the API and would break code.

Original issue reported on code.google.com by danmi...@gmail.com on 17 Nov 2008 at 2:47

GoogleCodeExporter commented 8 years ago
This seems like it's worth doing for consistency sake. Anyone have any 
thoughts? 
We're already making other breaking changes 0.8.

Original comment by geoffl...@gmail.com on 14 Jan 2009 at 11:22