Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Map between 3 properties
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shapper  
View profile  
 More options Jul 27 2012, 10:06 am
From: Shapper <mdmo...@gmail.com>
Date: Fri, 27 Jul 2012 07:06:05 -0700 (PDT)
Local: Fri, Jul 27 2012 10:06 am
Subject: Re: Map between 3 properties

Hello,

Yes, basically it would be something like:

1 - Map all 10 properties values in:
     UserFindModel -> UserSaveModel

2 - Map all 5 property values in UserEditModel to UserSaveModel
     The other 5 properties in UserSaveModel remain the same.

Does this make sense?

Thank you,
Miguel

On Friday, July 27, 2012 1:46:57 PM UTC+1, Jimmy Bogard wrote:

> So UserFindModel -> UserSaveModel, then UserEditModel -> existing
> UserSaveModel (both against the same instance)?

> Is that right?

> On Fri, Jul 27, 2012 at 7:04 AM, Shapper <> wrote:

>> Hello,

>> I have the following models:

>> 1 - UserFindModel with 10 properties;

>> 2 - UserEditModel with 5 properties;

>> 3 - UserSaveModel with 10 properties.

>> UserSaveModel 10 properties would have the same values as UserFindModels
>> 10 properties.

>> Then 5 of these properties would be replaced by the 5 values in
>> UserEditModel.

>> What is the best approach to do this?

>> Thank You,
>> Miguel

>>  --
>> You received this message because you are subscribed to the Google Groups
>> "AutoMapper-users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/automapper-users/-/wMD9giiMVwEJ.
>> To post to this group, send email to automapper-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> automapper-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/automapper-users?hl=en.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.