{"id":4387,"date":"2021-02-25T03:09:06","date_gmt":"2021-02-25T10:09:06","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/odata\/?p=4387"},"modified":"2021-02-25T03:09:06","modified_gmt":"2021-02-25T10:09:06","slug":"odata-connected-service-0-12-0-release","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/odata\/odata-connected-service-0-12-0-release\/","title":{"rendered":"OData Connected Service 0.12.0 Release"},"content":{"rendered":"<p>OData Connected Service 0.12.0 has been released on the Visual Studio Marketplace. This release includes the following changes:<\/p>\n<ul>\n<li>Set default settings to more reasonable options<\/li>\n<li>Added support for reference models with relative URI<\/li>\n<li>Bug fixes and improved error messages<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>Restored default settings<\/h2>\n<p>Some default options were inadvertently changed in a previous update, leading to default options that do not make sense for the majority of use cases. We have restored the affected default values to more reasonable options:<\/p>\n<ul>\n<li>Default file name: <strong>Reference<\/strong><\/li>\n<li>Enable entity and property tracking: <strong>True<\/strong><\/li>\n<li>Use C# casing: <strong>True<\/strong><\/li>\n<li>Ignore unexpected names and attributes: <strong>True<\/strong><\/li>\n<li>Service name: <strong>OData Service<\/strong><\/li>\n<\/ul>\n<p>Visit\u00a0<a href=\"https:\/\/docs.microsoft.com\/en-us\/odata\/connectedservice\/reference\" target=\"_blank\" rel=\"noopener\">this page<\/a> to learn more about available settings and their impact on the code generation process.<\/p>\n<h2>Support for reference models with relative URIs<\/h2>\n<p>In previous version, you would get an error f your metadata document had a reference to an external model, and this reference was specified using a relative URI like in the following example<\/p>\n<pre class=\"prettyprint\">&lt;edmx:Reference Uri=\"\/path\/to\/external\/model.xml\"&gt;\r\n   &lt;edmx:Include Namespace=\"External.Namespace\" \/&gt;\r\n&lt;\/edmx:Reference&gt;<\/pre>\n<p>This is now supported by the connected service.<\/p>\n<h2>Bug fixes<\/h2>\n<ul>\n<li>Fixed some regression errors that caused code generation to fail when using metadata based on OData V1-V3<\/li>\n<li>Fixed regression errors that occurred due to UI updates not running on UI thread<\/li>\n<li>Improve error message that&#8217;s displayed when the appropriate CLR type of a schema element cannot be found<\/li>\n<li>Fix issue causing warnings in Visual Studio\u00a0 due to an empty metadata file when generating T4 templates<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>OData Connected Service 0.12.0 has been released on the Visual Studio Marketplace. This release includes the following changes: Set default settings to more reasonable options Added support for reference models with relative URI Bug fixes and improved error messages &nbsp; Restored default settings Some default options were inadvertently changed in a previous update, leading to [&hellip;]<\/p>\n","protected":false},"author":20326,"featured_media":3253,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4387","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-odata"],"acf":[],"blog_post_summary":"<p>OData Connected Service 0.12.0 has been released on the Visual Studio Marketplace. This release includes the following changes: Set default settings to more reasonable options Added support for reference models with relative URI Bug fixes and improved error messages &nbsp; Restored default settings Some default options were inadvertently changed in a previous update, leading to [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/4387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/users\/20326"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/comments?post=4387"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/posts\/4387\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media\/3253"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/media?parent=4387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/categories?post=4387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/odata\/wp-json\/wp\/v2\/tags?post=4387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}