If you want to search for a partial numeric match you will need to obviously convert the int to a string and use Contains for the comparison.
I don't have a model setup to test but it should be something like
var disp = from i in te.alltypes
where i.ToString().Contains(sid)
select i;