Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6625729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:48:31+00:00 2026-05-25T21:48:31+00:00

I have a member table with columns memberid Firstname( values like john,pop…) secondname(values like

  • 0

I have a member table with columns

 memberid
 Firstname( values like john,pop...)
 secondname(values like ..david ,rambo..)

i want to get the firstname and secondname in a single query

i want something like this..

john david
pop rambo 

i know how to do in mysql like this..

  string sql = select (Firstname,'',secondname) as fullname from members...

but i dont know how to get the full name using linq to entities …

my entity name is dbcontext

would any one help on this..

Many thanks In advance..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:48:32+00:00Added an answer on May 25, 2026 at 9:48 pm
    from m in member
    select new {
                 FULLNAME = String.Concat(m.Firstname+" ", m.secondname)       
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a visit table with columns member_id visit_id visit_logout_datetime(values like this... ' now
I have F.FRIENDID, F.MEMBERID columns in FRIENDS table and M.MEMBERID, M.FIRSTNAME, M.LASTNAME in MEMBERS
I have a member Table with member_Id a mmship table with columns mmshipstart date
I have a member table with columns member_id member_lastname member_firstname i have another table
I have a custom DataContext with a Table member... Entry is defined as... [Table(Name=Entry)]
I have 2 tables: shares and pending_share_changes. The shares table has the following columns:
I have member table member_Id Last name first name postcode reference another table memberstomships
I have a Member Table with fields MemID - Primary Key Business_Name Business_Address Business_Phone
I have the following example code: create table #tempmembers ( memberid int ) update
I have a table Users with columns ID nvarchar(4000) GroupRank int Definition nvarchar(4000) ID

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.