摘要:
本地临时表的名称以单个数字字符(#)开头,它们仅对当前的用户连接是可见的。 全局临时表的名称以两个数字字符(##)开头,创建后对任何用户都是可见的。 阅读全文
posted @ 2019-05-05 11:10
SpringCore
阅读(1104)
评论(0)
推荐(0)
摘要:
使用@@IDENTITY 例如:insert into student(name,age) values('fanqi',23) select @@identity 使用 OUTPUT inserted 例如:INSERT INTO UserInfo(Username,LogName,[Passwo 阅读全文
posted @ 2019-05-05 11:08
SpringCore
阅读(2241)
评论(1)
推荐(2)
摘要:
Type类的使用(类反射)通过类获得Type: Type t = typeof(Person)通过实例对象获得类的Type: Type t = p.GetType()获取Type的方法:MethodInfo method = type.GetMethod("MethodName",new Type[ 阅读全文
posted @ 2019-05-05 11:05
SpringCore
阅读(490)
评论(0)
推荐(0)
摘要:
⒈Skip(int count) 说明:跳过集合的前n个元素;延迟。即我们跳过给定的数目返回后面的结果集。 ⒉Take(int count) 说明:获取集合的前n个元素;延迟。即只返回限定数量的结果集。 案例:分页查询 ⒊OrderBy 说明:按指定表达式对集合排序;延迟,默认是升序,加上desce 阅读全文
posted @ 2019-05-05 10:13
SpringCore
阅读(463)
评论(0)
推荐(0)

浙公网安备 33010602011771号