Exemplo n.º 1
0
        public void Write(Topology tpl)
        {
            using (var ctx = new XmlGeneratorWPF.DBContexts())
            {
                ctx.Topology.Add(tpl);

                ctx.SaveChanges();
            }
        }
Exemplo n.º 2
0
        public void Write(security.Config sec)
        {
            using (var ctx = new XmlGeneratorWPF.DBContexts())
            {
                ctx.SecurityRecordings.Add(sec);

                ctx.SaveChanges();
            }
        }
Exemplo n.º 3
0
        public void Write(plate.ConfigP plt)
        {
            using (var ctx = new XmlGeneratorWPF.DBContexts())
            {
                ctx.PlateRecognition.Add(plt);

                ctx.SaveChanges();
            }
        }