sdk/dotnet/test/Datasync.Common.Test/Mocks/MockOfflineStore.cs
/// <summary>
/// Gets the or create table.
/// </summary>
/// <param name="tableName">Name of the table.</param>
/// <returns></returns>
Gets the or create table.
Gets the or create table .
public MockTable GetOrCreateTable(string tableName)
        {
            if (!TableMap.TryGetValue(tableName, out MockTable table))
            {
                TableMap[tableName] = table = new MockTable();
            }
            return table;
        }
public MockTable GetOrCreateTable ( string tableName ) { if ( ! TableMap . TryGetValue ( tableName , out MockTable table ) ) { TableMap [ tableName ] = table = new MockTable ( ) ; } return table ; }
Gets the or create table.
Gets the or create table .
None
tableName
string
Name of the table.
Name of the table .