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