ConvergeERP.Shared.Documents
0.0.1-beta
This is a prerelease version of ConvergeERP.Shared.Documents.
dotnet add package ConvergeERP.Shared.Documents --version 0.0.1-beta
NuGet\Install-Package ConvergeERP.Shared.Documents -Version 0.0.1-beta
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="ConvergeERP.Shared.Documents" Version="0.0.1-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ConvergeERP.Shared.Documents" Version="0.0.1-beta" />
<PackageReference Include="ConvergeERP.Shared.Documents" />
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 ConvergeERP.Shared.Documents --version 0.0.1-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ConvergeERP.Shared.Documents, 0.0.1-beta"
#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 ConvergeERP.Shared.Documents@0.0.1-beta
#: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=ConvergeERP.Shared.Documents&version=0.0.1-beta&prerelease
#tool nuget:?package=ConvergeERP.Shared.Documents&version=0.0.1-beta&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ConvergeERP.Shared.Documents
EF Core implementation of document management for ConvergeERP applications.
Installation
dotnet add package ConvergeERP.Shared.Documents
Setup
1. Apply Entity Configurations
In your DbContext:
using ConvergeERP.Shared.Documents.Extensions;
public class AppDbContext : DbContext
{
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
// Apply document entity configurations
modelBuilder.ApplyDocumentConfigurations();
}
}
2. Register Services
In Program.cs:
using ConvergeERP.Shared.Documents.Extensions;
builder.Services.AddDocumentServices<AppDbContext>();
3. Run Migration
dotnet ef migrations add AddDocuments
dotnet ef database update
Usage
public class DocumentService
{
private readonly IDocumentRepository _documents;
private readonly IDocumentFileRepository _files;
public DocumentService(
IDocumentRepository documents,
IDocumentFileRepository files)
{
_documents = documents;
_files = files;
}
public async Task<Document> CreateDocumentAsync(CreateDocumentRequest request)
{
var document = new Document
{
Title = request.Title,
Description = request.Description,
CategoryId = request.CategoryId,
Status = DocumentStatus.Active,
CompanyId = request.CompanyId
};
await _documents.AddAsync(document);
await _documents.SaveChangesAsync();
return document;
}
}
Related Packages
ConvergeERP.Shared.Documents.Core- Core interfaces and entitiesConvergeERP.Shared.Documents.S3- AWS S3 storage adapter
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- AWSSDK.S3 (>= 4.0.25.1)
- ConvergeERP.Shared.Documents.Core (>= 0.0.1-beta)
- Microsoft.EntityFrameworkCore.Relational (>= 10.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.1-beta | 82 | 6/19/2026 |