Short sample:
create table x(
f number(5)
)
C# code
Code: Select all
class TableX
{
public ushort f { get; set; }
}
....
ushort prm = 10;
r = db.X
.Where(x => x.f == prm)
.ToList();
System.NotSupportedException: 'Not supported type 'System.UInt16' of the parameter '__prm_0'.'
How i can solve thir error?