refactor and add using constants instead of hard coded strings ...

This commit is contained in:
2026-07-30 14:25:38 +03:30
parent 33b4efde94
commit 7823dffcfa
5 changed files with 41 additions and 10 deletions
+30
View File
@@ -0,0 +1,30 @@
namespace xTagService.Constants
{
public struct XTagServiceConstants
{
//
// Service Extensions Log Tag ...
public const string XTagServiceDILogTag = "XTagService";
//
// Table Mapping Identifiers ...
public const string XTagTable = "Tags";
//
// GraphQL Collection Mappings ...
public const string XTagSingleName = "tag";
public const string XTagCollectionName = "tags";
//
// Hubs ...
public const string XTagDtoHub = "tagDto";
public const string XTagEntityHub = "tagEntity";
//
// Custome Constants ...
//
// EF Repositories Helper Extensions ...
public const string GetXTagEFRepositoryDescriptor = "GetXTagEFRepositoryDescriptor";
}
}