Version: 15.0

    Show / Hide Table of Contents

    Class SQLDatabase<TKey, TValue>

    Inheritance
    System.Object
    APIBase
    Database<TKey, TValue>
    SQLDatabase<TKey, TValue>
    RollingBearingDatabase
    NamedDatabase<TValue>
    Implements
    System.IEquatable<APIBase>
    Inherited Members
    Database<TKey, TValue>.CanBeRemoved(TValue)
    Database<TKey, TValue>.GetAllItems()
    Database<TKey, TValue>.Count
    APIBase.DisconnectFromMASTA()
    APIBase.GetProperty<T>(String)
    APIBase.SetProperty(String, Object)
    APIBase.clearCachedRpds()
    APIBase.getNamedObjectList<TElementType>(String)
    APIBase.getExpandableProperty<TReturnType>(String)
    APIBase.callPartialMethod(String, [])
    APIBase.callPartialMethod<T>(String, T)
    APIBase.callPartialMethod<T>(String, , T)
    APIBase.callPartialMethod<T>(String, , , T)
    APIBase.callPartialMethod<T>(String, , , , T)
    APIBase.callPartialMethod<T1, T2>(String, , T1, T2)
    APIBase.getPartialProperty(String)
    APIBase.setPartialProperty(String, Object)
    APIBase.IsValid(String)
    APIBase.IsReadOnly(String)
    APIBase.DocumentationUrl()
    APIBase.ToString()
    APIBase.RunPython<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String, String, Object)
    APIBase.RunPythonCode<T>(String)
    APIBase.RunPython<T>(String, String)
    APIBase.RunPython(String, String, Object)
    APIBase.createWrappedRange(Double, Double)
    APIBase.createWrappedVector2D(Double, Double)
    APIBase.createWrappedPosition3D(Double, Double, Double)
    APIBase.ToListWithSelectedItem<T>(IEnumerable<T>)
    APIBase.ToListWithSelectedItem<T>(T, IEnumerable<T>)
    APIBase.Equals(APIBase)
    APIBase.GetHashCode()
    APIBase.Equals(Object)
    APIBase.InvalidProperties
    APIBase.ReadOnlyProperties
    APIBase.AllPropertiesAreReadOnly
    APIBase.AllPropertiesAreInvalid
    APIBase.cacheRpds
    APIBase.isInvalid
    Namespace: SMT.MastaAPI.Utility.Databases
    Assembly: SMT.MastaAPI.15.0.dll
    Syntax
    public abstract class SQLDatabase<TKey, TValue> : Database<TKey, TValue>, IEquatable<APIBase> where TKey : DatabaseKey where TValue : APIBase
    Type Parameters
    Name Description
    TKey
    TValue

    Properties

    AllowNetworkDatabase

    Declaration
    public virtual bool AllowNetworkDatabase { get; }
    Property Value
    Type Description
    System.Boolean

    Name

    Declaration
    public virtual string Name { get; }
    Property Value
    Type Description
    System.String

    UsesDatabase

    Declaration
    public bool UsesDatabase { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Delete(TKey)

    Declaration
    public void Delete(TKey key)
    Parameters
    Type Name Description
    TKey key

    Reload(TaskProgress, Boolean)

    Declaration
    public void Reload(TaskProgress taskProgress, bool reloadProtobuf = false)
    Parameters
    Type Name Description
    SMT.MastaAPIUtility.TaskProgress taskProgress
    System.Boolean reloadProtobuf

    Save(TValue)

    Declaration
    public void Save(TValue item)
    Parameters
    Type Name Description
    TValue item

    Implements

    System.IEquatable<T>

    Extension Methods

    UtilityMethods.IsReadOnly<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsValid<T>(T, Expression<Func<T, Object>>)
    UtilityMethods.IsMethodValid<T>(T, Expression<Func<T, Action>>)
    UtilityMethods.IsMethodReadOnly<T>(T, Expression<Func<T, Action>>)
    Back to top