Data/CafeLib.Data/Cache/TableCache.cs
/// <summary>
/// Used to setup custom table conventions.
/// </summary>
/// <param name="tablePrefix">table name prefix</param>
/// <param name="tableSuffix">table name suffix</param>
// ReSharper disable once UnusedMember.Global
Used to setup custom table conventions.
Used to setup custom table conventions .
public static void SetupConvention(string tablePrefix, string tableSuffix)
        {
            if (TableNames.Count > 0)
            {
                throw new InvalidConstraintException("TableMapper.SetupConvention called after usage.");
            }
            _prefix = tablePrefix;
            _suffix = tableSuffix;
            TableNames.Clear();
        }
public static void SetupConvention ( string tablePrefix , string tableSuffix ) { if ( TableNames . Count > 0 ) { throw new InvalidConstraintException ( " " ) ; } _prefix = tablePrefix ; _suffix = tableSuffix ; TableNames . Clear ( ) ; }
Used to setup custom table conventions.
Used to setup custom table conventions .
tablePrefix
string
table name prefix
table name prefix
tableSuffix
string
table name suffix
table name suffix