41 lines
1.7 KiB
C#
41 lines
1.7 KiB
C#
namespace xCategoryService.Constants
|
|
{
|
|
public struct XCategoryServiceConstants
|
|
{
|
|
//
|
|
// Service Extensions Log Tag ...
|
|
public const string XCategoryServiceDILogTag = "XCategoryService";
|
|
|
|
//
|
|
// Table Mapping Identifiers ...
|
|
public const string XCategoryTable = "Categories";
|
|
public const string XSubCategoryTable = "SubCategories";
|
|
|
|
//
|
|
// GraphQL Collection Mappings ...
|
|
public const string XCategorySingleName = "category";
|
|
public const string XCategoryCollectionName = "categories";
|
|
public const string XSubCategorySingleName = "subCategory";
|
|
public const string XSubCategoryCollectionName = "subCategories";
|
|
|
|
//
|
|
// Hubs ...
|
|
public const string XCategoryDtoHub = "categoryDto";
|
|
public const string XCategoryEntityHub = "categoryEntity";
|
|
public const string XSubCategoryDtoHub = "subCategoryDto";
|
|
public const string XSubCategoryEntityHub = "subCategoryEntity";
|
|
|
|
//
|
|
// Custome Constants ...
|
|
public const string SubCategoryReference = "SubCat";
|
|
public const string CategoryTitleResourceIdentifier = "CatT";
|
|
public const string CategoryDescriptionResourceIdentifier = "CatD";
|
|
public const string SubCategoryTitleResourceIdentifier = "SubCatT";
|
|
public const string SubCategoryDescriptionResourceIdentifier = "SubCatD";
|
|
|
|
//
|
|
// EF Repositories Helper Extensions ...
|
|
public const string GetXCategoryEFRepositoryDescriptor = "GetXCategoryEFRepositoryDescriptor";
|
|
public const string GetXSubCategoryEFRepositoryDescriptor = "GetXSubCategoryEFRepositoryDescriptor";
|
|
}
|
|
} |