摘要: public static string EntryString(string desstr) { //与解密保持一致的8位字符 string sKey = "qwer#@!."; byte[] keyBytes = Encoding.UTF8.GetBytes(sKey); byte[] keyIV... 阅读全文
posted @ 2016-12-16 13:50 微笑代表淡定.Net 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 首先,在程序中接受一个数组 例如:int[] s=[1,2,3]; 在Lamda表达式中使用如下: db.userinfo.where(u=>s.Contains(u.id)); 等同于sql语句: select * from userinfo where id in (1,2,3) 阅读全文
posted @ 2016-12-16 10:05 微笑代表淡定.Net 阅读(365) 评论(0) 推荐(0) 编辑