0

I'm trying to verify a table gets created. I'm using SQLite and NHibernate.

new SchemaExport(_configuration)
            .Execute(true, true, false, _session.Connection, Console.Out);


IDataBaseSchema dbMeta = new SQLiteDataBaseMetaData((DbConnection) _session.Connection);
ITableMetadata tbMeta = dbMeta.GetTableMetadata(//where do I get the datarow this method needs?, and what are the extras args?);

How can I use this method correctly?

Hcabnettek
  • 12,678
  • 38
  • 124
  • 190

1 Answers1

1

I would suggest you verify that your mappings and your DB schema are in synch (See SchemaValidator); that should do the trick.

J. Ed
  • 6,692
  • 4
  • 39
  • 55