AugusteVN.Modules.Sponsorships.Domain
1.0.8
dotnet add package AugusteVN.Modules.Sponsorships.Domain --version 1.0.8
NuGet\Install-Package AugusteVN.Modules.Sponsorships.Domain -Version 1.0.8
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="AugusteVN.Modules.Sponsorships.Domain" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AugusteVN.Modules.Sponsorships.Domain" Version="1.0.8" />
<PackageReference Include="AugusteVN.Modules.Sponsorships.Domain" />
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 AugusteVN.Modules.Sponsorships.Domain --version 1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AugusteVN.Modules.Sponsorships.Domain, 1.0.8"
#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 AugusteVN.Modules.Sponsorships.Domain@1.0.8
#: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=AugusteVN.Modules.Sponsorships.Domain&version=1.0.8
#tool nuget:?package=AugusteVN.Modules.Sponsorships.Domain&version=1.0.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AugusteVN.Modules.Sponsorships.Domain
Domain entities and shared interfaces for sponsorships — defines the ISponsorshipsDbContext contract and entity types used by both the EfCore persistence layer.
Entities
SponsorSegment (extends ReviewableBaseEntity)
| Property | Type | Nullable | Description |
|---|---|---|---|
Id |
Guid |
No | Primary key (inherited from BaseEntity) |
Email |
string |
No | Sponsor contact email |
BrandName |
string |
No | Sponsor brand name |
BodyAsMarkdown |
string |
No | Segment body in Markdown format |
BodyAsHtml |
string? |
Yes | Segment body pre-rendered as HTML |
PaymentRefId |
Guid |
No | Reference to the Payments module |
EmailJobId |
Guid? |
Yes | Associated email campaign job for metrics |
BlogPostSlug |
string? |
Yes | Associated blog post slug for content targeting |
IsPublished |
bool |
No | Whether the segment has been published (email/blog) |
IsFallback |
bool |
No | Whether this segment is used when no paid match exists |
IsApproved |
bool |
No | Review state (inherited from ReviewableBaseEntity) |
IsDeclined |
bool |
No | Review state (inherited from ReviewableBaseEntity) |
IsCancelled |
bool |
No | Review state (inherited from ReviewableBaseEntity) |
Interface
ISponsorshipsDbContext
public interface ISponsorshipsDbContext
{
DbSet<SponsorSegment> SponsorSegments { get; }
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
}
Provider-agnostic contract implemented by both SponsorshipsEfCoreDbContext and SponsorshipsDbContext.
Dependencies
AugusteVN._Shared.ContractsAugusteVN.Database.Entities
Installation
dotnet add package AugusteVN.Modules.Sponsorships.Domain
Full Documentation
See the Sponsorships Module README for complete documentation.
| 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
- AugusteVN._Shared.Contracts (>= 1.1.0)
- AugusteVN.Database.Entities (>= 1.1.4)
- Microsoft.EntityFrameworkCore (>= 10.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AugusteVN.Modules.Sponsorships.Domain:
| Package | Downloads |
|---|---|
|
AugusteVN.Modules.Sponsorships.Features
CQRS handlers for sponsorship operations |
|
|
AugusteVN.Modules.Sponsorships.Database
EF Core DbContext and entities for sponsorships |
GitHub repositories
This package is not used by any popular GitHub repositories.