selecting fields from tables using wcf ria services


hi all,

i using silverlight business application using wcf ria services.

in domain class there method 

 public iqueryable<employee> getemployees()
{
return this.objectcontext.employees;
}
this method returns al field in table , can bind datagrid. table contains employee id,employee name , age fields.
now want take 1 or 2 fields table.
 mean need employee name , age ,not id. 
or need use employee name bind combobox. 
how can this?



Silverlight  >  WCF RIA Services with Silverlight



Comments

Popular posts from this blog

SQL Server PSProvider SQL Server Authentication

BIT Version

How to calculate the delta size while diffing the files in TeamFoundationServer ?