Npgsql Api Docs |

# NpgsqlCommandBuilder.DeriveParameters Method

This method is reponsible to derive the command parameter list with values obtained from function definition. It clears the Parameters collection of command. Also, if there is any parameter type which is not supported by Npgsql, an InvalidOperationException will be thrown. Parameters name will be parameter1, parameter2, ... For while, only parameter name and NpgsqlDbType are obtained.

[Visual Basic]
Public Shared Sub DeriveParameters( _
ByVal command As NpgsqlCommand _
)
[C#]
public static void DeriveParameters(
NpgsqlCommand command
);

#### Parameters

command
  NpgsqlCommand whose function parameters will be obtained.

#### See Also

NpgsqlCommandBuilder Class | Npgsql Namespace