Exemplo n.º 1
0
        // Summary:
        //     Fetch the data from the specified list of IDataRecord objects and stores it into the target table
        //
        // Exceptions:
        //   System.ArgumentException:
        //     If the name of the target table hasn't been specified
        //
        //   System.IndexOutOfRangeException:
        //     If the mapping specifies a column ordinal that is outside of the allowed range
        //
        //   NuoDb.Data.Client.NuoDbSqlException:
        //     If the server returns an error
        public void WriteToServer(List <IDataRecord> reader)
        {
            DataFeeder feeder = new WrapDataRecordAsFeeder(reader);

            WriteToServer(feeder);
        }
Exemplo n.º 2
0
 // Summary:
 //     Fetch the data from the specified list of IDataRecord objects and stores it into the target table
 //
 // Exceptions:
 //   System.ArgumentException:
 //     If the name of the target table hasn't been specified
 //
 //   System.IndexOutOfRangeException:
 //     If the mapping specifies a column ordinal that is outside of the allowed range
 //
 //   NuoDb.Data.Client.NuoDbSqlException:
 //     If the server returns an error
 public void WriteToServer(List<IDataRecord> reader)
 {
     DataFeeder feeder = new WrapDataRecordAsFeeder(reader);
     WriteToServer(feeder);
 }
Exemplo n.º 3
0
        // Summary:
        //     Execute the command multiple times, each time using a new set of parameters as stored in
        //     the provided list
        //
        public void ExecuteBatch(List <IDataRecord> parameters)
        {
            DataFeeder feeder = new WrapDataRecordAsFeeder(parameters);

            ExecuteBatch(feeder);
        }
Exemplo n.º 4
0
 // Summary:
 //     Execute the command multiple times, each time using a new set of parameters as stored in
 //     the provided list
 //
 public void ExecuteBatch(List<IDataRecord> parameters)
 {
     DataFeeder feeder = new WrapDataRecordAsFeeder(parameters);
     ExecuteBatch(feeder);
 }