Xeku.ExcelImport
0.0.0.7
dotnet add package Xeku.ExcelImport --version 0.0.0.7
NuGet\Install-Package Xeku.ExcelImport -Version 0.0.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xeku.ExcelImport" Version="0.0.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xeku.ExcelImport" Version="0.0.0.7" />
<PackageReference Include="Xeku.ExcelImport" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xeku.ExcelImport --version 0.0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xeku.ExcelImport, 0.0.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xeku.ExcelImport@0.0.0.7
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xeku.ExcelImport&version=0.0.0.7
#tool nuget:?package=Xeku.ExcelImport&version=0.0.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Xeku.ExcelImport
Excel Import module for DevExpress XAF applications, providing robust Excel data import and template export capabilities.
Features
- Automated Key Management: Automatically hides the primary key in the first column of the template.
- Multiple Import Modes: Supports Synchronization, Insert Only, Update Only, and Insert All.
- Data Validation: Automatically validates imported data against business rules.
- Template Generation: Generates Excel import templates with data validation.
- Filtered Export: Applies UI filters when exporting data to templates.
- Localization: Built-in support for English and Traditional Chinese.
Architecture
graph TB
subgraph "Presentation Layer"
UI["XAF UI (ListView)"]
end
subgraph "Controller Layer"
ExcelImportController["ExcelImportController"]
end
subgraph "Service Layer"
ExcelImporter["ExcelImporter"]
end
subgraph "Data Layer"
Entities["Business Objects<br/>(ExcelImportTemplate)"]
DB[("Database")]
end
UI --> ExcelImportController
ExcelImportController --> ExcelImporter
ExcelImporter --> Entities
Entities --> DB
style UI fill:#e1f5ff
style ExcelImportController fill:#e1f5ff
style ExcelImporter fill:#fff4e1
style Entities fill:#e8f5e9
style DB fill:#fce4ec
Getting Started
1. Installation
dotnet add package Xeku.ExcelImport
2. Module Registration
Register the modules in your XAF solution:
// In Module.cs
RequiredModuleTypes.Add(typeof(Xeku.ExcelImport.ExcelImportModule));
// Blazor Project (in BlazorModule.cs)
RequiredModuleTypes.Add(typeof(Xeku.ExcelImport.Blazor.ExcelImportBlazorModule));
// WinForms Project (in WinModule.cs)
RequiredModuleTypes.Add(typeof(Xeku.ExcelImport.Win.ExcelImportWinModule));
Usage
1. Configure Import Template
- Navigate to Administration > Excel Import Template.
- Create a new template and select the target business type.
- Click Generate Columns to automatically create field mappings.
2. Execute Import
- In the target ListView, click the Import Excel action.
- Upload the filled Excel file.
AI Agent Integration
Use Cases
- Automated Data Sync: AI Agents can trigger import logic via API or scheduled tasks.
- Data Pre-processing: AI can clean and format data before passing it to the importer.
Best Practices
- Ensure the first column (hidden) of the Excel template contains the correct
Oidfor incremental updates. - Monitor
ProgressEventArgsfor status updates on long-running tasks.
License
MIT License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- DevExpress.Document.Processor (>= 25.2.3)
- DevExpress.ExpressApp (>= 25.2.3)
- DevExpress.ExpressApp.Xpo (>= 25.2.3)
- DevExpress.Persistent.Base (>= 25.2.3)
- DevExpress.Persistent.BaseImpl.Xpo (>= 25.2.3)
- Xeku.Core (>= 0.0.0.7)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Xeku.ExcelImport:
| Package | Downloads |
|---|---|
|
Xeku.ExcelImport.Blazor
XAF Excel Import module for Blazor platform. Provides Excel import and template export functionality for Blazor applications. |
|
|
Xeku.ExcelImport.Win
XAF Excel Import module for Windows platform. Provides Excel import and template export functionality for WinForms applications. |
|
|
Xeku.ExcelImport.WebApi
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.