ibatis 参数 指定类型



文档: http://ibatis.apache.org/docs/dotnet/datamapper/ch03s04.html

<update id="UpdateAccountViaInlineParameters" parameterClass="Account">
 update Accounts set
 Account_FirstName = #FirstName#,
 Account_LastName = #LastName#,
 Account_Email = #EmailAddress,type=string,dbType=Varchar,nullValue=no_email@provided.com#
 where
 Account_ID = #Id#
</update>



所有官方文档目录: http://ibatis.apache.org/docs/dotnet/datamapper/
posted @ 2019-11-13 17:04  陈同学  阅读(982)  评论(0编辑  收藏  举报