Ejemplo n.º 1
0
        public void DatabaseGetField()
        {
            int record;

            record = DatabaseStoreStatic.NewRecord();
            Assert.IsFalse(DatabaseStoreStatic.HasField(record, "author"));
            DatabaseStoreStatic.SetField(record, "author", "first author");
            Assert.IsTrue(DatabaseStoreStatic.HasField(record, "author"));
            DatabaseStoreStatic.DeleteField(record, "author");
            Assert.IsFalse(DatabaseStoreStatic.HasField(record, "author"));
            DatabaseStoreStatic.DeleteRecord(record);
        }