public virtual void Constructor2() { string statement = new Srt2.SqlQueries.InsertIntoSelect("TestDatabase.Dbo.CopyCustomers", "[CustomerName], [ContactName]") .Select(SelectCustomer().Columns("[CustomerName], [ContactName]")) .ToString(DbConnectionType); Assert.AreEqual(Expected, statement); }
public virtual void ConstructorStar1() { string statement = new Srt2.SqlQueries.InsertIntoSelect() .Select(SelectCustomer()) .Into("TestDatabase.Dbo.CopyCustomers") .ToString(DbConnectionType); Assert.AreEqual(ExpectedStar, statement); }