linq 中的查询

  using System.Data.Linq.SqlClient;

 

string[] seatnos =new string[]{"mike","john"};

 

SqlMethods.Like( c.VoiceName, "%" + txt_VoiceName.Text + "%" ) && ( seatnos.Contains( c.Operator ) )

                         orderby c.OperateTime descending, c.VoiceState ascending
posted @ 2010-04-01 13:17  过错  阅读(145)  评论(0编辑  收藏  举报