Page 1 of 1

Unknow DBO using dotconnect for SQlite on MVC 3

Posted: Fri 25 Nov 2011 18:10
by aaronb
Hi guys.

I'm trying to use .NET MVC 3 and SQLite. I'm modeling the database objects and the DBSets, and trying to initialize the database
with an Initializer CreateDataseIfNotExists from Global.asax, but got
" SQLite error unkown database dbo."

Searched on the code examples but no luck. Is there a MVC3 example somewere?

My final goal is to model the database from the MODELS folder classes and populate them from the Global.asax.

Will apreciate any clues to achieve this.

Regards,
Aaron

Posted: Mon 28 Nov 2011 11:22
by Shalex
Please try setting config.Workarounds.IgnoreSchemaName = true;

An example is available here: http://www.devart.com/blogs/dotconnect/ ... qlite.html.