Ejemplo n.º 1
0
 /// <summary>
 ///     returns a prototype object for a specific class
 ///     to be passed to the where expression of a QLin
 ///     query.
 /// </summary>
 /// <remarks>
 ///     returns a prototype object for a specific class
 ///     to be passed to the where expression of a QLin
 ///     query.
 /// </remarks>
 /// <seealso cref="IQLin.Where(object)">IQLin.Where(object)</seealso>
 public static object Prototype(Type clazz)
 {
     try
     {
         return(_prototypes.PrototypeForClass(clazz));
     }
     catch (PrototypesException ex)
     {
         throw new QLinException(ex);
     }
 }