Свойство | Тип | Описание | |
---|---|---|---|
AppendState | string | ||
AppendValueForDuplicateOptionSetValueNames | string | ||
GetDuplicateNameValues | bool>.Dictionary | ||
GetValidCSharpName | string | ||
IsLabelPopulated | bool | ||
Transliterate | string | ||
UpdateCasingForCustomGlobalOptionSets | string | ||
UpdateCasingForGlobalOptionSets | string |
Метод | Описание | |
---|---|---|
GetNameForAttribute ( EntityMetadata entityMetadata, AttributeMetadata attributeMetadata, IServiceProvider services ) : string |
Allows for Specified Attribute Nmaes to be used to set the generated attribute name
|
|
GetNameForEntity ( EntityMetadata entityMetadata, IServiceProvider services ) : string | ||
GetNameForEntitySet ( EntityMetadata entityMetadata, IServiceProvider services ) : string | ||
GetNameForMessagePair ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : string | ||
GetNameForOption ( OptionSetMetadataBase optionSetMetadata, OptionMetadata optionMetadata, IServiceProvider services ) : string | ||
GetNameForOptionSet ( EntityMetadata entityMetadata, OptionSetMetadataBase optionSetMetadata, IServiceProvider services ) : string |
Provide a new implementation for finding a name for an OptionSet. If the OptionSet is not global, we want the name to be the concatenation of the Entity's name and the Attribute's name. Otherwise, we can use the default implementation.
|
|
GetNameForRelationship ( EntityMetadata entityMetadata, RelationshipMetadataBase relationshipMetadata, EntityRole reflexiveRole, IServiceProvider services ) : string | ||
GetNameForRequestField ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : string | ||
GetNameForResponseField ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : string | ||
GetNameForServiceContext ( IServiceProvider services ) : string | ||
NamingService ( INamingService defaultService ) : System |
Метод | Описание | |
---|---|---|
AppendState ( OptionMetadata option, string name ) : string | ||
AppendValueForDuplicateOptionSetValueNames ( OptionSetMetadataBase optionSetMetadata, string name, int value, IServiceProvider services ) : string |
Appends the value of the optionset for options with duplicatenames.
|
|
GetDuplicateNameValues ( OptionSetMetadataBase metadata, IServiceProvider services ) : bool>.Dictionary |
Checks to make sure that the name does not already exist for the OptionSetto be generated.
|
|
GetValidCSharpName ( string name ) : string |
Checks to make sure that the name begins with a valid character. If the name does not begin with a valid character, then add an underscore to the beginning of the name.
|
|
IsLabelPopulated ( string label ) : bool |
Determines whether the name is null, or empty, or "UnknownLabel"
|
|
Transliterate ( OptionMetadata optionMetadata, string defaultName ) : string | ||
UpdateCasingForCustomGlobalOptionSets ( string name, OptionSetMetadataBase optionSetMetadata ) : string | ||
UpdateCasingForGlobalOptionSets ( string name, OptionSetMetadataBase optionSetMetadata ) : string |
public GetNameForAttribute ( EntityMetadata entityMetadata, AttributeMetadata attributeMetadata, IServiceProvider services ) : string | ||
entityMetadata | EntityMetadata | The entity metadata. |
attributeMetadata | AttributeMetadata | The attribute metadata. |
services | IServiceProvider | The services. |
Результат | string |
public GetNameForEntity ( EntityMetadata entityMetadata, IServiceProvider services ) : string | ||
entityMetadata | EntityMetadata | |
services | IServiceProvider | |
Результат | string |
public GetNameForEntitySet ( EntityMetadata entityMetadata, IServiceProvider services ) : string | ||
entityMetadata | EntityMetadata | |
services | IServiceProvider | |
Результат | string |
public GetNameForMessagePair ( Microsoft.Crm.Services.Utility.SdkMessagePair messagePair, IServiceProvider services ) : string | ||
messagePair | Microsoft.Crm.Services.Utility.SdkMessagePair | |
services | IServiceProvider | |
Результат | string |
public GetNameForOption ( OptionSetMetadataBase optionSetMetadata, OptionMetadata optionMetadata, IServiceProvider services ) : string | ||
optionSetMetadata | OptionSetMetadataBase | |
optionMetadata | OptionMetadata | |
services | IServiceProvider | |
Результат | string |
public GetNameForOptionSet ( EntityMetadata entityMetadata, OptionSetMetadataBase optionSetMetadata, IServiceProvider services ) : string | ||
entityMetadata | EntityMetadata | |
optionSetMetadata | OptionSetMetadataBase | |
services | IServiceProvider | |
Результат | string |
public GetNameForRelationship ( EntityMetadata entityMetadata, RelationshipMetadataBase relationshipMetadata, EntityRole reflexiveRole, IServiceProvider services ) : string | ||
entityMetadata | EntityMetadata | |
relationshipMetadata | RelationshipMetadataBase | |
reflexiveRole | EntityRole | |
services | IServiceProvider | |
Результат | string |
public GetNameForRequestField ( Microsoft.Crm.Services.Utility.SdkMessageRequest request, Microsoft.Crm.Services.Utility.SdkMessageRequestField requestField, IServiceProvider services ) : string | ||
request | Microsoft.Crm.Services.Utility.SdkMessageRequest | |
requestField | Microsoft.Crm.Services.Utility.SdkMessageRequestField | |
services | IServiceProvider | |
Результат | string |
public GetNameForResponseField ( Microsoft.Crm.Services.Utility.SdkMessageResponse response, Microsoft.Crm.Services.Utility.SdkMessageResponseField responseField, IServiceProvider services ) : string | ||
response | Microsoft.Crm.Services.Utility.SdkMessageResponse | |
responseField | Microsoft.Crm.Services.Utility.SdkMessageResponseField | |
services | IServiceProvider | |
Результат | string |
public GetNameForServiceContext ( IServiceProvider services ) : string | ||
services | IServiceProvider | |
Результат | string |
public NamingService ( INamingService defaultService ) : System | ||
defaultService | INamingService | |
Результат | System |