Environment
.NET 3.5
Self Servicing
LLBL Pro 2.6
I know I might be doing something stupid here. I have following code
string connectionString = ConfigurationManager.ConnectionStrings["MyConn"].ConnectionString;
DbUtils.ActualConnectionString = connectionString;
PersonCollection ps = new PersonCollection();
ps.GetMulti(new PredicateExpression(Person.Lastname == "lastname" ));
Console.WriteLine(pt.Count);
Now when I generated the entities from LLBL Studio, I used a db named ForGeneratingLLBL but in app.config connection string is pointing to another db **Master **. My expection is that program will retrieve data from whatever is defined in DbUtils.ActualConnectionString (which in this case is defined in app.config) but for some reason its still retreiving data from ForGeneratingLLBL. Any idea what i am doing wrong here?