Exemple #1
0
        public void CanGenerateColumnDefinitionsFromTableDDL()
        {
            List <ColumnDefinition> schema = SqliteSchemaDumper.GetColumnDefinitionsForTableDDL(CreateTableSql);

            Assert.IsNotNull(schema, "ColumnDefinition can't be null");
            Assert.IsNotEmpty(schema, "ColumnDefinition must have elements");
            Assert.AreEqual(schema.Count, 9, "Schema must have 9 columns");
        }