Schema/Mapping

  • Thread starter Thread starter Jim Heavey
  • Start date Start date
J

Jim Heavey

I am trying to understand how to use the
"da.MissingMappingAction=MissingMappingAction.Error" and
"da.MissingSchemaAction=MissingSchemaAction.Error"

I build my Datatable and loaded what I thought was the schema, The column
names, Column types and primary keys, but when I run with the
"MissingSchemaAction.Error", It errors out with a messing schema error
message with the "Table name". I am mapping each of the columns in the
table and the query is returning all of those columns, so it can't be I am
missing an actual column, so my only guess is there is some other property
which is not being set which must be set.

I changed the properties on the "MissingSchemaAction" to "add" and wrote a
little routine to look at these same properties before and after and they
were the same. This is why I am concluding that there is some other
property which must be set.

Any ideas?????


Thanks in advance for your assistance!!!!!!!!!!!!!!!!!
 
Back
Top