sebastienros / yessql

A .NET document database working on any RDBMS
MIT License
1.21k stars 197 forks source link

Interface/Inheritance support #55

Open sebastienros opened 7 years ago

sebastienros commented 7 years ago
flew2bits commented 6 years ago

I'm interested in being able to use an interface for an index provider. I have a case where it would be useful for a project I'm currently working on. What would be involved in making it work?

sebastienros commented 6 years ago

In the Store we need a set of metadata that define hierarchies. So we can register which related types should be handled. Both for indexing and querying.

It would not be automatic, but would not be a problem for any dev to register the types, or to provide some other automatic way (assembly scanning, configuration files, ...)

For the querying aspect, We could use some more extension methods so that the filter on the type accepts more values.

ljfraney commented 1 year ago

Hey, @flew2bits , did you ever figure out a way to accomplish this? I could definitely use it. Funny seeing your name here. 😂