Unknow DBO using dotconnect for SQlite on MVC 3

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
aaronb
Posts: 1
Joined: Fri 25 Nov 2011 17:54

Unknow DBO using dotconnect for SQlite on MVC 3

Post by aaronb » Fri 25 Nov 2011 18:10

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

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Mon 28 Nov 2011 11:22

Please try setting config.Workarounds.IgnoreSchemaName = true;

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

Post Reply