{"action":"opened","issue":{"url":"https://api.github.com/repos/MoonStorm/Dapper.FastCRUD/issues/56","repository_url":"https://api.github.com/repos/MoonStorm/Dapper.FastCRUD","labels_url":"https://api.github.com/repos/MoonStorm/Dapper.FastCRUD/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/MoonStorm/Dapper.FastCRUD/issues/56/comments","events_url":"https://api.github.com/repos/MoonStorm/Dapper.FastCRUD/issues/56/events","html_url":"https://github.com/MoonStorm/Dapper.FastCRUD/issues/56","id":191587198,"number":56,"title":"SetDialogue on the entity does not work for insert","user":{"login":"generik0","id":2411563,"avatar_url":"https://avatars.githubusercontent.com/u/2411563?v=3","gravatar_id":"","url":"https://api.github.com/users/generik0","html_url":"https://github.com/generik0","followers_url":"https://api.github.com/users/generik0/followers","following_url":"https://api.github.com/users/generik0/following{/other_user}","gists_url":"https://api.github.com/users/generik0/gists{/gist_id}","starred_url":"https://api.github.com/users/generik0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/generik0/subscriptions","organizations_url":"https://api.github.com/users/generik0/orgs","repos_url":"https://api.github.com/users/generik0/repos","events_url":"https://api.github.com/users/generik0/events{/privacy}","received_events_url":"https://api.github.com/users/generik0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-24T20:23:05Z","updated_at":"2016-11-24T20:23:05Z","closed_at":null,"body":"HI\r\nIf i try e.g. try to change the dialect to Sqlite of an entity (i.e. not clone) and:\r\nOrmConfiguration.GetDefaultEntityMapping<TEntity>().SetDialect(dialect);\r\nand then:\r\nconnection.Insert(entity);\r\nThe dialog does not change and it tries to use MsSql dialect.\r\n\r\nBut if i:\r\ntransaction.Connection.Insert(entity, statement => statement.WithEntityMappingOverride(newMapping));\r\n\r\nit works.\r\n\r\nUpdate, Get etc. all apear to work, but that could be because the query is the same.\r\n\r\n\r\nOrmConfiguration.GetDefaultEntityMapping<TEntity>().SetDialect(dialect); Set the dialog for all queries using that entity?\r\n\r\n\r\nBR Rik"}}
{"actor":{"display_login":"generik0"}}