public void EndEdit()
 {
     if (inTxn)
     {
         BackupData = new StructReuniao();
         inTxn      = false;
     }
 }
 // IEDITABLE OBJECT IMPLEMENTATION
 //-------------------------------------------------------------------------------------------------
 public void BeginEdit()
 {
     if (!inTxn)
     {
         BackupData = EditData;
         inTxn      = true;
     }
 }
 public void CancelEdit()
 {
     if (inTxn)
     {
         EditData = BackupData;
         inTxn    = false;
     }
 }
 public objReuniao(int?IDReuniao) : base()
 {
     EditData = new StructReuniao()
     {
         _IDReuniao            = IDReuniao,
         _Reuniao              = "",
         _IDCongregacao        = null,
         _RecorrenciaTipo      = 2,            // semanal
         _RecorrenciaRepeticao = 1,
         _RecorrenciaDia       = null,
         _RecorrenciaSemana    = null,
         _RecorrenciaMes       = null,
         _IniciarData          = DateTime.Today,
         _Ativa = true
     };
 }