[ 
http://issues.apache.org/jira/browse/IBATISNET-194?page=comments#action_12447125
 ] 
            
Gilles Bayon commented on IBATISNET-194:
----------------------------------------

By "read-only" entities, what do you mean.
If it is, an entity does that only have private fields and get access 
proprerties, 
then you can use private filed mapping or use a public constructor for mapping.

I don't see why you want a private constructor ?

> Support for non-public constructors
> -----------------------------------
>
>                 Key: IBATISNET-194
>                 URL: http://issues.apache.org/jira/browse/IBATISNET-194
>             Project: iBatis for .NET
>          Issue Type: Improvement
>          Components: DataMapper
>    Affects Versions: DataMapper 1.6
>         Environment: .NET
>            Reporter: Craig Wilson
>            Priority: Minor
>
> It would be nice to support non-public constructors natively rather than 
> creating a custom IObjectFactory for "read-only" entities.

-- 
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

        

Reply via email to