Thank you Otis,
but I can't find
DaoBase.CreateConnection
CommonDaoBase.CreateConnection
May be i'm blind but I search this a long time....
What do I want to do?
I would like to execute an old SQL-Statement. And I don't want to transfer it into LLBLGEN-Code. Just execute it like it is...
In LLBLGEN Pro v 2.6 i did it with RetrievalQuery:
var rq = new RetrievalQuery(new SqlCommand("Select id,* from sometable"));
rq.Connection = DbUtils.CreateConnection();
rq.Connection.Open();
SqlDataReader test = rq.Execute(CommandBehavior.SingleResult) as SqlDataReader;
var hasrows = test.HasRows;
test.Read();
var wert = test.GetGuid(0);
Now I change from 2.6 to 4.2 and miss CreateConnection ......
Thanks!