Invalid Object Name with Entity framework -EFCodeFirstCTP5(jalpesh.blogspot.com)
submitted by
jalpesh(1327) 10 months, 11 days ago
Recently I was working on one sample application with EFCodeFirst with the existing database.After doing all the coding I have found a error “Invalid object name 'dbo.Customers'.”. Following was my code for data context using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
namespace CodeSimplified.Models
{
public class MyDataContext:DbContext
{
public DbSet
|category: ADO.NET
|Views: 12
tags:
ADO.NET Database another
Everyones tags:
Your Tags: