Hi,
We've been using LLBLGenPro Version 2.6 for a few years now without any problems in our ASP.Net project.
I'm now trying to use the same assembly in a Windows forms project.
When I try an instantiate an instance of a particular entity class I get the following exception thrown.
The type initializer for 'Intersalon.DAL.EntityClasses.SalonSmsSettingsEntity' threw an exception.
This issue seems specific to this class because other entity classes instantiate as expected.
The test code is:
private void button1_Click(object sender, EventArgs e)
{
SalonAppointmentEntity a = new SalonAppointmentEntity();
SalonStylistEntity st = new SalonStylistEntity();
SalonSmsSettingsEntity s = new SalonSmsSettingsEntity();
}
And the exception is thrown on the third line.
Any ideas what the problem is with this class?
BTW: We are using the self servicing model
Thanks
Glynn