public void Factory_Method_For_Column() { var whereClause = new And(Column.Named("MerchantId").IsEqualTo(12), Column.Named("Status").IsEqualTo("Good")); Assert.AreEqual<string>("(MerchantId = '12') AND (Status = 'Good')", whereClause.ToString()); }
public void Factory_Method_For_Column() { var whereClause = new And(Column.Named("MerchantId").IsEqualTo(12), Column.Named("Status").IsEqualTo("Good")); Assert.AreEqual <string>("(MerchantId = '12') AND (Status = 'Good')", whereClause.ToString()); }
public void Basic_And_Stuff() { var myWhere = new And(new Column("MerchantId").IsEqualTo(12), new Column("Status").IsEqualTo("Good")); Assert.AreEqual<string>("(MerchantId = '12') AND (Status = 'Good')", myWhere.ToString()); }
public void Basic_And_Stuff() { var myWhere = new And(new Column("MerchantId").IsEqualTo(12), new Column("Status").IsEqualTo("Good")); Assert.AreEqual <string>("(MerchantId = '12') AND (Status = 'Good')", myWhere.ToString()); }