public static NpgsqlParameter GetOutPutParameterValue(this NpgsqlCommand cmd, SqlParameterName parameterName) { return(cmd.Parameters[string.Format("@{0}", (object)parameterName)]); }
public static SqlParameter GetOutPutParameterValue(this SqlCommand cmd, SqlParameterName parameterName) { return(cmd.Parameters[$"@{parameterName}"]); }