예제 #1
0
 /// <summary>
 /// Binds the surrogate values to the search template.
 /// </summary>
 /// <param name="emptyTemplate">The empty template.</param>
 public void BindToSearchTemplate(ProductTemplate emptyTemplate)
 {
 }
예제 #2
0
 /// <summary>
 /// SQL like query to find and return a list of objects based on a template.</summary>
 /// <remarks> A query template is used for creating SQL like queries, in a more OO fashion.</remarks>
 /// <param name="template">ProductTemplate.</param>
 /// <returns> ObjectList&lt;Product&gt; </returns>
 public ObjectList<Product> Find(ProductTemplate template)
 {
     ObjectList<Product> c = new ObjectList<Product>();
     foreach(Product eo in base.Find(template))
     c.Add(eo);
     return c;
 }