/// <summary> /// Determines the type of the key generator. Default value: Traditional. /// </summary> public ACollection KeyGeneratorType(AKeyGeneratorType value) { // needs to be in string format - set enum format explicitely to override global setting _parameters.Enum(ParameterName.KeyOptionsType, value.ToString().ToLower(), EnumFormat.String); return(this); }
/// <summary> /// Determines the type of the key generator. Default value: Traditional. /// </summary> public CollectionBuilder KeyGeneratorType(AKeyGeneratorType value) { if (_parameters.KeyOptions == null) { _parameters.KeyOptions = new KeyOptions(); } // needs to be in string format - set enum format explicitely to override global setting _parameters.KeyOptions.Type = value.ToString().ToLower(); return(this); }
/// <summary> /// Determines the type of the key generator. Default value: Traditional. /// </summary> public ACollection KeyGeneratorType(AKeyGeneratorType value) { // needs to be in string format - set enum format explicitely to override global setting _parameters.Enum(ParameterName.KeyOptionsType, value.ToString().ToLower(), EnumFormat.String); return this; }