映射xml文件书写如下

IBatisNet系列-执行存储过程<?xml version="1.0" encoding="utf-8" ?>
IBatisNet系列-执行存储过程
IBatisNet系列-执行存储过程
<sqlMap namespace="Member" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="SqlMap.xsd">
IBatisNet系列-执行存储过程    
<resultMaps>
IBatisNet系列-执行存储过程        
<resultMap id="SelectResult" class="PlatAdmin.Model.Member">
IBatisNet系列-执行存储过程            
<result property="Id" column="id" />
IBatisNet系列-执行存储过程            
<result property="Identityno" column="identityno" />
IBatisNet系列-执行存储过程            
<result property="Telephone" column="telephone" />
IBatisNet系列-执行存储过程            
<result property="Email" column="email" />
IBatisNet系列-执行存储过程            
<result property="Linktel" column="linktel" />
IBatisNet系列-执行存储过程            
<result property="Address" column="address" />
IBatisNet系列-执行存储过程            
<result property="Content" column="content" />
IBatisNet系列-执行存储过程            
<result property="Username" column="username" />
IBatisNet系列-执行存储过程            
<result property="Password" column="password" />
IBatisNet系列-执行存储过程            
<result property="Truename" column="truename" />
IBatisNet系列-执行存储过程            
<result property="Enable" column="enable" />
IBatisNet系列-执行存储过程            
<result property="Regdate" column="regdate" />
IBatisNet系列-执行存储过程        
</resultMap>
IBatisNet系列-执行存储过程    
</resultMaps>
IBatisNet系列-执行存储过程        
IBatisNet系列-执行存储过程    
<parameterMaps>
IBatisNet系列-执行存储过程        
<parameterMap id="swapParas" class="PlatAdmin.Model.Member">
IBatisNet系列-执行存储过程            
<parameter property="querystr" column="" />
IBatisNet系列-执行存储过程            
<parameter property="keyfield" column="" />
IBatisNet系列-执行存储过程            
<parameter property="pagesize" column="" />
IBatisNet系列-执行存储过程            
<parameter property="pagenumber" column="" />
IBatisNet系列-执行存储过程        
</parameterMap>
IBatisNet系列-执行存储过程    
</parameterMaps>
IBatisNet系列-执行存储过程    
IBatisNet系列-执行存储过程    
<statements>
IBatisNet系列-执行存储过程        
<procedure id="GetMemberList" parameterMap="swapParas" resultMap="SelectResult">
IBatisNet系列-执行存储过程            usp_GetRecordset
IBatisNet系列-执行存储过程        
</procedure>
IBatisNet系列-执行存储过程
IBatisNet系列-执行存储过程        
IBatisNet系列-执行存储过程    
</statements>
IBatisNet系列-执行存储过程
</sqlMap>

 程序代码如下:

IBatisNet系列-执行存储过程public IList GetMemberList(string querystr,int pageNo)
        }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-18
  • 2021-09-26
  • 2021-12-11
  • 2021-10-09
  • 2022-12-23
相关资源
相似解决方案