public Iip() { _typeOfInvestment = new TypeOfInvestment { Options = (BeaParameterOptions.HasAllValue | BeaParameterOptions.HasDefaultValue | BeaParameterOptions.AllowMultiples), DefaultValue = Globals.ALL_STRING, AllValue = Globals.ALL_STRING }; _component = new Component { Options = (BeaParameterOptions.HasAllValue | BeaParameterOptions.HasDefaultValue | BeaParameterOptions.AllowMultiples), DefaultValue = Globals.ALL_STRING, AllValue = Globals.ALL_STRING }; _freq = new Frequency { Options = (BeaParameterOptions.HasAllValue | BeaParameterOptions.HasDefaultValue | BeaParameterOptions.AllowMultiples), DefaultValue = Globals.ALL_STRING, AllValue = Globals.ALL_STRING }; _beaYear = new BeaYear { Options = (BeaParameterOptions.HasAllValue | BeaParameterOptions.HasDefaultValue | BeaParameterOptions.AllowMultiples), DefaultValue = Globals.ALL_STRING, AllValue = Globals.ALL_STRING }; MyParameters = new List <BeaParameter> { _typeOfInvestment, _component, _freq, _beaYear }; }
public TypesOfInvestmentForSelection(TypeOfInvestment typeOfInvestment) { Id = typeOfInvestment.Id; Title = typeOfInvestment.Title; }