refactor and add using constants instead of hard coded strings ...
This commit is contained in:
@@ -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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user