I have a table Platform with an identity column called PLFID. The DLinq designer generated code correctly attributed this column as Id=True, AutoGen=True. For some rows I need to be able to force a value for the PLFID column, but DLinq won't let me. Either it overwrites it with the @@IDENTITY value, or throws an Exception that I'm not allowed to assign a value to this column. Here is my example code: Platform platform = new Platform (); ...populated the other columns dbContext.Platform.Add(platform);
Read More...