TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
siva nathan
950
828
235.4k
convert key value column table to DTO dynamically in c# linq
Mar 19 2021 7:04 PM
Hi All,
I have a key and value pair table in sql server like below,need to convert that table into DTO in linq C#
Key
value
Name
john
Address
USA
Name
Ken
Address
America
am having one DTO like bewlo
Public class SampleDto
{
public string Name { get;set;}
public string Address { get;set;}
}
need to select that key,value table into List of above class columns key and value column and DTO may be add/delete
how can i achieve that
Reply
Answers (
1
)
Difference between .net web API and micros service ?
Icon Not Show in WebSite