Example #1
0
 protected override ResourceStack LoadItem(ITableRowDataReader reader)
 {
     return(new ResourceStack(reader.Read(IDColumn))
     {
         Quantity = reader.Read(QuantityColumn)
     });
 }
Example #2
0
 protected override ResourceTypeGroup LoadItem(ITableRowDataReader reader)
 {
     return(new ResourceTypeGroup(Domain.FindByName(reader.DomainName), reader.Read(IdentifierColumn))
     {
     });
 }