38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
using xContentService.Models.Entities;
|
|
|
|
namespace xContentService.Constants
|
|
{
|
|
public struct XContentServiceConstants
|
|
{
|
|
//
|
|
// Service Extensions Log Tag ...
|
|
public const string XContentServiceDILogTag = "XContentService";
|
|
|
|
//
|
|
// Table Mapping Identifiers ...
|
|
public const string XContentTable = "Contents";
|
|
|
|
//
|
|
// GraphQL Collection Mappings ...
|
|
public const string XContentSingleName = "content";
|
|
public const string XContentCollectionName = "contents";
|
|
|
|
//
|
|
// Hubs ...
|
|
public const string XContentDtoHub = "contentDto";
|
|
public const string XContentEntityHub = "contentEntity";
|
|
|
|
//
|
|
// EF Repositories Helper Extensions ...
|
|
public const string GetXContentEFRepositoryDescriptor = "GetXContentEFRepositoryDescriptor";
|
|
|
|
//
|
|
// Custome Constants ...
|
|
public const string XAdminRole = "admin";
|
|
|
|
public const string XContentTagProvided = nameof(XContent);
|
|
|
|
public const string XContentTitleIdentifier = "CntnT";
|
|
public const string XContentDescriptionIdentifier = "CntnD";
|
|
}
|
|
} |