src/Cassandra.IntegrationTests/Linq/LinqTable/CreateTable.cs
/// <summary>
/// Successfully create a table using the method Create, 
/// overriding the default table name given via the class' "name" meta-tag
/// </summary>
Successfully create a table using the method Create,
overriding the default table name given via the class' "name" meta-tag
Successfully create a table using the method Create overriding the default table name given via the class ' " name " meta - tag
[Test, TestCassandraVersion(2, 0)]
        public void TableCreate_Create_NameOverride()
        {
            var uniqueTableName = TestUtils.GetUniqueTableName();
            var table = new Table<AllDataTypesEntity>(_session, new MappingConfiguration(), uniqueTableName);
            Assert.AreEqual(uniqueTableName, table.Name);
            table.Create();
            Assert.IsTrue(TestUtils.TableExists(_session, _uniqueKsName, uniqueTableName, true));
            WriteReadValidate(table);
        }
[ Test , TestCassandraVersion ( 2 , 0 ) ] public void TableCreate_Create_NameOverride ( ) { var uniqueTableName = TestUtils . GetUniqueTableName ( ) ; var table = new Table < AllDataTypesEntity > ( _session , new MappingConfiguration ( ) , uniqueTableName ) ; Assert . AreEqual ( uniqueTableName , table . Name ) ; table . Create ( ) ; Assert . IsTrue ( TestUtils . TableExists ( _session , _uniqueKsName , uniqueTableName , true ) ) ; WriteReadValidate ( table ) ; }
Successfully create a table using the method Create,
overriding the default table name given via the class' "name" meta-tag
Successfully create a table using the method Create overriding the default table name given via the class ' " name " meta - tag