Beispiel #1
0
 public static Customer ReadOrdinal(ISqDataRecordReader record, TableItCustomer table, int offset)
 {
     return(new Customer(customerId: table.CustomerId.Read(record, offset), userId: table.UserId.Read(record, offset + 1), companyId: table.CompanyId.Read(record, offset + 2)));
 }
Beispiel #2
0
 public static TableColumn[] GetColumns(TableItCustomer table)
 {
     return(new TableColumn[] { table.CustomerId, table.UserId, table.CompanyId });
 }
Beispiel #3
0
 public static Customer Read(ISqDataRecordReader record, TableItCustomer table)
 {
     return(new Customer(customerId: table.CustomerId.Read(record), userId: table.UserId.Read(record), companyId: table.CompanyId.Read(record)));
 }