public TblOrderLine(OrderLineDto orderLineDto, string primaryKey) { var properties = typeof(OrderLineDto).GetProperties(); PrimaryKey = primaryKey; GetColumnData(properties, orderLineDto); }
public OrderLineDto EntityUser(int primaryKeyValue) { var dt = GetEntity(primaryKeyValue); OrderLineDto orderLineDto = DataTableHelper.ConvertDataTableToObject <OrderLineDto>(dt); return(orderLineDto); }
public TblOrderLineDto(OrderLineDto orderLineDtoParam, string primaryKey) { orderLineDto = orderLineDtoParam; var properties = typeof(OrderLineDto).GetProperties(); GetColumnData(properties, orderLineDtoParam); }
public OrderLineData(OrderLineDto orderLineDto) { TableName = "TblOrderLine"; PrimaryKey = "OrderLineID"; tblOrderLine = new TblOrderLine(orderLineDto, PrimaryKey); }