migrating-data-odata-to-odata-core

Automate .NET project migration from Microsoft.Data.OData to Microsoft.OData.Core.

19|2|Updated May 13, 2026
One-click install
npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-data-odata-to-odata-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migrating-data-odata-to-odata-core
Source: https://github.com/microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/libraries/migrating-data-odata-to-odata-core
Command: npx skills add https://github.com/microsoft/upgrade-agent-plugins --skill migrating-data-odata-to-odata-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill migrates applications from the obsolete Microsoft.Data.OData (OData v1–v3) to the updated Microsoft.OData.Core (OData v4) for serialization, ensuring compatibility and up-to-date features.

Core Features & Use Cases

  • Namespace Renames: Transforms Microsoft.Data.OData to Microsoft.OData.
  • Type Renames: Updates types like ODataEntry to ODataResource.
  • API Updates: Enhances reader/writer APIs with async support.
  • Use Case: Ideal for projects requiring the upgrade from OData v1–v3 to OData v4 to maintain support and take advantage of the latest OData features.

Quick Start

Migrate your project to OData v4 using the migrating-data-odata-to-odata-core skill.

Frequently Asked Questions about migrating-data-odata-to-odata-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate .NET projects from OData v1-v3 to OData v4?

To migrate .NET projects from OData v1-v3 to OData v4, automate namespace renames from Microsoft.Data.OData to Microsoft.OData and update types like ODataEntry to ODataResource. This process also updates reader/writer APIs to include async support, ensuring compatibility with the latest OData standards.

Why should I upgrade from Microsoft.Data.OData to Microsoft.OData.Core?

You should upgrade from Microsoft.Data.OData to Microsoft.OData.Core because the former is obsolete. Migrating to OData v4 ensures serialization compatibility, maintains support, and allows projects to take advantage of the latest OData features and updated reader/writer APIs.

Does migrating to OData v4 update reader and writer APIs for async support?

Yes, migrating to OData v4 updates reader and writer APIs with async support. The migration process transforms namespaces from Microsoft.Data.OData to Microsoft.OData and modernizes type renames, bringing serialization operations up to date.

What type renames are required when moving to Microsoft.OData.Core?

Moving to Microsoft.OData.Core requires updating types like ODataEntry to ODataResource. Additionally, namespace renames from Microsoft.Data.OData to Microsoft.OData are performed to align the .NET project with OData v4 serialization standards.

Can I use this OData v4 migration for large .NET serialization projects?

Yes, this OData v4 migration is suitable for large .NET serialization projects requiring compatibility with the latest OData standards. It automates namespace and type renames, along with API updates, streamlining the transition from obsolete OData v1-v3 libraries.