Page 1 of 1

Same class name Entity

Posted: Thu 04 Jul 2013 20:53
by degas
Look at this issue i have created in Codeplex.
Is this a limitation of your driver for oracle https://entityframework.codeplex.com/workitem/1358
I am using version 7.4.146.0

Re: Same class name Entity

Posted: Fri 05 Jul 2013 13:36
by Shalex
We have reproduced the following error with your test project in our environment:
Failure: System.NotSupportedException : The type 'SziCom.Degas.Entity.Model.Sistema.Usuario' and the type 'SziCom.Degas.Entity.Model.Degnet.Usuario' both have the same simple name of 'Usuario' and so cannot be used in the same model. All types in a given model must have unique simple names. Use 'NotMappedAttribute' or call Ignore in the Code First fluent API to explicitly exclude a property or type from the model.
This is a limitation of Entity Framework.