i have migrated one table by first code approach. then i post my details.it worked.then i retrived my data from sql server database.but promblem is 'i cannot retrive any particular data from database'(example: select First_Name,Last_Name,Email,Password,DateofBirth from Registrations where User_Id=@User_Id ----->this is my stored procedure query. but,i want data without these column from existing user_id,role_id,cityetc,...). when i execute my query . it shows " The required column 'User_Id' was not present in the results of a 'FromSql' operation. "
Get method problem
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Riddhi ValechaRank #794 · 2.9K reputationPosted Sep 15, 2021, 11:46 AM EDT