How to edit multiple joins in LINQ

Sep 21 2011 12:28 AM
 
 Hi All
 
when I display the multiple tables using joins in linq.so I want edit correspondes tables'   columsn;


 ex:

  DAO


public string name {get;set;}
public string  location  {get;set;}

   

var disaply =( from r in db.emtable join t db.salary on r.empid equlas t.empid
                  
                    select new DAO
                 {
                     name=r.name,
                     locaiotion=t.location
               });


Answers (1)