public void ValuesSimple2() { ValueList w = new ValueList(global::SqlBuilder.Format.MsSQL); w.AppendParameters("a", "b", "c"); string result = w.GetSql(); string sql = "@a, @b, @c"; Assert.AreEqual(sql, result); }
public void ValuesSimple2() { NKnife.Storages.SQL.Common.SuperSql.DefaultFormatter = FormatterLibrary.MsSql; ValueList w = new ValueList(NKnife.Storages.SQL.Common.SuperSql.DefaultFormatter); w.AppendParameters("a", "b", "c"); string result = w.GetSql(); string sql = "@a, @b, @c"; Assert.Equal(sql, result); }
public void ValuesSimple2() { SqlBuilder.DefaultFormatter = FormatterLibrary.MsSql; ValueList w = new ValueList(SqlBuilder.DefaultFormatter); w.AppendParameters("a", "b", "c"); string result = w.GetSql(); string sql = "@a, @b, @c"; Assert.AreEqual(sql, result); }