Ejemplo n.º 1
0
        public IEnumerable <Product> SeachProduct(String key)
        {
            var pro = data.ExecuteQuery <Product>(@"select * from Product where ProductName like '%" + key + "%' or Model like '%" + key + "%' or ID like '%" + key + "%' ");

            return(pro);
        }