{"action":"closed","issue":{"url":"https://api.github.com/repos/volkanceylan/Serenity/issues/3661","repository_url":"https://api.github.com/repos/volkanceylan/Serenity","labels_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/3661/labels{/name}","comments_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/3661/comments","events_url":"https://api.github.com/repos/volkanceylan/Serenity/issues/3661/events","html_url":"https://github.com/volkanceylan/Serenity/issues/3661","id":334750729,"node_id":"MDU6SXNzdWUzMzQ3NTA3Mjk=","number":3661,"title":"Tenant Per DB support","user":{"login":"tky753","id":18205977,"node_id":"MDQ6VXNlcjE4MjA1OTc3","avatar_url":"https://avatars0.githubusercontent.com/u/18205977?v=4","gravatar_id":"","url":"https://api.github.com/users/tky753","html_url":"https://github.com/tky753","followers_url":"https://api.github.com/users/tky753/followers","following_url":"https://api.github.com/users/tky753/following{/other_user}","gists_url":"https://api.github.com/users/tky753/gists{/gist_id}","starred_url":"https://api.github.com/users/tky753/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tky753/subscriptions","organizations_url":"https://api.github.com/users/tky753/orgs","repos_url":"https://api.github.com/users/tky753/repos","events_url":"https://api.github.com/users/tky753/events{/privacy}","received_events_url":"https://api.github.com/users/tky753/received_events","type":"User","site_admin":false},"labels":[{"id":934717454,"node_id":"MDU6TGFiZWw5MzQ3MTc0NTQ=","url":"https://api.github.com/repos/volkanceylan/Serenity/labels/community-support","name":"community-support","color":"fef2c0","default":false},{"id":77968655,"node_id":"MDU6TGFiZWw3Nzk2ODY1NQ==","url":"https://api.github.com/repos/volkanceylan/Serenity/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-22T05:30:34Z","updated_at":"2018-07-03T12:31:02Z","closed_at":"2018-07-03T12:31:02Z","author_association":"NONE","body":"In the guide documnet, there is already a tutorial about **multi tenancy**, It's great for the **standalone app** architecture, \r\n\r\nBut recently my project needs to **shard DataBase** by tenant Id, every tenant has an independent database, and one connection key may map to different connection strings.\r\n\r\nI find it diffcult to handle this with Serenity, as I can not overrite static methods ` public static ConnectionStringInfo TryGetConnectionString(string connectionKey)` in  **Serenity.Data.SqlConnections**.  \r\n\r\nDoes anyone meet this before?\r\nI would appreciate any guidance.\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"volkanceylan"}}