Esempio n. 1
0
 private void Dado_Uma_TableAdadpter_com_log_ativo_e_sem_chave()
 {
     _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>();
     _tableWithlog.TableAdapterLog.Detach();
     _tableWithlog.Collumns.ForEach(c => c.Key = false);
     _tableWithlog.KeyFields.Clear();
 }
Esempio n. 2
0
        private void Dado_uma_tabela_com_log_ativado_criada_no_banco_dados()
        {
            _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>();

            Connection.Instance.DropTable(_tableWithlog.TableName);
            Connection.Instance.DropTable(_tableWithlog.TableName + "Log");

            _tableWithlog.Create();
        }
Esempio n. 3
0
 public void Dado_Uma_TableAdadpter_com_log_ativo()
 {
     _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>();
 }
Esempio n. 4
0
 private void Dado_Uma_TableAdadpter_com_log_desativado()
 {
     _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>();
     _tableWithlog.SetAutoLog(false);
 }