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(); }
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(); }
public void Dado_Uma_TableAdadpter_com_log_ativo() { _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>(); }
private void Dado_Uma_TableAdadpter_com_log_desativado() { _tableWithlog = DbTesteNampula.CreateObject <FakeTableWithLog>(); _tableWithlog.SetAutoLog(false); }