I want to use memory-optimized tables in database, but I can't found any examples or information about supporting such option in dataobjects (I was searching it the documentation on https://dataobjects.net/ and found http://support.x-tensive.com/question/6594/customize-create-table-sql in other similar questions). So the question is: does DO support creating\using memory-optimized tables out of the box, or does it have any work around to provide a posibility to use castom created memory-optimized tables for entities in domain (I mean situation when we create entity and create memory-optimized table in DB by using custom script).

asked Dec 16 '20 at 03:55

boldhen's gravatar image


One Answer:

Hello boldhen,

For now it is impossible to use memory-optimized tables. Though this feature was requested by one customer it was not released.

Memory-optimized tables have some restrictions for types and also for foreign keys and some others, it least they had when I did research about it. I'm pretty sure that if you will try to trick DO and force it to "think" that it works with regular tables something can go wrong after domain is built.

So unfortunately to make it work we need to implement and release this support.

answered Dec 17 '20 at 05:54

Alexey%20Kulakov's gravatar image

Alexey Kulakov

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Dec 16 '20 at 03:55

Seen: 15,104 times

Last updated: Dec 17 '20 at 05:56

Related questions

powered by OSQA