Esempio n. 1
0
 public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
 {
     if (EnumFilter.GenerateOptionSet(optionSetMetadata, services))
     {
         OptionSetMetadata.Add(optionSetMetadata.MetadataId.GetValueOrDefault(), optionSetMetadata);
     }
     return(DefaultService.GenerateOptionSet(optionSetMetadata, services));
 }
Esempio n. 2
0
 public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
 {
     //if (optionSetMetadata.OptionSetType.Value == OptionSetType.State
     //        || optionSetMetadata.OptionSetType.Value == OptionSetType.Status
     //        || optionSetMetadata.OptionSetType.Value == OptionSetType.Picklist && optionSetMetadata.IsGlobal == false)
     //{
     //    return true;
     //}
     //else
     //{
     return(DefaultService.GenerateOptionSet(optionSetMetadata, services));
     // }
 }
Esempio n. 3
0
 public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
 {
     return(DefaultService.GenerateOptionSet(optionSetMetadata, services));
 }