{"action":"created","issue":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/518","repository_url":"https://api.github.com/repos/linq2db/linq2db","labels_url":"https://api.github.com/repos/linq2db/linq2db/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/linq2db/linq2db/issues/518/comments","events_url":"https://api.github.com/repos/linq2db/linq2db/issues/518/events","html_url":"https://github.com/linq2db/linq2db/issues/518","id":197471736,"number":518,"title":"Linq2db, Firebird2.5.1, T4","user":{"login":"jkarakiz","id":2855428,"avatar_url":"https://avatars.githubusercontent.com/u/2855428?v=3","gravatar_id":"","url":"https://api.github.com/users/jkarakiz","html_url":"https://github.com/jkarakiz","followers_url":"https://api.github.com/users/jkarakiz/followers","following_url":"https://api.github.com/users/jkarakiz/following{/other_user}","gists_url":"https://api.github.com/users/jkarakiz/gists{/gist_id}","starred_url":"https://api.github.com/users/jkarakiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkarakiz/subscriptions","organizations_url":"https://api.github.com/users/jkarakiz/orgs","repos_url":"https://api.github.com/users/jkarakiz/repos","events_url":"https://api.github.com/users/jkarakiz/events{/privacy}","received_events_url":"https://api.github.com/users/jkarakiz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-24T17:43:40Z","updated_at":"2016-12-28T03:35:14Z","closed_at":"2016-12-27T17:30:22Z","body":"Hello Ilya,\r\nthank you for your reply. I read issue#505 added assemblies for linq2db.dll and FirebirdSql.Data.FirebirdClient.dll on top of Copy.tt.txt as suggested.\r\nNow code generation starts but I get the error:\r\n```\r\nError\t1\tRunning transformation: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.\r\n   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.<>c__DisplayClassba.<LoadServerMetadata>b__a0(ColumnSchema c) in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\LinqToDB.Templates\\DataModel.ttinclude:line 142\r\n   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.<LoadServerMetadata>b__9f(<>f__AnonymousType4`2 <>h__TransparentIdentifier8b) in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\LinqToDB.Templates\\DataModel.ttinclude:line 133\r\n   at System.Linq.Enumerable.<>c__DisplayClass7_0`3.<CombineSelectors>b__0(TSource x)\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)\r\n   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.LoadServerMetadata(DataConnection dataConnection) in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\LinqToDB.Templates\\DataModel.ttinclude:line 128\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.LoadMetadata(DataConnection dataConnection) in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\LinqToDB.Templates\\DataModel.ttinclude:line 310\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.LoadFirebirdMetadata(String connectionString) in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\LinqToDB.Templates\\LinqToDB.Firebird.ttinclude:line 57\r\n   at Microsoft.VisualStudio.TextTemplating43803B678D5D0FDACFAFD976FE4545D2.GeneratedTextTransformation.TransformText() in c:\\Users\\Iakovos\\Documents\\Visual Studio 2010\\Projects\\Wpf\\WpfRestaurant1\\HospitalityModel_T4\\Hospitality.tt.txt:line 46\r\n   at Microsoft.VisualStudio.TextTemplating.TransformationRunner.RunTransformation(TemplateProcessingSession session, String source, ITextTemplatingEngineHost host, String& result)\t\t1\t1\t\r\n```\r\nI read DataModel.ttinclude and the line 142 is\r\n\r\nOtherColumns    = k.OtherColumns.Select(c => otherTable.Columns[c.ColumnName]).ToList(),\r\n\r\nTested with Firebird 2.5.1.26351, VS2010 (.NET40) and VS2015 (.NET452)\r\nStrange is that VS2010 downloaded linq2db.1.7.5 but VS2015 downloaded linq2db.1.0.7.1 however both version stop at line 142\r\n\r\nIs there anything I can do to fix this?\r\nThank you for your help"},"comment":{"url":"https://api.github.com/repos/linq2db/linq2db/issues/comments/269420395","html_url":"https://github.com/linq2db/linq2db/issues/518#issuecomment-269420395","issue_url":"https://api.github.com/repos/linq2db/linq2db/issues/518","id":269420395,"user":{"login":"ili","id":787292,"avatar_url":"https://avatars.githubusercontent.com/u/787292?v=3","gravatar_id":"","url":"https://api.github.com/users/ili","html_url":"https://github.com/ili","followers_url":"https://api.github.com/users/ili/followers","following_url":"https://api.github.com/users/ili/following{/other_user}","gists_url":"https://api.github.com/users/ili/gists{/gist_id}","starred_url":"https://api.github.com/users/ili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ili/subscriptions","organizations_url":"https://api.github.com/users/ili/orgs","repos_url":"https://api.github.com/users/ili/repos","events_url":"https://api.github.com/users/ili/events{/privacy}","received_events_url":"https://api.github.com/users/ili/received_events","type":"User","site_admin":false},"created_at":"2016-12-28T03:35:14Z","updated_at":"2016-12-28T03:35:14Z","body":"Super, thanks!"}}
{"actor":{"display_login":"ili"}}