Пример #1
0
 protected override void OnDeleting()
 {
     base.OnDeleting();
     if (Ubicacion != null)
     {
         Ubicacion.Delete();
     }
 }
        public bool Delete(int id)
        {
            Ubicacion u = this.FindById(id);

            return(u != null && u.Delete());
        }