Question: Using SQL and LINQ I need to write queries to insert, delete and update a list of employees (each employee has id, name, address, email...)

Using SQL and LINQ I need to write queries to insert, delete and update a list of employees (each employee has id, name, address, email...) in C#. please write me at least one example. I could not find it anywhere

Using SQL and LINQ I need to write queries to insert, delete

File Edit View Git Project Build Debug Test Analyze Tools Extensions Window Help Search (Ctrl+Q) QueueLette...skExercise LS Debug Any CPU Lina Shalabi_Assignment1 Live S ex2-extend1.cs Vacations.cs 0 Employees.cs ? Program.cs c# Lina Shalabi_Assignment1 CustomClass.cs* x Payroll.cs Program.cs Lina_Shalabi_Assignment1.CustomClass vacations I Server Explorer Toolbox Console.WriteLine(i.id + " " + i.name + " " + i.address + " " + i.address + " " + i.phone + " " + i.roll); } } } //public void AddEmployees (List employees) //{ //var items = from emp in employees // select emp; 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 82 % // Il public int DeleteEmployees (List employees, int id) // //var items = from emp in employees // select emp.id = id; //return id; //} public void Update(List employees) { var items = (from emp in employees select emp) 1 ! 0 Ln: 60 Ch: 36 SPC CRLF Error List www 1 x Entire Solution 1 Error ! O Warnings 0 0 of 35 Messages *7 Build + IntelliSense Search Error List File Code Description X CS1002 ; expected Project Lina Shalabi_Assignment1 Line Suppression State 60 Active CustomClass.cs

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!