public static ODataQuerySettings QuerySettings(this IOdataApplyOptions odataApplyOptions) => odataApplyOptions?.QuerySettings ?? ODataApplyOptions.DefaultInstance.QuerySettings;
public static AllowedQueryOptions IgnoredQueryOptions(this IOdataApplyOptions odataApplyOptions, bool?ordered = null) => odataApplyOptions?.IgnoreQueryOptions(ordered ?? ODataApplyOptions.DefaultOrdered) ?? ODataApplyOptions.DefaultInstance.IgnoredQueryOptions(ordered ?? ODataApplyOptions.DefaultOrdered);