I would like to be able to import external data (for instance from an excel file) to use it in a LINQ query with DO persistent objects. The tables would be known only at runtime (but not the column that would be known at compile time). I could do exactly that with But I fear this would have an impact on performance if the row to import are numerous (likely number is around 1000 - 5000, with 2-10 columns). A way to improve this would be to use a normal (not temporary) table. Is it possible to have a mechanism similar to |
I think the best way to achieve this goal is to use a special database and
Having such manager, it's pretty easy to deal with custom types. If it's necessary to maintain everything in a single database, such type must be used as your only domain provider. Please get me right: 1
On the other hand, we'd be willing to write a sample for the case I just described, if you're interested. You're right this is not a good idea to use Query.store<t> for this scenario. A naive question : is it possible to use objects from several domains in a single linq Query? This is the final expected behavior. I'm certainly interested by a sample ;) > is it possible to use objects from several domains in a single linq Query? No, this isn't possible. AFAIK, there are no ORM tools that support this case. Concerning the sample: I created issue 805 and assigned it to v4.4. |