Help getting C# MVC Entity Framework to work with Npgsql

Web, Mobile & Software Dev Web Development Posted 10 months ago

Fixed Price

Delivery by July 9, 2014

$50.00

Budget

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.

  • Project Stage: This doesn't apply
  • One-time Project: Fix a bug
  • Software Frameworks that will be used:
  • Programming Languages Required:
  • Other Skills:

Client Activity on this Job

Last Viewed: 10 months ago

Applicants: 16

Hired: 1


About the Client

(4.21) 34 reviews

Canada
Windsor 08:23 AM

83 Jobs Posted
60% Hire Rate, 1 Open Job

Over $30,000 Total Spent
68 Hires, 6 Active

$17.16/hr Avg Hourly Rate Paid
1,763 Hour

Member Since Jan 21, 2011