Class ModelHelper
public static class ModelHelper
- Inheritance
-
ModelHelper
- Inherited Members
Methods
GetEntityPluralCaption(string, string?, string?, string?)
public static string GetEntityPluralCaption(string name, string? pluralOverride, string? captionOverride, string? pluralCaptionOverride)
Parameters
Returns
GetRelationshipCaption(string?, string?, bool, string?, string?, bool, string, string)
public static string GetRelationshipCaption(string? displayLabel, string? nameOverride, bool hasParallelRelationships, string? otherSideDisplayLabel, string? otherSideNameOverride, bool isCollection, string relatedEntityCaption, string relatedEntityPluralCaption)
Parameters
displayLabelstringnameOverridestringhasParallelRelationshipsboolotherSideDisplayLabelstringotherSideNameOverridestringisCollectionboolrelatedEntityCaptionstringrelatedEntityPluralCaptionstring
Returns
GetRelationshipName(string?, bool, string?, bool, string, string)
public static string GetRelationshipName(string? nameOverride, bool hasParallelRelationships, string? otherSideNameOverride, bool isCollection, string relatedEntityName, string relatedEntityPluralName)
Parameters
nameOverridestringhasParallelRelationshipsboolotherSideNameOverridestringisCollectionboolrelatedEntityNamestringrelatedEntityPluralNamestring