migrating-data-services-client

Migrate Microsoft.Data.Services.Client code to Microsoft.OData.Client for OData v4.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the need to migrate from the obsolete Microsoft.Data.Services.Client to the modern Microsoft.OData.Client for OData v4 client access, ensuring compatibility and future-proofing your applications.

Core Features & Use Cases

  • Automatic Migration: Automates the process of migrating from Microsoft.Data.Services.Client to Microsoft.OData.Client.
  • Namespace Updates: Handles namespace changes from System.Data.Services.Client to Microsoft.OData.Client.
  • Proxy Class Regeneration: Regenerates client proxy classes for OData v4 compatibility.
  • Use Case: Ideal for developers who need to update their applications to use the latest OData v4 client, ensuring better performance and support.

Quick Start

Migrate your project to OData v4 client using the 'migrating-data-services-client' skill.

Frequently Asked Questions about migrating-data-services-client

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

FAQPage Schema
How do I migrate from Microsoft.Data.Services.Client to Microsoft.OData.Client?

Migrating from Microsoft.Data.Services.Client to Microsoft.OData.Client involves updating namespaces from System.Data.Services.Client, regenerating proxy classes for OData v4, and modifying CRUD operations to align with modern OData v4 client standards.

What is the difference between System.Data.Services.Client and Microsoft.OData.Client namespaces?

The difference between System.Data.Services.Client and Microsoft.OData.Client is that the former is a legacy namespace for older data services, while the latter is the modern namespace providing OData v4 support, requiring namespace updates and proxy class regeneration during migration.

Do I need to regenerate client proxy classes when upgrading to OData v4?

Yes, upgrading to OData v4 requires regenerating client proxy classes to ensure compatibility with Microsoft.OData.Client and enable proper LINQ query translation for modern OData v4 data access.

What prerequisites are required for migrating legacy code to OData v4 client?

Migrating legacy code to OData v4 client requires OData v4 tooling and knowledge of LINQ query translation to handle namespace changes, proxy class regeneration, and CRUD operation updates.

Why should I upgrade my data services client to OData v4?

You should upgrade to OData v4 to future-proof applications, as Microsoft.Data.Services.Client is obsolete and Microsoft.OData.Client delivers modern data access with better performance and ongoing support.

Will migrating to Microsoft.OData.Client affect my existing LINQ queries?

Migrating to Microsoft.OData.Client can affect existing LINQ queries because the modern OData v4 client has specific LINQ query translation requirements, meaning you must verify and potentially update query logic during the migration process.