Class SQLDatabase<TKey, TValue>
Inheritance
System.Object
SQLDatabase<TKey, TValue>
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