Groups
Groups
Sign in
Groups
Groups
Business Logic Toolkit for .NET
Conversations
About
Send feedback
Help
Mapping two or more data fields to one object property.
28 views
Skip to first unread message
Pavel Kopitcev
unread,
Oct 30, 2014, 2:46:05 AM
10/30/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to blto...@googlegroups.com
Hello!
Is it possible to map 2 data fields to one property
For example I have this query:
select FirstName, LastName from User
And I have an object like that:
public class User {
public string Name {get; set;}
}
How to map data? Name should be like FirstName + ' ' + LastName.
I don't have possibility to do it in the query, because of much more complex cases
ps Sorry for double topic
Reply all
Reply to author
Forward
0 new messages