public void AddConfig(string mailname, string mailnetwork, string password, string ports, string type, DateTime builddate, string description) { Config c = new Config(); c.MailName = mailname; c.MailNetwork = mailnetwork; c.Password = password; c.Ports = ports; c.Type = type; c.BuildDate = builddate; c.Description = description; dcs.Configs.InsertOnSubmit(c); dcs.SubmitChanges(); }
partial void UpdateConfig(Config instance);
partial void DeleteConfig(Config instance);
partial void InsertConfig(Config instance);