Skip to content

EF Core: No XLS (Excel) EF Core provider #134

@DaveRMaltby

Description

@DaveRMaltby

Summary

While CSV, JSON, and XML all have EF Core provider implementations, the XLS (Excel) format has only an ADO.NET provider with no corresponding EF Core support. There is no EFCore.Xls project.

Current XLS ADO.NET State

  • Read-only (SELECT only, no INSERT/UPDATE/DELETE)
  • No DataAdapter
  • Schema detection works

What an EF Core XLS Provider Would Need

  • XlsRelationalConnection
  • XlsOptionsExtension + UseXls() extension method
  • XlsTypeMappingSource
  • XlsQuerySqlGenerator
  • XlsDatabaseModelFactory (for scaffolding read-only models)
  • XlsDatabaseCreator (would need to handle read-only limitation)

Considerations

Since XLS is read-only at the ADO.NET level, the EF Core provider would be read-only too. This is valid — some providers are query-only. The provider should:

  • Throw clear errors on write operations (SaveChanges with modifications)
  • Support AsNoTracking() queries efficiently
  • Support scaffolding to generate read-only entity models

Priority

Lower priority than completing the CSV/JSON/XML providers, but would provide feature parity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deferredDeferred — not addressing now

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions