Ejemplo n.º 1
0
 public CatalogContext()
 {
     _conn = new LocalConnectionCatalog()
     {
         DbHostname = "Catalog.db", Type = LocalConnectionCatalog.DbConnectionType.SqlLite
     };
     generatePath = false;
 }
Ejemplo n.º 2
0
 public CatalogContext(LocalConnectionCatalog conn = null, bool _generatePath = false)
 {
     generatePath = _generatePath;
     if (conn == null)
     {
         _conn = new LocalConnectionCatalog()
         {
             DbHostname = "Catalog.db", Type = LocalConnectionCatalog.DbConnectionType.SqlLite
         }
     }
     ;
     else
     {
         _conn = conn;
     }
 }