コード例 #1
0
ファイル: BeaDataset.cs プロジェクト: nofuture-git/31g
 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
     };
 }
コード例 #2
0
 public TypesOfInvestmentForSelection(TypeOfInvestment typeOfInvestment)
 {
     Id    = typeOfInvestment.Id;
     Title = typeOfInvestment.Title;
 }