示例#1
0
文件: DBEntry.cs 项目: lyosky/WDBXLib
        /// <summary>
        /// Produces a list of unique rows (excludes key values)
        /// </summary>
        /// <returns></returns>
        public IEnumerable <T> GetUniqueRows()
        {
            DBRowComparer <T> comparer = new DBRowComparer <T>(PrimaryKey);

            return(Rows.AsEnumerable().Distinct(comparer));
        }