Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Want to know how I can do mapping while things about mapping two different class with different datatypes fields for inserting and retrieving data from database.
class 1 UserModel= public string ProfileImage {get; set;}(viewmodel)
class 2 User= public byte[] ProfileImage {get; set;}(databasemodel)

want to map these two property for uploading image and retrieving image by using automapper and database.(note : I am using serialized concept too for ex: datamember )
Posted
Updated 23-Oct-15 3:20am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900