I created a new class project .Net Framework 4.5.2
I have generated the POCO class using EntityFramework Reverse POCO Code First Generator.
And created a app.config file and specified connection as mentioned below : -
<connectionStrings>
<add name="DBConnection" connectionString="Server=.;Database=Zza;Trusted_Connection=true" ProviderName="System.Data.SqlClient"/>
</connectionStrings>
But MetaDataGenerator not accepting the above connection string and gives error.
"No connection string named DBConnection could be found in the application config file."
The DBContext.cs has following constructor
public DBContext() : base("Name=DBConnection") { }
Please can you guide ...
I created a new class project .Net Framework 4.5.2
I have generated the POCO class using EntityFramework Reverse POCO Code First Generator.
And created a app.config file and specified connection as mentioned below : -
But MetaDataGenerator not accepting the above connection string and gives error.
"No connection string named DBConnection could be found in the application config file."
The DBContext.cs has following constructor
Please can you guide ...