首页 > 代码库 > iBatis.Net 语句 获取Identity ID

iBatis.Net 语句 获取Identity ID

<insert id="Table_Operate_Id" parameterClass="Entity" resultClass="System.Int32">  <selectKey property="Id" type="post" resultClass="System.Int32">    select @@IDENTITY as value  </selectKey>  INSERT INTO ...</insert>

 

iBatis.Net 语句 获取Identity ID