Hi,

I would like to use IBATIS for .Net with classes which
has only public fields instead of setters and getters.
Namely,

Rather than private fields and public properties:

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

I just have

public string FirstName;

I tried with the hello world samples and it does not
work (complaining that it can not found setters).

Is there any way to make it work or I just have to
stay with properties (setters and getters)?

Thanks a lot.

Ling

Reply via email to