Create a
ProjectionSelector for the specified property path.
Syntax
Parameters
- propertyPath
- alias
Example
C# | Copy Code |
---|
public void DynamicAnonQuery() {
var ps1 = new ProjectionSelector("Id");
var ps2 = new ProjectionSelector("CompanyName");
var allps = ProjectionSelector.Combine(new[] {ps1, ps2});
var query = manager.Customers.Select(allps);
var anonItems = query.Execute();
} |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also