Query MembersNFX Class Library

[This is preliminary documentation and is subject to change.]

The Query type exposes the following members.
Constructors

  NameDescription
Public methodQuery(String, IDataStoreKey, Type)
Initializes a new instance of the Query class
Public methodQuery(String, Type, Dictionary String, Object )
Initializes a new instance of the Query class
Public methodQuery(Nullable Guid , String, IDataStoreKey, Type)
Initializes a new instance of the Query class
Public methodQuery(Nullable Guid , String, Type, Dictionary String, Object )
Initializes a new instance of the Query class
Back to Top
Methods

  NameDescription
Public methodOnlineAdd (Inherited from OnlineList Query Param .)
Public methodOnlineAddRange (Inherited from OnlineList Query Param .)
Public methodOnlineAsReadOnly (Inherited from OnlineList Query Param .)
Public methodOnlineBinarySearch(T) (Inherited from OnlineList Query Param .)
Public methodOnlineBinarySearch(T, IComparer T )
Searches the entire sorted OnlineList T  for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from OnlineList Query Param .)
Public methodOnlineBinarySearch(Int32, Int32, T, IComparer T )
Searches a range of elements in the sorted OnlineList T  for an element using the specified comparer and returns the zero-based index of the element.
(Inherited from OnlineList Query Param .)
Public methodOnlineClear (Inherited from OnlineList Query Param .)
Public methodOnlineContains (Inherited from OnlineList Query Param .)
Public methodOnlineConvertAll TOutput  (Inherited from OnlineList Query Param .)
Public methodOnlineCopyTo( T ) (Inherited from OnlineList Query Param .)
Public methodOnlineCopyTo( T , Int32) (Inherited from OnlineList Query Param .)
Public methodOnlineCopyTo(Int32,  T , Int32, Int32)
Copies a range of elements from the OnlineList T  to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from OnlineList Query Param .)
Public methodEquals (Overrides OnlineObject Equals(Object).)
Public methodOnlineExists (Inherited from OnlineList Query Param .)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineFind
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire OnlineList T .
(Inherited from OnlineList Query Param .)
Public methodOnlineFindAll
Retrieves all the elements that match the conditions defined by the specified predicate.
(Inherited from OnlineList Query Param .)
Public methodOnlineFindIndex(Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire OnlineList T .
(Inherited from OnlineList Query Param .)
Public methodOnlineFindIndex(Int32, Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the OnlineList T  that extends from the specified index to the last element.
(Inherited from OnlineList Query Param .)
Public methodOnlineFindIndex(Int32, Int32, Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the OnlineList T  that starts at the specified index and contains the specified number of elements.
(Inherited from OnlineList Query Param .)
Public methodOnlineFindLast
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire OnlineList T .
(Inherited from OnlineList Query Param .)
Public methodOnlineFindLastIndex(Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire OnlineList T .
(Inherited from OnlineList Query Param .)
Public methodOnlineFindLastIndex(Int32, Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the OnlineList T  that extends from the first element to the specified index.
(Inherited from OnlineList Query Param .)
Public methodOnlineFindLastIndex(Int32, Int32, Predicate T )
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the OnlineList T  that contains the specified number of elements and ends at the specified index.
(Inherited from OnlineList Query Param .)
Public methodFindParamByName
Public methodOnlineForEach (Inherited from OnlineList Query Param .)
Public methodOnlineGetEnumerator (Inherited from OnlineList Query Param .)
Public methodGetHashCode (Overrides OnlineObject GetHashCode .)
Public methodOnlineGetRange (Inherited from OnlineList Query Param .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodOnlineIndexOf(T) (Inherited from OnlineList Query Param .)
Public methodOnlineIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the OnlineList T  that extends from the specified index to the last element.
(Inherited from OnlineList Query Param .)
Public methodOnlineIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the OnlineList T  that starts at the specified index and contains the specified number of elements.
(Inherited from OnlineList Query Param .)
Public methodOnlineInsert (Inherited from OnlineList Query Param .)
Public methodOnlineInsertRange (Inherited from OnlineList Query Param .)
Public methodOnlineLastIndexOf(T) (Inherited from OnlineList Query Param .)
Public methodOnlineLastIndexOf(T, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the OnlineList T  that extends from the first element to the specified index.
(Inherited from OnlineList Query Param .)
Public methodOnlineLastIndexOf(T, Int32, Int32)
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the OnlineList T  that contains the specified number of elements and ends at the specified index.
(Inherited from OnlineList Query Param .)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodParamByName
Public methodOnlineRemove (Inherited from OnlineList Query Param .)
Public methodOnlineRemoveAll
Removes all the elements that match the conditions defined by the specified predicate.
(Inherited from OnlineList Query Param .)
Public methodOnlineRemoveAt (Inherited from OnlineList Query Param .)
Public methodOnlineRemoveRange (Inherited from OnlineList Query Param .)
Public methodOnlineReverse  (Inherited from OnlineList Query Param .)
Public methodOnlineReverse(Int32, Int32)
Reverses the order of the elements in the specified range.
(Inherited from OnlineList Query Param .)
Public methodOnlineSort  (Inherited from OnlineList Query Param .)
Public methodOnlineSort(IComparer T ) (Inherited from OnlineList Query Param .)
Public methodOnlineSort(Comparison T ) (Inherited from OnlineList Query Param .)
Public methodOnlineSort(Int32, Int32, IComparer T ) (Inherited from OnlineList Query Param .)
Public methodOnlineToArray (Inherited from OnlineList Query Param .)
Public methodToString (Overrides OnlineObject ToString .)
Public methodOnlineTrimExcess (Inherited from OnlineList Query Param .)
Public methodOnlineTrueForAll (Inherited from OnlineList Query Param .)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodAsBool (Defined by ObjectValueConversion.)
Public Extension MethodAsByte (Defined by ObjectValueConversion.)
Public Extension MethodAsChar (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDateTime(DateTime, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDID(GDID, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGDIDSymbol(GDIDSymbol, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsInt (Defined by ObjectValueConversion.)
Public Extension MethodAsJSONConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLaconicConfig (Defined by ObjectValueConversion.)
Public Extension MethodAsLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNonNullOrEmptyString (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableBool (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableChar (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDateTime (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDecimal (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableDouble (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableEnum TEnum  (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableFloat (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGDIDSymbol (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableGUID (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableLong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableShort (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableTimeSpan (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableULong (Defined by ObjectValueConversion.)
Public Extension MethodAsNullableUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsSByte (Defined by ObjectValueConversion.)
Public Extension MethodAsShort (Defined by ObjectValueConversion.)
Public Extension MethodAsString (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsTimeSpan(TimeSpan, ConvertErrorHandling)Overloaded. (Defined by ObjectValueConversion.)
Public Extension MethodAsUInt (Defined by ObjectValueConversion.)
Public Extension MethodAsULong (Defined by ObjectValueConversion.)
Public Extension MethodAsUri (Defined by ObjectValueConversion.)
Public Extension MethodAsUShort (Defined by ObjectValueConversion.)
Public Extension MethodAsXMLConfig (Defined by ObjectValueConversion.)
Public Extension MethodToErlObject Overloaded.
Try to convert .NET native object type to corresponding Erlang term. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToErlObject(ErlTypeOrder, Boolean)Overloaded.
Try to convert .NET native object type to corresponding Erlang term of given type. Throw exception if conversion is not possible
(Defined by ErlObject.)
Public Extension MethodToJSON(JSONWritingOptions)Overloaded.
Serializes object into JSON string
(Defined by JSONExtensions.)
Public Extension MethodToJSON(TextWriter, JSONWritingOptions)Overloaded.
Serializes object into JSON format using provided TextWriter
(Defined by JSONExtensions.)
Public Extension MethodToJSON(Stream, JSONWritingOptions, Encoding)Overloaded.
Serializes object into JSON format using provided stream and optional encoding
(Defined by JSONExtensions.)
Back to Top
Properties

  NameDescription
Public propertyAllParameters
Public propertyCacheAbsentData
When true would cache the instance of AbsentData to signify the absence of data in the backend for key
Public propertyOnlineCapacity
Gets or sets the total number of elements the internal data structure can hold without resizing.
(Inherited from OnlineList Query Param .)
Public propertyOnlineCount (Inherited from OnlineList Query Param .)
Public propertyExtra
Returns extra parameters that provider may need to render the query. May be null
Public propertyIdentity
Returns the identity of this instance, that is - an ID that UNIQUELY identifies the instance of this query including all of the names, parameters, values. This is needed for Equality comparison and cache lookup. The identity is either generated by .ctor or supplied to it if it is cached (i.e. in a user session)
Public propertyOnlineItem Int32 
Gets or sets the element at the specified index.
(Inherited from OnlineList Query Param .)
Public propertyItem String 
Returns parameter by its name or null
Public propertyName
Returns Query name, providers use it to locate SQL/scripts particular to backend implementation that they represent. QueryResolver resolves query by its name into ICRUDQueryHandler. Name is case-insensitive
Public propertyReadCacheMaxAgeSec
If greater than 0 then would allow reading a cached result for up-to the specified number of seconds. If =0 uses cache's default span. Less than 0 does not try to read from cache
Public propertyResultRowType
Returns a type of result row requested in .ctor which is always a TypedRow derivative type, or null if no particular type was requested
Public propertyStoreKey
Returns the key if one was passed in .ctor when key is set the parameters are ignored
Public propertyWriteCacheMaxAgeSec
If greater than 0 then writes to cache with the expiration. If =0 uses cache's default life span. Less than 0 does not write to cache
Public propertyWriteCachePriority
Relative cache priority which is used when WriteCacheMaxAgeSec>=0
Back to Top
See Also