【发布时间】:2011-04-29 08:14:56
【问题描述】:
这是this 问题的后续,但是上下文已经改变。打破公认的解决方案。
这次我尝试使用 SubSonic,但使用之前接受的解决方案会引发错误消息
System.NotSupportedException: The method 'get_Chars' is not supported
...
Line 36: char[] nums = "0123456789".ToCharArray();
Line 37:
Line 38: var b = repository.GetAll().Where(q => nums.Contains(q.BrukerIdent[0])).ToList();
Line 39:
Line 40:
据我所知,q.BrukerIdent 是一个字符串。所以我有点被扔了...
【问题讨论】: