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.

custom fields: create, store...  (Mono Support )

Viewed 11158 time(s), 2 post(s) 11/9/2011 9:27:38 AMby Maxim
Maxim

Maxim

11/9/2011 9:27:38 AM
Hi!
I'm want to extend some things with additional logic(extend profile, add some new photo album features)...

At example I'm create my own MembershipEditor with custom fields(gender, birth date). Now I want to associate this data with specific user profile.

1. Can I store my data without DB modification?
2. Can you tell me for MonoX best practices how to save and store data?
This content has not been rated yet. 
319 Reputation 30 Total posts
imarusic

imarusic

11/9/2011 7:41:14 PM
Hi,

MonoX UserProfile table already contains fields that might match your needs(eg BirthDate), so in that case you do not need to change the DB. If you want to add some additional fields, we suggest you to create a custom table and there you can store your custom data.

MonoX uses ORM LLBL Gen Pro for data manipulation and uses a repository pattern, We are preparing a blog post on How to make custom membership editor which extends the MonoX's one. Although that blog post is not finished yet, please take a look at the attached files which might help you.

Regards.
This content has not been rated yet. 
3016 Reputation 428 Total posts