/// <summary> /// Applies the custom settings to the <see cref="DbClassGenerator"/>. /// </summary> /// <param name="gen">The <see cref="DbClassGenerator"/> to apply the custom settings to.</param> public void ApplySettings(DbClassGenerator gen) { gen.Formatter.AddAlias("shop_id", "ShopID"); gen.AddCustomType(typeof(ShopID), "shop", "id"); gen.AddCustomType(typeof(ShopID), "*", "shop_id"); }
/// <summary> /// Applies the custom settings to the <see cref="DbClassGenerator"/>. /// </summary> /// <param name="gen">The <see cref="DbClassGenerator"/> to apply the custom settings to.</param> public void ApplySettings(DbClassGenerator gen) { gen.Formatter.AddAlias("quest_id", "QuestID"); gen.Formatter.AddAlias("req_quest_id", "ReqQuestID"); gen.AddCustomType(typeof(QuestID), "quest", "id"); gen.AddCustomType(typeof(QuestID), "*", "quest_id", "req_quest_id"); }
/// <summary> /// Applies the custom settings to the <see cref="DbClassGenerator"/>. /// </summary> /// <param name="gen">The <see cref="DbClassGenerator"/> to apply the custom settings to.</param> public void ApplySettings(DbClassGenerator gen) { gen.Formatter.AddAlias("guild_id", "GuildID"); gen.AddCustomType(typeof(GuildID), "guild", "id"); gen.AddCustomType(typeof(GuildID), "*", "guild_id"); gen.AddCustomType(typeof(GuildRank), "guild_member", "rank"); }