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

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........