здесь лежит проект, к-рый выстреливает assert на таком коде:
Imports System
Imports System.Collections.Generic
Imports BLToolkit.Data
Imports BLToolkit.Data.Linq
Imports BLToolkit.DataAccess
Imports BLToolkit.Data.Sql.SqlProvider
Imports BLToolkit.Data.DataProvider
Imports System.Data.SQLite
Module Module1
Sub Main()
Dim CONNECTION_STRING_TEMPLATE As String = "Data Source={0};Synchronous=Full;"
Dim cnsOffline As String = String.Format(CONNECTION_STRING_TEMPLATE, "C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\BLToolkitTest4\BLToolkitTest4\Backdrop.db")
Using dbmBackdrop As New GroupCalendarDBManager(New SQLiteDataProvider(), cnsOffline)
Dim oSrcFromB = (From a In dbmBackdrop.Appointments _
Where Not a.IsDeleted And a.ByDelegateFrom = "11" _
And (a.UpdateStatus = UPDATESTATUS.Accepted Or a.UpdateStatus = UPDATESTATUS.UpdateForOwner Or a.UpdateStatus = UPDATESTATUS.SubmittedToOnline) _
Select a).ToList()
Debug.Assert(oSrcFromB.Count = 0)
' Console.WriteLine(s)
' Console.ReadKey()
End Using
End Sub
End Module
bltoolkit последний. В чем причина такого косяка?