public void addNew(Ac4yIdentification _Ac4yIdentification)
        {
            using (var ctx = new AllContext(baseName))
            {
                ctx.Ac4yIdentifications.Add(_Ac4yIdentification);

                ctx.SaveChanges();
            }
        }
        public Ac4yIdentification findFirstById(Int32 id)
        {
            Ac4yIdentification a = null;

            using (var ctx = new AllContext(baseName))
            {
                var query = ctx.Ac4yIdentifications
                            .Where(ss => ss.id == id)
                            .FirstOrDefault <Ac4yIdentification>();

                a = query;
            }
            return(a);
        }
Esempio n. 3
0
 public void setAc4yIdentification(Ac4yIdentification newValue)
 {
     Ac4yIdentification = newValue;
 }