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 )

12315 put(a) pogledan, 2 odgovor(a) 9.11.2011. 9:27:38Kreirao(la) Maxim
Maxim

Maxim

9.11.2011. 9:27:38
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?
Ovaj sadržaj još nije ocijenjen. 
319 Reputacija 30 Ukupno objava
imarusic

imarusic

9.11.2011. 19:41:14
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.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava