Exemplo n.º 1
0
        public void CreateContactPersone()
        {
            Bbb bbb = new Bbb();

            bbb.Age = 27;
            bbb.Save();

            try
            {
                Aaa aaa = new Aaa();

                aaa.Name = "aaa";
                aaa.B    = bbb;

                aaa.Save();
                aaa.Delete();
            }
            finally
            {
                bbb.Delete();
            }
        }