Linq-to-SQL- A stored procedure returns field which is not there in Mapped Table Info

Posted by jalpesh on Stack Overflow See other posts from Stack Overflow or by jalpesh
Published on 2010-03-31T07:50:33Z Indexed on 2010/03/31 7:53 UTC
Read the original article Hit count: 198

We are using Linq-to-SQL with stored Procedures we need help on one of our problem. We are having user tables which is having all field required for user table like firstname,lastname and other fields that table is also there in our DBML files.Now the problem is that we are having a stored procedure that is mapped to table->User returning a field called fullname (Combination of firstname and lastname)which is not there in usertable. So what is the best way to slove this.

Another thing is that one of other stored procedure return inner join of two tables with mix columns in this case how can i mapped that stored procedure with Table mapped info class in our dbml files.

© Stack Overflow or respective owner

Related posts about linq-to-sql-storedprocedu