entity model removed by mistake how to reconfigure

65 Views Asked by At

my friend remove entity model from my working project of c# visual studio ,

in most of forms i am using core ADO.net but for datagridviews i was using entityframework

now its not working i tried to reconfigure it but its not working showing error

"could not load projectnameentities from assembly"

please help me what should i do?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace shopBillingSystem
{

static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());
        }
    }
}
1

There are 1 best solutions below

0
On

i think i found solution ... i added new entitymodel from database and rename in bsl/config file and also rename in main config file and now it works fine...