Closed giuliohome closed 8 years ago
Adding a few tables will not reduce time to load. You can skip loading stored procs if you do need them. I've added CommandTimeout setting with 0 (infinite) default. It should help. Also you can get the latest build here - https://ci.appveyor.com/project/igor-tkachev/linq2db-linqpad/build/artifacts
Stored proc already skipped. It's strange that it loads their parameters! Also commented that function in my local linq2db recompiled dll. No timeout but never ending loading again. Just out of my curiosity I will change the sybase schema provider queries more heavily cause I'd like to try the linqpad... thanks anyway
Well, maybe it will be better when I implement static driver.
Wow :) I don't know what exactly a static driver is (maybe I can guess it), but I'm already looking forward to using it! My sincere congratulations for sharing your excellent work. See you next time
The difference is dynamic driver reads database metadata and generates data context, static driver uses data context provided by user.
Oh good. Of course the static driver would work because I'm already using linq2db with my data context against the same sybase ase db. So yes, it would be a perfect solution. Ideally the possibility to select only a certain list of tables for the dynamic driver would be much appreciated: but I assume I should be able to roughly modify/customize the sybase schema provider ad hoc, just as a programming exercise... (maybe I'll discover that it isn't that easy though) So, well, when the static driver is available, I'll definitely use it! :-) Thanks for your clarifications.
Thank you very much for this driver!!! In the DataConnection Options, is there a way to fech/populate only a few tables when loading? Otherwise I would get only a timeout, in my case (the dbo schema contains too many tables). Thanks again and keep up the good work! :-)