I'm trying to get logging to work (but I've not managed so far, I tried built in logging first, then log4net. I just want to see all sql-statements issued in the debug log.. I've followed the documentation, then some threads in the forum. At least I haven't any configuration-related exceptions anymore..) However, under certain conditions (I don't know exactly when, it's related to configuration of logging somehow) I start to get a lot of exceptions thrown into the debug log (but not through the logging framework.) It's two exceptions: Xtensive.Orm.Upgrade.Model.ValidationException and some AggregateException with the exception above. It's allways about some index that's invalid, wrong columns are included. I've checked in the db and every index has "TypeId" added as an included column, independent of whether the key column is included or not in the index. Almost all tables have the TypeId-field, but it seems strange the the TypeId column is added to indexes where the Id column isn't Dataobjects.net 4.5 MSSQL |
Hello Onkelborg, currently TypeId is included in secondary indexes as value column if storage supports that. This is somewhat legacy behavior. We'll consider removing it in future versions of DO. |