locked
SchemaType.Source RRS feed

  • Question

  • User1904516115 posted

    SchemaType.Source will ignore TableMappings altogether and

    create tables and columns as is in the database?

    So if there were already tables and columns in the dataset
    that has identical names, would the adapter throw an exception or ignore
    it..?

    Saturday, April 24, 2010 4:11 PM

Answers

All replies

  • User1716267170 posted

    Hi vinodkpasi,

    So if there were already tables and columns in the dataset
    that has identical names, would the adapter throw an exception or ignore
    it..?

    I guess it may be ignored. Please take a look at this document describing this:

    http://msdn.microsoft.com/en-us/library/system.data.schematype.aspx

    Thanks. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 26, 2010 10:41 PM
  • User-359936451 posted

    What I found happens when source is specified, is that for example, with an XML file, the datatable is added to the xml with the schema coming in, not the mapped schema of the dataset/datatable. So if you where to open the XML like in excel, you would see the last datatable in the farthest columns and lowest rows of the spreadsheet.

     

    Wednesday, July 17, 2013 9:47 AM