mojoPortal and Entity Framework

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
9/13/2011 8:46:33 AM
Gravatar
Total Posts 42

mojoPortal and Entity Framework

Dear Joe,

Please how do I use the mojoPortal.Data.EF.MSSQL project.

And, what is its relationship with the mojoPortal framework.

I want to use Entity Framework, and intend to customize stuff like the Forum.

9/13/2011 9:04:26 AM
Gravatar
Total Posts 18439

Re: mojoPortal and Entity Framework

Hi,

You should not use that at all, its just something I was experimenting with to play around with OData. I may remove that code or I may revisit it at some point but it is not up to date and is not working code and should not be used at this point by anyone.

mojoPortal is not built on Entity Framework nor is it going to change to it as a core architecture at any time, but people are free to use EF or any other OR mapper in their own custom code and features.

My advice regarding customization is don't fork the code, otherwise you will not be able to upgrade. If you need to make customizations to an existing feature the only safe way to do it is to clone it which is a safe way of forking it because you create a new feature that is copied from the original feature but is completely separate so it doesn't depend on the same tables or anything else from the original feature. Then you can customize your cloned copy all you want, but if you just start making changes to existing code without cloning you are making a mistake because you will not be able to upgrade without losing your changes.

Best,

Joe

9/14/2011 5:37:49 AM
Gravatar
Total Posts 42

Re: mojoPortal and Entity Framework

Thanks joe.

I'd just stick with the Stored-Procedure pattern for now.

I actually want to clone the "Forum" feature.

Thanks a lot.

 

Regards.

You must sign in to post in the forums. This thread is closed to new posts.