I am one of the developers of LightSpeed.
The LINQ provider in RTM LightSpeed 3.11 does not support Convert.ToInt32. However, now we have added support through the nightly release, available for download now.
If you do not want to use the nightly release, you can achieve the desired result by dropping it to the query objects API and directly calling the SQL CAST function. It will look something like this:
Query query = new Query
{
Order = Order.By(Entity.Attribute("Number")
.Function("CAST", new LiteralExpression("INTEGER") { EmitInline = true }))
};
uow.Find<RfidTag>(query);
LiteralExpression , LightSpeed ( SQL-). CAST SQL CAST(Number, INTEGER), CAST(Number, @p0), p0 "INTEGER". EmitInline, , .
, Convert.ToInt32 LINQ, , .