views:

9

answers:

0

Trying to map MySQL database schema using SubSonic 3, I get "Running transformation: System.InvalidOperationException: Sequence contains more than one matching element..." on all tables with a multiple-column Primary Key. Indeed, from the following MySQL.ttinclude code, it appears that you get only one PK column per table.

            if(col.IsPK){
                item.PrimaryKey=col.Name ?? "";
            }

Any ideas?

Thanks,

g.