MTrinder wrote:
Add individual property projectors to the collection, rather than converting all of the fields in one go.
// project results to DataTable
List<IEntityPropertyProjector> propertyProjectors = new List<IEntityPropertyProjector>();
propertyProjectors.Add( new EntityPropertyProjector( OrderFields.OrderDate, "OrderDate" ) );
propertyProjectors.Add( new EntityPropertyProjector( CustomerFields.Name, "CustomerName" ) );
How can execute this querey and its fields that comes from multiple tables
// execute linq query
EntityCollection<CustomerEntity> customers =
((ILLBLGenProQuery)q).Execute<EntityCollection<CustomerEntity>>();
I dont want to go throw creating View
I need direct way to get my return type as DataTable throw LinqMetaData ???