public static void InsertStopEvent(int rschId,int m, int evt, string d, string wh) { StopEvents se = new StopEvents() { dest = d, module = m, @event = evt, who = wh, rschId = rschId }; var db = new SandBoxDataContext(); db.StopEvents.InsertOnSubmit(se); db.SubmitChanges(); }
partial void UpdateStopEvents(StopEvents instance);
partial void DeleteStopEvents(StopEvents instance);
partial void InsertStopEvents(StopEvents instance);