mardi 26 avril 2016

I am Getting this ERROR "ErrorGeneratingOutput"

Hello can anyone please help me to solve this error.

I am Getting this ERROR "ErrorGeneratingOutput" .context.cs and model.cs files every time i create model using Database First Approach

In Context.cs the error is: A namespace cannot directly contain members such as fields or methods c:\users\naseer\documents\visual studio 2013\Projects\WebApplication3\WebApplication3\Models\Model1.Context.cs 1 1 WebApplication3

In Model.cs the error is:

Error 4 A namespace cannot directly contain members such as fields or methods c:\users\naseer\documents\visual studio 2013\Projects\WebApplication3\WebApplication3\Models\Model1.cs 1 1 WebApplication3

Aucun commentaire:

Enregistrer un commentaire