jeudi 21 mai 2020

Is it possible to send tvp parameter using DbParameter

I know we can use SqlParameter and SqlDbType.Structured to pass tvp parameters to a stored procedures. But is it possible with DbParameter? DbParameter's DbType doesn't have structured enum value.

Instead of using SqlClient provider, I'm trying to use provider mentioned in config file. So I'm trying to use base classes instead of SQL derived classes.

Aucun commentaire:

Enregistrer un commentaire