Hi,
we just switched from linq2sql to oAORM and now many querys not working any more. Why is for example the following query not working? I don't understand the failure..
Public Function check_bruteversuch(user As String) As Boolean
Dim max_zeit As New TimeSpan(0, 10, 0)
Dim bruteforce = (From it In _dbmaster.Loginspeicher _
Where it.Customer = HttpContext.Current.Request.Url.Host.ToString _
And it.Benutzername = user _
And it.War_erfolgreich = False _
And (Now - it.Datum) < max_zeit _
Select it).Count
An exception occured during the execution of 'Extent<pms_neu.Loginspeicher>().Where(it => (((Convert(((CompareString(it.Customer, HttpContext.Current.Request.Url.Host.ToString(), False) == 0) And (CompareString(it.Benutzername, value(pms_neu.login_helper+_Closure$__1).$VB$Local_user, False) == 0))) And (it.War_erfolgreich == Convert(False))) And ((Convert(DateAndTime.Now) - it.Datum) < Convert(value(pms_neu.login_helper+_Closure$__1).$VB$Local_max_zeit))) ?? False)).Select(it => it).Count()'. Failure: No AdoTypeConverter has been registered for the clrType.