AyCode.Core/AyCode.Database
Loretta 541cebbed8 Update README links to use code-style paths for docs
Replaced Markdown links with plain code-style paths in all README.md files for consistency. Updated references to logging, SignalR, and dynamic method dispatch documentation. Clarified some documentation paths and improved consistency in context/architecture sections. No code changes—documentation only.
2026-03-30 08:01:05 +02:00
..
DataLayers Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
DbContexts Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00
DbSets Update README links to use code-style paths for docs 2026-03-30 08:01:05 +02:00
Extensions Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
ModelBuilders Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00
SqlScripts Add PermissionViewSql; fixes 2023-12-13 02:25:58 +01:00
AcDbLogItemWriter.cs refactroing, improvements, fixes, etc... 2024-05-18 05:12:23 +02:00
AyCode.Database.csproj Enhance JSON handling and add hybrid reference support 2025-12-08 15:50:48 +01:00
PermissionViewSql.cs Add PermissionViewSql; fixes 2023-12-13 02:25:58 +01:00
README.md Document AcBinary wire format, sync docs, update conventions 2026-03-29 09:11:57 +02:00

README.md

AyCode.Database

Entity Framework Core data access layer with generic DAL pattern, session/transaction management, and DAL pooling. Supports multi-tenant user, company, profile, address, and email entities.

Folder Structure

Folder Purpose
DbContexts/ EF Core DbContext base classes and configurations
DbSets/ Generic DbSet interfaces with extension-based CRUD
DataLayers/ DAL abstraction with session/transaction and pooling
ModelBuilders/ Fluent API entity relationship configurations
Extensions/ Session, transaction, and DTO conversion helpers

Key Files (Root)

  • PermissionViewSql.cs — SQL view definitions for permission management.
  • AcDbLogItemWriter.cs — Writes log items to the database via logger base class.

Dependencies

Dependency Purpose
Microsoft.EntityFrameworkCore.SqlServer SQL Server EF Core provider
MessagePack Serialization annotations
Newtonsoft.Json JSON support