IgnoreSchemaName for Views in Model

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
melyurt
Posts: 5
Joined: Sat 26 Mar 2011 23:00

IgnoreSchemaName for Views in Model

Post by melyurt » Sun 16 Dec 2012 12:49

Hi,

I used config.Workarounds.IgnoreSchemaName = true; feature in dot connect for oracle 7.2.
But for views in model it doesn't work and in the queries schema name already there.
Isn't it working for views in model??

Thanks.

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

Re: IgnoreSchemaName for Views in Model

Post by Shalex » Mon 17 Dec 2012 08:18

It seems like there is a defining query with schema name in your edmx/edml. Open your model with XML Editor and remove (better) or correct the defining query.

The IgnoreSchemaName option doesn't remove schema name from the defining query (by design). EDM Wizard (*.edmx) generates defining queries for views. Entity Developer (*.edml) does not use defining queries by default.

Post Reply