Beispiel #1
0
 public Product Convert(Lucene.Net.Documents.Document document)
 {
     return(new Product
     {
         Id = document.GetValue <int>("id"),
         Name = document.GetValue <string>("name")
     });
 }