Hi,
I am trying the trial version of LLBLGen Pro 3.1. I am using SQL Server Compact 3.5 in a Winforms project created with Visual Studio 2008.
I am trying to run the following code:
PetsWithPicFilenameTypedList petsList = new PetsWithPicFilenameTypedList();
using (DataAccessAdapter adapter = new DataAccessAdapter())
{
IRelationPredicateBucket bucket = petsList.GetRelationInfo();
bucket.PredicateExpression.Add(PetFields.PetVisible == 1);
ISortExpression sorter = new SortExpression(PetFields.PetCallName | SortOperator.Ascending);
adapter.FetchTypedList(petsList.GetFieldsInfo(), petsList, bucket, 0, sorter, false);
}
and I am getting an "InvalidOperationException was unhandled: ConnectionString property has not been initialized" error message.
I have created a SQL Server Express database and then created an LLBLGen project and generated the code. Now I want to run the code against the equivalent compact database.
I think there is something wrong with my connection string.
Can someone help.
Rene