i dislike below methods. Because more fields (suchas 150 fields) it is not good method. There is any SetValue method to add datato sql linqtosql for submitchanges?
MyClass c = new MyClass ();
c.FirstField = "bvnvb";
c.......
c...
c...
// Too many rows there is...
engCtx.MyClass.InsertOnSubmit(c);
engCtx.SubmitChanges();
How can i do with a loop method via using linq?
it is simple request why don't understand it is clear. i don't want to make it above is there any method like below?
foreach(...........)
engCtx.MyClass.Add(item);