OrchardCMS / OrchardDoc

Documentation for Orchard 1.x (not Orchard Core, for that see https://docs.orchardcore.net/).
http://docs.orchardproject.net
142 stars 242 forks source link

Need for a dev help on migrating from O1 with NHibernate to OCore with YesSQL #358

Closed CSurieux closed 4 years ago

CSurieux commented 4 years ago

For all those as me who need to migrate their sites from Orchard 1 to OrchardCore, it would be very helpful to have some migration tips and recos for all the DB design and access.

I understand that Parts no more have dedicated DB tables (very nice) and are serialized in their document containers and that we have to create many indexes tables for each particular access.

My main questions would be :

1) How to replace the NH Part/Record schemas adopted for 1:N & N:N relations by classes and Indexes. And where goes the old O1 int ContentItem Id ? What about all these string Ids in Core methods.

2) How to replace the various O1 queries by the new Core paradigms.

May be sticking to a server point of view without implying client Queries.

This help may exist in documentation but I have been able to found it.

Thanks