Exemple #1
0
            public TblOrderLine(OrderLineDto orderLineDto, string primaryKey)
            {
                var properties = typeof(OrderLineDto).GetProperties();

                PrimaryKey = primaryKey;
                GetColumnData(properties, orderLineDto);
            }
Exemple #2
0
        public OrderLineDto EntityUser(int primaryKeyValue)
        {
            var          dt           = GetEntity(primaryKeyValue);
            OrderLineDto orderLineDto = DataTableHelper.ConvertDataTableToObject <OrderLineDto>(dt);

            return(orderLineDto);
        }
Exemple #3
0
        public TblOrderLineDto(OrderLineDto orderLineDtoParam, string primaryKey)
        {
            orderLineDto = orderLineDtoParam;
            var properties = typeof(OrderLineDto).GetProperties();

            GetColumnData(properties, orderLineDtoParam);
        }
Exemple #4
0
 public OrderLineData(OrderLineDto orderLineDto)
 {
     TableName    = "TblOrderLine";
     PrimaryKey   = "OrderLineID";
     tblOrderLine = new TblOrderLine(orderLineDto, PrimaryKey);
 }