Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
获取 @@identity 值。
public virtual ul_u_big GetLastIdentity()
自动增量或全局自动增量列中上次插入的值
该值是数据库的自动增量或全局自动增量列中上次插入的值。关闭数据库时不会记录该值,因此在插入任何自动增量值之前调用此方法将返回 0。
上次插入的值可能位于另一个连接上。