Example #1
0
 public static CustomerData ReadOrdinal(ISqDataRecordReader record, DerivedTableCustomer table, int offset)
 {
     return(new CustomerData(id: table.CustomerId.Read(record, offset), customerType: table.Type.Read(record, offset + 1), name: table.Name.Read(record, offset + 2)));
 }
Example #2
0
 public static ExprColumn[] GetColumns(DerivedTableCustomer table)
 {
     return(new ExprColumn[] { table.CustomerId, table.Type, table.Name });
 }
Example #3
0
 public static CustomerData Read(ISqDataRecordReader record, DerivedTableCustomer table)
 {
     return(new CustomerData(id: table.CustomerId.Read(record), customerType: table.Type.Read(record), name: table.Name.Read(record)));
 }