LinuxDoku / migratordotnet

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

ITransformationProvider.AddUniqueConstraint can only create single column unique constraints #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, this is AddUniqueConstraint's signature:
void AddUniqueConstraint(string name, string table, string column);

It would be more useful if its signature was as follows:
void AddUniqueConstraint(string name, string table, params string[] columns);

Attached is a patch to add this multi-column unique constraint functionality.

Original issue reported on code.google.com by rawdatad...@gmail.com on 19 Aug 2008 at 12:50

Attachments:

GoogleCodeExporter commented 8 years ago
SVN 119
Allow for multiple columns to be specified in a Unique Constraint
Thanks to daniel for the patch
(also added a unit test)

Original comment by geoffl...@gmail.com on 5 Sep 2008 at 10:56