Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see/> class.
 /// </summary>
 /// <param name = "builder" >
 /// The data.
 /// </param>
 public RegionalAuthority(IBuilder builder)
     : base(builder)
 {
     Record           = builder?.GetRecord();
     BudgetFiscalYear = new BudgetFiscalYear(Record.GetField(Field.BFY));
     Data             = Record?.ToDictionary();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see>
 /// <cref>
 /// RegionalAuthority
 /// </cref>
 /// </see>
 /// class.
 /// </summary>
 /// <param name = "query" >
 /// The query.
 /// </param>
 public RegionalAuthority(IQuery query)
     : base(query)
 {
     Record           = new DataBuilder(query)?.GetRecord();
     BudgetFiscalYear = new BudgetFiscalYear(Record.GetField(Field.BFY));
     Data             = Record?.ToDictionary();
 }