OData Connected Service is a tool that generates code to faciliate consumption of OData services. This tool will generate a DataServiceContext and classes for each of the entity types and complex types found in the service description. This tool is functionally equivalent to the Add Service Reference for OData V3 service.
ChangeLog:
1.1.0
Fix bug affecting excluding of schema types, operations, and operation imports.
Support omitting runtime version and code generation timestamp from generated files.
Fix bug affecting emitting of dynamic properties container property.
Support arm64 product architecture.
Support generation of valid property identifiers when service metadata does not strictly adhere to OData specification on property name.
1.0.2
Fix default value initialization for nullable properties.
Added the Microsoft.OData.ConnectedService.VS2022Plus.dll reference to the ODataT4CodeGenerator.ttinclude file.
1.0.1
Correctly handle metadata URL endpoint when it has query options.
0.13.0
Fix issue where the Connected Service added to a VB.NET project fails to emit the service metadata into the XML file as expected
Add support for emitting property attributes (e.g. MaxLength, etc) when generating Connected Service proxy classes
Allow users the option of persisting custom HTTP headers and proxy credentials to the Connected Service configuration file
Add support for emitting obsolete attributes when generating Connected Service proxy classes
0.12.1
Fix invalid escaping of double quotes when generating VB.NET client proxy
Fix invalid namespace emitted when generating client proxy with custom namespace supplied
Restore namespace in the metadata document as the default namespace applied in the client proxy
Fix non-compilable code emitted when the option to generate multiple files is checked and the model contains 2 types with the same name but in different namespace
0.12.0
Fix regression errors when generating code for V1-V3 services
Fix regression errors caused by UI updates not running in UI thread
Improve error message when CLR type not found
Add support for reference model with relative URI
Set more logical default settings
Fix warnings displayed due to empty metadata file created when generating T4 template
0.11.1
Fixed the strong name and signing issues that caused the connected service not to be loaded by Visual Studio
0.11.0
Adds search box for filtering entities to add on the Schema Types selection page
Generate doc comments in generated code from description annotations in the OData schema
Rename generated parameters source and keys to avoid name collisions with similar names in the model
Fix build error cause by incompatible System.Text.Json version with new versions of OData client
Display the number of selected operation imports
Include enum types from enum collection properties in generated code to avoid compilation errors
Fix issue where false is generated as False (uppercase F) in C# code, causing errors
Fix issue causing undefined Edmx reference to appear in generated code
Moved extension to .Net Foundation
0.10.0
Adds support for open types
Fix issue loading generated Csdl.xml file when you have multiple generated client proxies in a project
Properly escapes metadata path in the local filesystem when generating T4 templates
Fix issue where unselecting an operation import auto-selects schema types that the operation depends on
0.9.1
Auto-selects the last metadata endpoint used in generating proxy classes
Enables multiple files generation using design-time T4 templates
Issue with wizard state persistence when updating an OData Connected Service Project fixed
0.9.0
Emitting service metadata to an XML file
Excluding schema types from being emitted onto the Connected Service proxy class
Refinements and minor bug fixes
0.8.0
Add support for loading configuration settings from an existing configuration file
Add support for saving the configuration wizard state when navigating through the pages
0.7.1
Fixed bug causing service name to be reset to default when updating a connected service
0.7.0
Added support for VB projects
Allow users to select which function/imports to include or exclude from the generated code
Allow users to provide proxy config and credentials for fetching metadata behind a network proxy
Fixed bug causing code generation to fail if metadata is loaded from a local file
UI Improvements
0.6.1
Fixes a bug introduced in v0.6.0 in relation to a feature for supporting writing service metadata to a file. The service model will be embedded in the generated code as a string by default as it was before v0.6.0
0.6.0
Support for setting custom request headers to be used when fetching the metadata document
Support for splitting the generated code into multiple files
Save the service model in a file by default instead of as a literal string in the generated code
0.5.0
Upgrade Microsoft.OData.Client to version 7.6.3
Added a feature to open the generated files in visual studio after code generation.
Enable generated functions to be mockable
Removed Microsoft WCF toolkit dependency
Bug fixes
0.4.0
Adds support for Visual Studio 2019
Allows user to make generated types internal
0.3.0
Supports Visual Studio 2017
0.2.0
Support generating code for OData V4 service
Support generating client CLR classes into project
Support including the T4 files(used to generate client CLR classes) into project
Support generating client code into a certain folder which named by user