MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Help with Other DataLayers  (Mono Support )

Viewed 7379 time(s), 2 post(s) 5/17/2013 4:49:27 AMby kkochhar
kkochhar

kkochhar

5/17/2013 4:49:28 AM
Hi There,

I am liking Mono-x framework more and more as I use it. However, I am having some difficulty in using specific DataLayers with Mono-x. I know you guys use LLBGen and I have read some blog posts earlier that one can use other data layers with Mono-X too.

Question is do you have any guides or help articles to use for example EntityFramework or Linq to SQL (free datalayer frameworks) with Mono-X? I want some basic guide on how a custom table can be added in existing Mono-X database and use that table for CRUD operations with any of the free open source ORM frameworks. I can't use LLbGen as it costs us and currently we don't have any funding to build the app we are trying to build for specific community.

Any help on this will surely speed up my development effort.

Thanks,
Kunal
This content has not been rated yet. 
50 Reputation 6 Total posts
khorvat

khorvat

5/20/2013 9:51:43 AM
Hi,

basically what you are looking for will come down to basic EF development, so you can just go ahead and add new table to existing MonoX database, connect your table with MonoX table, generate POCOs or refresh EF EDMX (I don't know which approach would you take Code First, DB First etc.) and build your DAL. After that you can create repositories, BLL and finally UI controls. 

Existing MonoX controls depend upon LLBLGen and they require you to use the generated entities. So if you want to extend the existing controls you will have to use the LLBLGen designer to do so. Please find the MonoX DAL project on GitHub, you will be able to use the project to generate / add new tables to your DAL but you will have to obtain a copy of LLBLGen Designer from their site.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts