/// <summary> /// Gets the <paramref name="value"/> of a database column for the corresponding <paramref name="key"/> for the column collection `Stat`. /// </summary> /// <param name="key">The key of the column to get.</param> /// <param name="value">The value to assign to the column for the corresponding <paramref name="key"/>.</param> public void SetStat(DemoGame.StatType key, System.Int32 value) { this._stat[(DemoGame.StatType)key] = (System.Int16)value; }
/// <summary> /// Gets the value of a database column for the corresponding <paramref name="key"/> for the column collection `Stat`. /// </summary> /// <param name="key">The key of the column to get.</param> /// <returns> /// The value of the database column for the corresponding <paramref name="key"/>. /// </returns> public System.Int32 GetStat(DemoGame.StatType key) { return((System.Int32)_stat[(DemoGame.StatType)key]); }