PageRenderTime 2329ms CodeModel.GetById 1705ms app.highlight 1ms RepoModel.GetById 325ms app.codeStats 0ms

/Rhino.Etl.Tests/Joins/LeftJoinUsersToPeopleByEmail.cs

http://github.com/ayende/rhino-etl
C# | 13 lines | 12 code | 1 blank | 0 comment | 2 complexity | 1d16f362baff2cf7c17b16970a07db84 MD5 | raw file
 1namespace Rhino.Etl.Tests.Joins
 2{
 3    using System.Collections.Generic;
 4    using Core;
 5
 6    public class LeftJoinUsersToPeopleByEmail : BaseJoinUsersToPeople
 7    {
 8        protected override bool MatchJoinCondition(Row leftRow, Row rightRow)
 9        {
10            return Equals(leftRow["email"], rightRow["email"]) || rightRow["email"] == null;
11        }
12    }
13}