How to add a record in the database with the indication of the desired scheme? The problem with the request. If you do not specify the name of the scheme, then writes to public, if I specify then I get an error.
public void insertquery(string sName) { command.CommandText = $"INSERT INTO rpsql.s_test(script_name) values ('{sName}')"; connection.Open(); command.ExecuteNonQuery(); connection.Close(); } 
schema_nameis the name of the schema, what's the question? - RusArt