Hi,
I generated code for a PocketPc application using LLBLGen Pro 1.0.2005.1 Beta.
When I run the application and I try to create an entity with this code:
private void button1_Click(object sender, System.EventArgs e)
{
DataAccessAdapter a= new DataAccessAdapter("\\My Documents\\Forums", true);
ForumsCensorshipEntity item2= new ForumsCensorshipEntity("asshole");//ERROR
a.SaveEntity(item2);
}
the program throws the error:
An unhandled exception of type 'System.MissingMethodException' occurred in SD.LLBLGen.Pro.ORMSupportClasses.CF11.dll
The exception is launched at this point:
public ForumsCensorshipEntity(System.String word):base("ForumsCensorshipEntity")
{
InitClassEmpty(CreateValidator(), CreateFields()); //This line produces the Error
this.Word = word;
}
I deleted several times the whole project and restarted from scratch and I added all the references needed, but the error persists.
I used the following configuration to generate the code:
Name: Adapter scenario (Full / Safe) Vs.Net 2003 CF.NET
Version: 1.0.2005.1.09102005
And template:
Name: C# template set for CF.NET (Pocket PC) SqlServerCe (1.0.2005.1)
Version: 1.0.2005.1.091405
I'm stuck. I hope it's something stupid.
Thank you very much.