コード例 #1
0
        public void InsertStatemtn_ForCustomTable()
        {
            var statement = InsertStatementTemplate.For <Person>("Balloon");

            Assert.That(statement.CommandText, Is.EqualTo("insert into [Balloon] ([Id], [Name], [BirthDate]) values (@Id, @Name, @BirthDate)"));
        }
コード例 #2
0
        public void InsertStatement_CommandText()
        {
            var statement = InsertStatementTemplate.For <Person>();

            Assert.That(statement.CommandText, Is.EqualTo("insert into [Person] ([Id], [Name], [BirthDate]) values (@Id, @Name, @BirthDate)"));
        }