You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to insert data into a SQLite DB using LinqPad which uses IQToolkit. The code below throws this exception (no stacktrace) when provider.GetTable<...>() is called:
ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2.FindEntry(TKey key)
at System.Collections.Generic.Dictionary`2.TryGetValue(TKey key, TValue& value)
at IQToolkit.Data.Mapping.AttributeMapping.GetEntity(Type elementType, String tableId, Type entityType)
at IQToolkit.Data.Mapping.AttributeMapping.GetEntity(Type type, String tableId)
at IQToolkit.Data.EntityProvider.GetTable(Type type, String tableId)
at IQToolkit.Data.EntityProvider.GetTable[T](String tableId)
at IQToolkit.Data.EntityProvider.GetTable[T]()
at UserQuery.Main() in C:\Users\Ammaar.Limbada\AppData\Local\Temp\LINQPad5\_bsgipmuq\query_ziohpo.cs:line 55
at LINQPad.ExecutionModel.ClrQueryRunner.Run()
at LINQPad.ExecutionModel.Server.RunQuery(QueryRunner runner)
at LINQPad.ExecutionModel.Server.StartQuery(QueryRunner runner)
at LINQPad.ExecutionModel.Server.<>c__DisplayClass151_0.<ExecuteClrQuery>b__0()
at LINQPad.ExecutionModel.Server.SingleThreadExecuter.Work()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
The text was updated successfully, but these errors were encountered:
I'm trying to insert data into a SQLite DB using LinqPad which uses IQToolkit. The code below throws this exception (
no stacktrace) whenprovider.GetTable<...>()
is called:Edit: found the stacktrace
The text was updated successfully, but these errors were encountered: