Provides for construction of "." notation in a dynamic query.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim memberSelector As T
Dim propertyPath As String
Dim value As T
value = MemberSelectorExtensions.Dot(Of T)(memberSelector, propertyPath) |
Parameters
- memberSelector
- propertyPath
Type Parameters
- T
Example
C# | Copy Code |
---|
public void DynamicGroupAndSum() {
var query = EntityQuery.Create(typeof(Order), manager)
.GroupBy(new ProjectionSelector("ShipCity"))
.Select(
new ProjectionSelector("Key", "ShipCity").Combine(
new ProjectionSelector("Select", new ProjectionSelector("Freight")).Dot("Sum()").WithAlias("Sum")
));
var list = 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