Hello,

I have understood about Tony's advice, but it's different from my project
because my problem is internal constructor in public class, not internal
class. I think maybe iBatis only look for public constructor in class.

I belive it is so. My proposal:

/// <summary>
/// Constructor for IBatis only - use the other one.
/// </summary>
[Obsolete]
public MyClass() { }


--
Mit freundlichen Grüßen
Marcin Wisthal
Software Developer

Software Solutions Team  Sp. z o.o.
ul. Bohaterów Getta Warszawskiego 9
44-100 Gliwice
Tel.            +48 (0)32 777 53 52
Fax.            +48 (0)32 777 53 31
Homepage        http://www.sst.pl

Register/ Sąd Rejestrowy   : Sąd Rejonowy w Gliwicach, X Wydział Gospodarczy KRS
Registernr./KRS            : 0000130970
USt-IdNr./NIP              : 639-18-03-194
Betriebsnummer/Regon       : 277821742
Stammkapital/ Kapitał zakł.: 50.000 zł

Reply via email to