Does anyone know what DbType is equivalent to SqlDbType.Bit?
I'm trying to convert
param[0] = new SqlParameter("@Status", SqlDbType.Bit); param[0].Value = Status;
to
db.AddInParameter(dbCommand, "@Status", <DbType dbType>, Status);
but I don’t know which DbType to use to represent one Bit. Any ideas?
source share