Tag Archives: Creare using Entity Framework

Back to basic (Part 1): Adding single row / record using LINQ to Entities

Create a sample database named Beancurd in SQL Server. (Get SQL Express 2008 http://www.microsoft.com/express) CREATEDATABASE Beancurd Switch to Beancurd database USE Beancurd Create¬† a table Beancurds table in Beancurd database CREATETABLE Beancurds (BeancurdID intPRIMARYKEY, BeancurdType NVARCHAR(50), Qty int ) Start … Continue reading

Posted in .Net | Tagged , , , | 8 Comments