ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon" <ibatis....@gmail.com>
Subject Re: using public fields instead of properties ?
Date Thu, 21 Sep 2006 18:08:44 GMT
If you find an issue you can make a JIRA issue and attach a patch with
a unit test.

For private/public filed/propertis you can find unit tests in
E:\Projet\iBatis\trunk\cs\mapper\IBatisNet.Common.Test\NUnit\CommonTests\Utilities.

You can also find usage in IBatisNet.DataMapper.Test.

Sample :
Class
	/// <summary>
	/// Account.
	/// </summary>
	[Serializable]
	public class Account
	{
		private int id;
...

Mapping
<resultMap id="account-result"  class="Account" >
	<result property="id"           column="Account_ID"/>

-- 
Cheers,
Gilles

<a href="http://www.amazon.com/gp/registry/6JCP7AORB0LE">Wish List</a>

Mime
View raw message