Deveel.Data.Sql.Statements.InsertStringFormatTests.WithNoColumns C# (CSharp) Метод

WithNoColumns() приватный Метод

private WithNoColumns ( ) : void
Результат void
        public static void WithNoColumns()
        {
            var statement = new InsertStatement(ObjectName.Parse("t1"), new[] {
                new SqlExpression[] {
                    SqlExpression.Constant("Antonello"),
                    SqlExpression.Constant("Provenzano"),
                    SqlExpression.Constant(34)
                },
            });

            var sql = statement.ToString();
            var expected = new StringBuilder();
            expected.Append("INSERT INTO t1 ");
            expected.Append("VALUES ('Antonello', 'Provenzano', 34)");

            Assert.AreEqual(expected.ToString(), sql);
        }