public WhereSqlGenerator(
     TableSqlGenerator <TModel> table,
     Expression <Func <TModel, bool> > filterExpression)
 {
     table_            = table;
     filterExpression_ = filterExpression;
 }
 public SelectSqlGenerator(
     TableSqlGenerator <TModel> table,
     Expression <Func <TModel, bool> > filterExpression,
     Expression <Func <TModel, TResultModel> > selectorExpression)
 {
     table_              = table;
     filterExpression_   = filterExpression;
     selectorExpression_ = selectorExpression;
 }
        private static void Main(string[] args)
        {
            var table = new TableSqlGenerator <OreOreModel>("OreOre");
            var query =
                from oreore in table
                where oreore.ID == 123
                select new { oreore.ID, oreore.Name };

            Console.WriteLine(query);

            foreach (var value in query)
            {
                Console.WriteLine(string.Format("{0}: {1}", value.ID, value.Name));
            }
        }