Skip to content
| Marketplace
Sign in
Visual Studio>Tools>OData Connected Service
OData Connected Service

OData Connected Service

OData Labs

|
86,846 installs
| (25) | Free
OData Connected Service for V1-V4
Download

Introduction

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

  1. Fix bug affecting excluding of schema types, operations, and operation imports.
  2. Support omitting runtime version and code generation timestamp from generated files.
  3. Fix bug affecting emitting of dynamic properties container property.
  4. Support arm64 product architecture.
  5. Support generation of valid property identifiers when service metadata does not strictly adhere to OData specification on property name.

1.0.2

  1. Fix default value initialization for nullable properties.
  2. Added the Microsoft.OData.ConnectedService.VS2022Plus.dll reference to the ODataT4CodeGenerator.ttinclude file.

1.0.1

  1. Correctly handle metadata URL endpoint when it has query options.

0.13.0

  1. Fix issue where the Connected Service added to a VB.NET project fails to emit the service metadata into the XML file as expected
  2. Add support for emitting property attributes (e.g. MaxLength, etc) when generating Connected Service proxy classes
  3. Allow users the option of persisting custom HTTP headers and proxy credentials to the Connected Service configuration file
  4. Add support for emitting obsolete attributes when generating Connected Service proxy classes

0.12.1

  1. Fix invalid escaping of double quotes when generating VB.NET client proxy
  2. Fix invalid namespace emitted when generating client proxy with custom namespace supplied
  3. Restore namespace in the metadata document as the default namespace applied in the client proxy
  4. 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

  1. Fix regression errors when generating code for V1-V3 services
  2. Fix regression errors caused by UI updates not running in UI thread
  3. Improve error message when CLR type not found
  4. Add support for reference model with relative URI
  5. Set more logical default settings
  6. Fix warnings displayed due to empty metadata file created when generating T4 template

0.11.1

  1. Fixed the strong name and signing issues that caused the connected service not to be loaded by Visual Studio

0.11.0

  1. Adds search box for filtering entities to add on the Schema Types selection page
  2. Generate doc comments in generated code from description annotations in the OData schema
  3. Rename generated parameters source and keys to avoid name collisions with similar names in the model
  4. Fix build error cause by incompatible System.Text.Json version with new versions of OData client
  5. Display the number of selected operation imports
  6. Include enum types from enum collection properties in generated code to avoid compilation errors
  7. Fix issue where false is generated as False (uppercase F) in C# code, causing errors
  8. Fix issue causing undefined Edmx reference to appear in generated code
  9. Moved extension to .Net Foundation

0.10.0

  1. Adds support for open types
  2. Fix issue loading generated Csdl.xml file when you have multiple generated client proxies in a project
  3. Properly escapes metadata path in the local filesystem when generating T4 templates
  4. Fix issue where unselecting an operation import auto-selects schema types that the operation depends on

0.9.1

  1. Auto-selects the last metadata endpoint used in generating proxy classes
  2. Enables multiple files generation using design-time T4 templates
  3. Issue with wizard state persistence when updating an OData Connected Service Project fixed

0.9.0

  1. Emitting service metadata to an XML file
  2. Excluding schema types from being emitted onto the Connected Service proxy class
  3. Refinements and minor bug fixes

0.8.0

  1. Add support for loading configuration settings from an existing configuration file
  2. Add support for saving the configuration wizard state when navigating through the pages

0.7.1

  1. Fixed bug causing service name to be reset to default when updating a connected service

0.7.0

  1. Added support for VB projects
  2. Allow users to select which function/imports to include or exclude from the generated code
  3. Allow users to provide proxy config and credentials for fetching metadata behind a network proxy
  4. Fixed bug causing code generation to fail if metadata is loaded from a local file
  5. UI Improvements

0.6.1

  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

  1. Support for setting custom request headers to be used when fetching the metadata document
  2. Support for splitting the generated code into multiple files
  3. Save the service model in a file by default instead of as a literal string in the generated code

0.5.0

  1. Upgrade Microsoft.OData.Client to version 7.6.3
  2. Added a feature to open the generated files in visual studio after code generation.
  3. Enable generated functions to be mockable
  4. Removed Microsoft WCF toolkit dependency
  5. Bug fixes

0.4.0

  1. Adds support for Visual Studio 2019
  2. Allows user to make generated types internal

0.3.0

  1. Supports Visual Studio 2017

0.2.0

  1. Support generating code for OData V4 service
  2. Support generating client CLR classes into project
  3. Support including the T4 files(used to generate client CLR classes) into project
  4. Support generating client code into a certain folder which named by user
  5. Support updating generated client code.

0.1.0

  1. Support generating code for OData V3 service

For more information about how to use OData stack, please check OData tutorials: http://docs.microsoft.com/odata/

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft