You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by gb...@apache.org on 2005/05/15 10:37:02 UTC
svn commit: r170207 - in
/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test:
Domain/Account.cs Maps/MSSQL/SqlClient/Account.xml
bin/Debug/IBatisNet.DataMapper.Test.dll.config
Author: gbayon
Date: Sun May 15 01:37:01 2005
New Revision: 170207
URL: http://svn.apache.org/viewcvs?rev=170207&view=rev
Log:
- updated Nunit test
Modified:
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Account.cs
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml
incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Account.cs
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Account.cs?rev=170207&r1=170206&r2=170207&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Account.cs (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Domain/Account.cs Sun May 15 01:37:01 2005
@@ -12,6 +12,8 @@
private string _lastName;
private string _emailAddress;
private int[] _ids = null;
+ private bool _bannerOption = false;
+ private bool _cartOption = false;
public int Id
{
@@ -71,6 +73,18 @@
{
_ids = value;
}
+ }
+
+ public bool BannerOption
+ {
+ get { return _bannerOption; }
+ set { _bannerOption = value; }
+ }
+
+ public bool CartOption
+ {
+ get { return _cartOption; }
+ set { _cartOption = value; }
}
}
}
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml?rev=170207&r1=170206&r2=170207&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/Maps/MSSQL/SqlClient/Account.xml Sun May 15 01:37:01 2005
@@ -70,13 +70,17 @@
<result property="FirstName" column="Account_FirstName"/>
<result property="LastName" column="Account_LastName"/>
<result property="EmailAddress" column="Account_Email" nullValue="no_email@provided.com"/>
+ <!--<result property="BannerOption" column="Account_Banner_Option" dbType="Varchar" type="boolean"/>
+ <result property="CartOption" column="Account_Cart_Option" typeHandler="HundredsBool"/>-->
</resultMap>
+
<resultMap id="indexed-account-result" class="Account">
<result property="Id" column="Account_ID" columnIndex="0"/>
<result property="FirstName" column="Account_FirstName" columnIndex="1"/>
<result property="LastName" column="Account_LastName" columnIndex="2"/>
<result property="EmailAddress" column="Account_Email" columnIndex="3" nullValue="no_email@provided.com"/>
</resultMap>
+
<resultMap id="account-result-nullable-email" class="Account">
<result property="Id" column="Account_ID"/>
<result property="FirstName" column="Account_FirstName"/>
Modified: incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config?rev=170207&r1=170206&r2=170207&view=diff
==============================================================================
--- incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config (original)
+++ incubator/ibatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/bin/Debug/IBatisNet.DataMapper.Test.dll.config Sun May 15 01:37:01 2005
@@ -20,7 +20,7 @@
<!-- To test MySql via MySql provider value="MySql" -->
<!-- To test via OleDb provider (any database) value="OleDb" -->
<!-- To test via Odbc provider (any database) value="Odbc" -->
- <add key="providerType" value="OleDb"/>
+ <add key="providerType" value="SqlClient"/>
</appSettings>
<!-- This section contains the log4net configuration settings -->