magiccodingman / Magic.IndexedDb

Use IndexedDb in Blazor like LINQ!
MIT License
27 stars 8 forks source link

add databases dynamically #13

Open yueyinqiu opened 1 week ago

yueyinqiu commented 1 week ago

I have found something like:

        //public async Task<IndexedDbManager> CreateAsync(DbStore dbStore)
        //{
        //    var manager = new IndexedDbManager(dbStore, _jsRuntime);
        //    var importedManager = await _jsRuntime.InvokeAsync<IJSObjectReference>("import", "./_content/Magic.IndexedDb/magicDB.js");
        //    return manager;
        //}

It seems to allow users to add databases dynamically. but why it's commented?

magiccodingman commented 3 days ago

I architected a whole design to allow full control of creation, deletion, and alteration of databases via linq like methods. I don't believe I ever completed it though. I think the core functionality was started? But I can't remember. I initially started the project because I wanted this for my company software. Then things just changed and I couldn't spend more time.

I've taken that leap recently and am going full time for my company moving forward. When I'm back from Taiwan, I'm hoping that I can finally pick up this project for my own company and for those who want to use it :) It's important to me to open source what I can while I work on my company stuff. So, when my business can focus on this, I'll have a lot of updates to pump out :)