Beispiel #1
0
        public static void createTable(DataSet dataSet, OrbDbConn dbConn, OrbTableAdapter tableAdapter)
        {
            SqlConnection  sqlConn    = new SqlConnection(dbConn.ConnectionString);
            SqlDataAdapter sqlAdapter = new SqlDataAdapter(tableAdapter.SelectSql, sqlConn);

            sqlAdapter.Fill(dataSet, tableAdapter.TableName);
        }
Beispiel #2
0
 public OrbCore createTable(OrbDbConn conn, OrbTableAdapter adapter)
 {
     createTable(DataSet, conn, adapter);
     return(this);
 }