Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ServiceNameFormatter

Index

Constructors

constructor

  • deprecated

    since version 1.25.0. The name formatters for the sets, types and function imports are initialized lazy now so there is no need to pass the names beforehand. Use the argument free constructor instead.

    Returns ServiceNameFormatter

  • deprecated

    since version 1.25.0. The name formatters for the sets, types and function imports are initialized lazy now so there is no need to pass the names beforehand. Use the argument free constructor instead.

    Parameters

    • entitySetNames: string[]

      The entity set names.

    • complexTypeNames: string[]

      The complex type names.

    • functionImportNames: string[]

      Then function import names.

    Returns ServiceNameFormatter

Methods

originalToActionImportName

  • originalToActionImportName(str: string): string

originalToComplexTypeName

  • originalToComplexTypeName(str: string): string

originalToEntityClassName

  • originalToEntityClassName(entitySetName: string): string

originalToEnumTypeName

  • originalToEnumTypeName(str: string): string

originalToFunctionImportName

  • originalToFunctionImportName(str: string): string

originalToInstancePropertyName

  • originalToInstancePropertyName(originalContainerTypeName: string, originalPropertyName: string): string

originalToNavigationPropertyName

  • originalToNavigationPropertyName(entitySetName: string, originalPropertyName: string): string

originalToParameterName

  • originalToParameterName(originalFunctionImportName: string, originalParameterName: string): string

originalToStaticPropertyName

  • originalToStaticPropertyName(originalContainerTypeName: string, originalPropertyName: string): string

typeNameToFactoryName

  • typeNameToFactoryName(str: string): any
  • typeNameToFactoryName(str: string, reservedNames: Set<string>): any

Static directoryToSpeakingModuleName

  • directoryToSpeakingModuleName(packageName: string): string

Static originalToServiceName

  • originalToServiceName(name: string): string