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" />
                    
Directory.Packages.props
<PackageReference Include="Xeku.ExcelImport" />
                    
Project file
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
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Xeku.ExcelImport&version=0.0.0.7
                    
Install as a Cake Tool

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

  1. Navigate to Administration > Excel Import Template.
  2. Create a new template and select the target business type.
  3. Click Generate Columns to automatically create field mappings.

2. Execute Import

  1. In the target ListView, click the Import Excel action.
  2. Upload the filled Excel file.

AI Agent Integration

Use Cases

  1. Automated Data Sync: AI Agents can trigger import logic via API or scheduled tasks.
  2. 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 Oid for incremental updates.
  • Monitor ProgressEventArgs for status updates on long-running tasks.

License

MIT License

Product 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.

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.

Version Downloads Last Updated
0.0.0.7 144 1/28/2026
0.0.0.6 133 1/21/2026
0.0.0.5 107 1/15/2026
0.0.0.4 121 1/13/2026
0.0.0.3 119 1/9/2026
0.0.0.2 124 1/8/2026