コード例 #1
0
        public MainApp(Credentials father)


        {
            this.father = father;
            this.father.Hide();
            InitializeComponent();

            databases = CatalogDatabase.getAllCatalogDatabase();
            foreach (CatalogDatabase database in databases)
            {
                this.comboBox1.Items.Add(database.name);
            }
        }
コード例 #2
0
 public RepositoryTest(CatalogContextFixture fixture)
 {
     _fixture    = fixture;
     _repository = new EFCore.Repository.Repository(_fixture.Context);
     _database   = new CatalogDatabase(_fixture.Context);
 }
コード例 #3
0
 public CatalogDatabaseTest(CatalogContextFixture fixture)
 {
     _fixture  = fixture;
     _database = new CatalogDatabase(_fixture.Context);
 }