Example #1
0
        public void StatementFactory_BuildInsertStatementTest()
        {
            var expectedStatement = @"insert into [STAR_SHIP]([Serial], [NAME]) values (@Serial, @Name)";

            var statement = StatementFactory.Insert <StarShip>(Dialect.MSSQL);

            Assert.AreEqual(expectedStatement, statement);
        }