SyntaxFix
Write A Post
Hire A Developer
Questions
var context = new DatabaseEntities(); var t = new test //Make sure you have a table called test in DB { ID = Guid.NewGuid(), name = "blah", }; context.test.Add(t); context.SaveChanges();
Should do it