Show / Hide Table of Contents

    ISqlBuilderCache Interface

    .NET Standard 2.x

    Represents an object used to cache the ISqlBuilder object.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

     public interface ISqlBuilderCache
    

    Method

    Name Return Type Description
    Get(string sqlBuilderName) ISqlReadOnlyBuilder Gets an ISqlReadOnlyBuilder object by the specified name.
    GetModifiable(string sqlBuilderName) TSqlBuilder Gets a modifiable TSqlBuilder object by the specified cache name.
    Set(string sqlBuilderName, ISqlBuilder sqlBuilder, bool readOnly = true) void Caches an ISqlBuilder object in the ISqlBuilderCache object and specifies a cache name for the ISqlBuilder object. You can also specify whether the ISqlBuilder object is read-only when it is obtained from the cache; by default it is read-only.

    See Also

    SqlBuilderFactory.Cache

    Back to top Generated by Appeon