Help getting C# MVC Entity Framework to work with Npgsql

Web, Mobile & Software Dev Web Development Posted 2 years ago

Fixed Price

Budget: $50
Delivery by July 9, 2014

Start Date

July 4, 2014

Details

We have an intranet project created with the base MVC template from Visual Studio 2013.  The application will connect to a PostgreSQL database for mainly reading tables. We added the connectionstring to web.config and was able to connect using the standard connector in the HomeController.

However, when we try to switch it over to Entity Framework, we are getting errors such as:
"Additional information: Failed to set Database.DefaultConnectionFactory to an instance of the 'Npgsql.NpgsqlFactory, Npgsql' type as specified in the application configuration. See inner exception for details."

We just want someone to help us get this Entity framework working with Npgsql so we can continue building the model part of the application.  We already created "PortalEntites.cs" (DbContext) and "EnforcementMetrics.cs" model to attempt to use the EF with zero luck.

You can get the solution from here:
https://drive.google.com/file/d/0B26b0r2klll8ZFhDd1Z6NHF5dDA/edit?usp=sharing

The candidate should be able to fix this solution to the point we can continue with the project.

  • Programming Languages Required:
  • Software Frameworks that will be used:
  • Project Type: One-time project
  • Project Stage: N/A
  • One-time Project: Fix a bug
  • Other Skills:

Activity on this Job

Last Viewed by Client: 2 years ago

Hired: 1


About the Client

(4.52) 47 reviews

Canada
Windsor 02:19 PM

99 Jobs Posted
61% Hire Rate, 1 Open Job

Over $30,000 Total Spent
82 Hires, 1 Active

$17.21/hr Avg Hourly Rate Paid
1,847 Hours

Member Since Jan 21, 2011