ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ling Wang (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-101) Support for public fields
Date Tue, 09 Aug 2005 13:49:45 GMT
Support for public fields
-------------------------

         Key: IBATISNET-101
         URL: http://issues.apache.org/jira/browse/IBATISNET-101
     Project: iBatis for .NET
        Type: New Feature
  Components: DataMapper  
 Environment: .Net
    Reporter: Ling Wang


Currently, IBatis.Net support only private fields and public properties. For example:

private string _FirstName; 
public string FirstName
{
        get { return _FirstName; }
        set { _FirstName = value; }
}

IBatis for .Net should also support

public string FirstName;

The way of doing it is to add an field attribute starting from:

<result property="FirstName" column="PER_FIRST_NAME" 
/>

add support for:

<result field="FirstName" column="PER_FIRST_NAME" />




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message