string[] userIds = userList.Split(','); // is an array of integers
IList<User> users = (from user in this.repository.Users
where userIds.Contains(user.Id.ToString())
select user).ToList();
ऊपर क्वेरीLINQ विधि को नहीं पहचानता है 'System.String ToString()' विधि
System.NotSupportedException: LINQ to Entities does not recognize the method 'System.String ToString()' method, and this method cannot be translated into a store expression
मैं क्या कर सकता देता है?