コード例 #1
0
        public Task SetManagerRoles(ulong guildId, IReadOnlyCollection <ulong> roleIds)
        {
            var options = _queryProvider.SetManagerRolesOptions(guildId, roleIds);

            using var command = CreateCommandWithParameters(options.Item1, options.Item2);
            command.ExecuteScalar();
            return(Task.CompletedTask);
        }