Ejemplo n.º 1
0
        public void Init()
        {
            if(File.Exists(dataBaseFile) && !runOnce){
                File.Delete(dataBaseFile);

            }
            cf = Config.Instance;
            cf.ConnectionString = dataBaseFile;
            ar = new ActiveRecord();
            ab = new Abastecimento();

            runOnce = true;
        }
Ejemplo n.º 2
0
 public void TestEntidadeAbastecimento()
 {
     Abastecimento ab =  new Abastecimento();
     foreach (Field f in ab.Fields)
         Console.WriteLine(f.Name);
 }
Ejemplo n.º 3
0
 public void TestCase()
 {
     ab = new Abastecimento();
 }