Class ServiceNameFormatter
Constructors
constructor
- new ServiceNameFormatter(entitySetNames: string[], complexTypeNames: string[], functionImportNames: string[]): ServiceNameFormatter
-
Parameters
-
entitySetNames: string[]
-
complexTypeNames: string[]
-
functionImportNames: string[]
Methods
directoryToSpeakingModuleName
- directoryToSpeakingModuleName(packageName: string): string
-
Parameters
Returns string
originalToComplexTypeName
- originalToComplexTypeName(str: string): string
-
Parameters
Returns string
originalToEntityClassName
- originalToEntityClassName(entitySetName: string, entityTypeName: string): string
-
Parameters
-
entitySetName: string
-
entityTypeName: string
Returns string
originalToFunctionImportName
- originalToFunctionImportName(str: string): string
-
Parameters
Returns string
originalToInstancePropertyName
- originalToInstancePropertyName(originalContainerTypeName: string, originalPropertyName: string): string
-
Parameters
-
originalContainerTypeName: string
-
originalPropertyName: string
Returns string
originalToNavigationPropertyName
- originalToNavigationPropertyName(entitySetName: string, originalPropertyName: string): string
-
Parameters
-
entitySetName: string
-
originalPropertyName: string
Returns string
originalToParameterName
- originalToParameterName(originalFunctionImportName: string, originalParameterName: string): string
-
Parameters
-
originalFunctionImportName: string
-
originalParameterName: string
Returns string
originalToServiceName
- originalToServiceName(name: string): string
-
Parameters
Returns string
originalToStaticPropertyName
- originalToStaticPropertyName(originalContainerTypeName: string, originalPropertyName: string): string
-
Parameters
-
originalContainerTypeName: string
-
originalPropertyName: string
Returns string