Kyle Gobel - 506 - Dec 29, 2013

When dropping a table with the IDbConnection extension DropTable<T> or DropCreateTable<T>, is there a way to get an error message or fail/succeded?  It currently doesn’t throw an exception when it fails, or really do anything.

Currently to see the problem I have to use GetLastSql and run the raw sql in SSMS to see the issue…is there a better way?

ok yeah I should probably bubble that exception up, it’s just being logged atm: https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/src/ServiceStack.OrmLite/OrmLiteWriteExtensions.cs#L172

Now bubbling in this commit: https://github.com/ServiceStack/ServiceStack.OrmLite/commit/fe3c75a218545eaa7fcbd5bb35610f2c5082d95f

Kyle Gobel:

cool, thanks