static void insert ( CallInfo callInfo , DataSet data ) { Table table = asTable ( data . getSource ( ) ) ; if ( data . isEmpty ( ) ) { throw new InvalidOperationException ( "Empty data set." ) ; } table . setDirtyStatus ( true ) ; doInsert ( callInfo , table , data ) ; }
Insert a data set onto the database .