/Rhino.Etl.Tests/Joins/AllStringsToUpperCase.cs
http://github.com/ayende/rhino-etl · C# · 23 lines · 22 code · 1 blank · 0 comment · 1 complexity · fb13b6b4e328ad49cadc6b26036fb5cb MD5 · raw file
- namespace Rhino.Etl.Tests.Joins
- {
- using System.Collections.Generic;
- using Core;
- using Rhino.Etl.Core.Operations;
- public class AllStringsToUpperCase : AbstractOperation
- {
- public override IEnumerable<Row> Execute(IEnumerable<Row> rows)
- {
- foreach (Row row in rows)
- {
- foreach (string column in row.Columns)
- {
- string item = row[column] as string;
- if(item!=null)
- row[column] = item.ToUpper();
- }
- yield return row;
- }
- }
- }
- }