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

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

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

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