Example #1
0
        public static PersonBO save()
        {
            //Mapper
            //var personDta = MapBoToDta(this);

            //DB save
            using (var context = new SchoolEntities())
            {
                var std = context.Person.First <Person>();
                std.Firstname = "Max";
                context.SaveChange();      //richtig
            }

            //return
            //return new PersonBO(personDta);
        }