예제 #1
0
파일: DataAccess.cs 프로젝트: RH-Code/GAPP
        public static List<Framework.Data.Log> GetLogs(Framework.Data.LogCollection lCollection, string GeocacheCode)
        {
            //grouping
            return lCollection.GetLogs(GeocacheCode);

            /*
            List<Framework.Data.Log> result = null;

            result = (from Framework.Data.Log l in lCollection
                      where l.GeocacheCode == GeocacheCode
                      orderby l.Date descending
                      select l).ToList();

            return result;
             * */
        }