New Posts New Posts RSS Feed: Change Save User Profile
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Change Save User Profile

 Post Reply Post Reply
Author
master-of-disaster View Drop Down
Newbie
Newbie
Avatar

Joined: 12-Feb-2010
Location: Germany
Posts: 11
Post Options Post Options   Quote master-of-disaster Quote  Post ReplyReply Direct Link To This Post Topic: Change Save User Profile
    Posted: 25-Jun-2010 at 2:42am
Hello,
 
I've set ASP.NET Membership Profile to my user. I can read a profile information from an exitsting user, this works fine.
 
But I can't update and set a profile-defintion with DevForce.
 
I think, I've to create a ProfileProvider (POCO) to handle my issue. But I'm confusion, to find a working solution.
 
Has someone a sample-code? I've try to orientation on the deliverd security samples, but all I try, my profile-settings will not save or update in database.
 
Regards
Dirk
 
 
 
 
 
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 29-Jun-2010 at 9:19am
We don't have a sample for updating Profile information, but you're right that using POCO is the way to go.  We do have a sample showing a POCO provider for registration information, which might help.  You may want to refactor any Profile properties defined in your UserBase into a separate class so that you can then issue queries and saves for instances of that type.  The EntityManager has no means of updating the UserBase, since it's not an Entity it's handled outside of the usual query/save logic.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down