Documentation Index Fetch the complete documentation index at: https://easyaf.dev/llms.txt
Use this file to discover all available pages before exploring further.
Definition
Assembly: Microsoft.Restier.Core.dll
Namespace: Microsoft.Restier.Core
Inheritance: System.Object
Syntax
Microsoft . Restier . Core . DataSourceStub
Summary
Represents method stubs that identify API data source.
The methods in this class are stubs that identify API data source
inside a query expression. This is a generic way to reference a
data source in API. Later in the query pipeline the sourcer from
the data provider will replace the stub with the actual data source.
Methods
GetPropertyValue
Identifies the value of an extended property of an object.
Syntax
public static TResult GetPropertyValue < TResult >( object source , string propertyName )
Parameters
Name Type Description sourceobjectA source object. propertyNamestringThe name of a property.
Returns
Type: TResult
A representation of the value of the
extended property of the object.
Type Parameters
TResult - The type of the result.
GetQueryableSource
Identifies an entity set, singleton or queryable data
resulting from a call to a composable function import.
Syntax
public static System . Linq . IQueryable < TElement > GetQueryableSource < TElement >( string name , params object [] arguments )
Parameters
Name Type Description namestringThe name of an entity set, singleton or composable function import. argumentsobject[]If name is a composable function import, the arguments to be passed to the composable function import.
Returns
Type: System.Linq.IQueryable<TElement>
A representation of the entity set, singleton or queryable
data resulting from a call to the composable function import.
Type Parameters
TElement - The type of the elements in the queryable data.
GetQueryableSource
Identifies queryable data resulting
from a call to a composable function.
Syntax
public static System . Linq . IQueryable < TElement > GetQueryableSource < TElement >( string namespaceName , string name , params object [] arguments )
Parameters
Name Type Description namespaceNamestringThe name of a namespace containing the composable function. namestringThe name of a composable function. argumentsobject[]The arguments to be passed to the composable function.
Returns
Type: System.Linq.IQueryable<TElement>
A representation of the queryable data resulting
from a call to the composable function.
Type Parameters
TElement - The type of the elements in the queryable data.