• 1397/07/22

لطفا در خصوص خطای زیر راهنمایی بفرماید :

Server Error in '/' Application.

The type 'DataLayer.GroupType' and the type 'DataLayer.DeputyPublicInfo+GroupType' both have the same simple name of 'GroupType' 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.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.NotSupportedException: The type 'DataLayer.GroupType' and the type 'DataLayer.DeputyPublicInfo+GroupType' both have the same simple name of 'GroupType' 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.
logo-enamadlogo-samandehi