Open PaulS opened 14 years ago
Make the key name an array everywhere?
public string[] KeyName()
{
...
}
public Column[] PK{
get{
...
}
}
Or put a band-aid on it like this:
public Column PK{
get{
return this.Columns.FirstOrDefault(x=>x.IsPK) ?? this.Columns[0];
}
}
http://stackoverflow.com/questions/1831577/subsonic-3-sqlite-t4-generation-fails-on-compound-key