Example #1
0
 public IEnumerator <T> GetEnumerator()
 {
     foreach (T record in DataMapper.Select(SessionFactory.GetCurrentSession(typeof(T)), this))
     {
         yield return(record);
     }
 }