{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/standard/issues/30","repository_url":"https://api.github.com/repos/dotnet/standard","labels_url":"https://api.github.com/repos/dotnet/standard/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/standard/issues/30/comments","events_url":"https://api.github.com/repos/dotnet/standard/issues/30/events","html_url":"https://github.com/dotnet/standard/issues/30","id":179341756,"number":30,"title":"Why is there no System.Data in netstandard20?","user":{"login":"FransBouma","id":3628530,"avatar_url":"https://avatars.githubusercontent.com/u/3628530?v=3","gravatar_id":"","url":"https://api.github.com/users/FransBouma","html_url":"https://github.com/FransBouma","followers_url":"https://api.github.com/users/FransBouma/followers","following_url":"https://api.github.com/users/FransBouma/following{/other_user}","gists_url":"https://api.github.com/users/FransBouma/gists{/gist_id}","starred_url":"https://api.github.com/users/FransBouma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FransBouma/subscriptions","organizations_url":"https://api.github.com/users/FransBouma/orgs","repos_url":"https://api.github.com/users/FransBouma/repos","events_url":"https://api.github.com/users/FransBouma/events{/privacy}","received_events_url":"https://api.github.com/users/FransBouma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-26T21:27:54Z","updated_at":"2016-10-05T15:52:10Z","closed_at":null,"body":"The absence of a data story for netstandard20 is a bad sign. If System.Data was part of netstandard, it would be controlled by a committee, things would be designed in the open. Now it's a black box, designed by the SQL Server team who is almost non-existent across the .NET repositories here on github, and communicating with them is in one word: terrible. \r\n\r\nFor data-oriented libraries and applications which depend on System.Data it's crucial there's a consistent story for System.Data. IMHO it's therefore essential this very important API is part of netstandard20. "},"comment":{"url":"https://api.github.com/repos/dotnet/standard/issues/comments/251716005","html_url":"https://github.com/dotnet/standard/issues/30#issuecomment-251716005","issue_url":"https://api.github.com/repos/dotnet/standard/issues/30","id":251716005,"user":{"login":"FransBouma","id":3628530,"avatar_url":"https://avatars.githubusercontent.com/u/3628530?v=3","gravatar_id":"","url":"https://api.github.com/users/FransBouma","html_url":"https://github.com/FransBouma","followers_url":"https://api.github.com/users/FransBouma/followers","following_url":"https://api.github.com/users/FransBouma/following{/other_user}","gists_url":"https://api.github.com/users/FransBouma/gists{/gist_id}","starred_url":"https://api.github.com/users/FransBouma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FransBouma/subscriptions","organizations_url":"https://api.github.com/users/FransBouma/orgs","repos_url":"https://api.github.com/users/FransBouma/repos","events_url":"https://api.github.com/users/FransBouma/events{/privacy}","received_events_url":"https://api.github.com/users/FransBouma/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T15:52:10Z","updated_at":"2016-10-05T15:52:10Z","body":"Ok, makes sense, but I'm a bit confused I think about 'what does targeting netstandard20' really mean. If I write lib L, which targets netstandard20 and uses system.data, what happens if I call a method which isn't in netstandard20? Will I get an error? \r\n\r\nThe point I struggle with is: if the method isn't in netstandard20 but in a class that is in a library which supports netstandard, what happens if I call that method in my code which is in a lib that targets netstandard20? If I get an error, because the code isn't netstandard20 'compliant', isn't it then impossible to write netstandard20 code with libraries that aren't in the standard? If it doesn't give an error, how will that method then turn out to be called at runtime on a platform where the method isn't present (as it's not in the standard)? And... what does this mean for my code if I say 'it's compiled against netstandard20', but it calls a method which isn't in the standard?"}}
{"actor":{"display_login":"FransBouma"}}