Search Results for

    Show / Hide Table of Contents

    Class QueryCache

    Contains the complete query cache

    Inheritance
    System.Object
    QueryCache
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: SqlDotNet
    Assembly: SqlDotNet.dll
    Syntax
    public static class QueryCache

    Methods

    | Improve this Doc View Source

    CacheQuery(String, CompiledQuery)

    Cache a query

    Declaration
    public static void CacheQuery(string notHashedQuery, CompiledQuery query)
    Parameters
    Type Name Description
    System.String notHashedQuery

    Sql statement

    CompiledQuery query

    Query instance

    | Improve this Doc View Source

    GetQuery(String)

    Try to get a query. If not cached return null

    Declaration
    public static CompiledQuery GetQuery(string notHashedQuery)
    Parameters
    Type Name Description
    System.String notHashedQuery

    Not hashed query

    Returns
    Type Description
    CompiledQuery

    Compiled query if found, else null

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx