Exemple #1
0
 public YourLinqToHqlGeneratorsRegistry() : base()
 {
     RegisterGenerator(
         NHibernate.Linq.ReflectionHelper.GetMethod(
             () => YourLinqExtensions.Class(null)),
         new ClassGenerator());
 }
 public ClassGenerator()
 {
     SupportedMethods = new[]
     {
         NHibernate.Linq.ReflectionHelper.GetMethod(
             () => YourLinqExtensions.Class(null))
     };
 }