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))); }
public static ExprColumn[] GetColumns(DerivedTableCustomer table) { return(new ExprColumn[] { table.CustomerId, table.Type, table.Name }); }
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))); }