Paul Shaffer

Results 4 comments of Paul Shaffer

This appears fixed in tip rev.

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]; } } ```

I think this is in the Save method of ActiveRecord. I only discovered this when tracking down a problem with Guids as primary key.