refactor: Projektdateien migriert. Cloud-NuGet-Pakete durch lokale NuGet-Projekte ersetzt.

This commit is contained in:
Developer 02
2024-08-01 18:44:39 +02:00
parent 0d82f7af6f
commit 62ddd4873f
206 changed files with 10927 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
@echo using HRD.WebApi.DAL;
@echo using System;
@echo using System.ComponentModel.DataAnnotations.Schema;
@echo.
@echo namespace DAL.Models.Entities
@echo {
@echo public partial class %1 : BaseEntity
@echo {
@echo public int %1Id { get; set; }
@echo public string Name { get; set; }
@echo public string %1Shortname { get; set; }
@echo.
@echo // [NotMapped]
@echo // [DatabaseGenerated(DatabaseGeneratedOption.Computed)]
@echo.
@echo //generic Id
@echo public override int GetEntityId() =^> %1Id;
@echo //generic ToString()
@echo public override string ToString() =^> $"%1Id: {GetEntityId()}; Name: {Name}";
@echo //generic EntityInfo()
@echo public override string EntityInfo() =^> base.EntityInfo();
@echo }
@echo }