Table Valued Parameter issue with MONO cs
问题 I have a simple code to create SqlParameter for Table Valued Type. The given code works just fine with .NET 4.0. Issue is with MONO CS (3.12.0), I cannot simply compile the same code in MONO. static SqlParameter GetDataTableParam(string _tableName, DataTable _dt) { SqlParameter tValue = new SqlParameter(); tValue.ParameterName = "@dr" + _tableName; //@drFactory tValue.SqlDbType = SqlDbType.Structured; tValue.Value = _dt; tValue.TypeName = string.Format("dbo.{0}Item", _tableName); //MONO CS is