Ejemplo n.º 1
0
 /// <summary>
 /// Writes the specified <see cref="BulkEntity"/> to the file.
 /// </summary>
 /// <param name="entity">The bulk entity to write to the file.</param>
 /// <param name="excludeReadonlyData">Whether read only fields should be ignored.</param>
 /// <remarks>
 /// Bulk entities that are derived from <see cref="SingleRecordBulkEntity"/> will be written to a single row in the file.
 /// Bulk entities that are derived from <see cref="MultiRecordBulkEntity"/> will be written to multiple rows in the file.
 /// </remarks>
 public void WriteEntity(BulkEntity entity, bool excludeReadonlyData)
 {
     entity.WriteToStream(_bulkObjectWriter, excludeReadonlyData);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Writes the specified <see cref="BulkEntity"/> to the file.
 /// </summary>
 /// <param name="entity">The bulk entity to write to the file.</param>
 /// <param name="excludeReadonlyData">Whether read only fields should be ignored.</param>
 /// <remarks>
 /// Bulk entities that are derived from <see cref="SingleRecordBulkEntity"/> will be written to a single row in the file.
 /// Bulk entities that are derived from <see cref="MultiRecordBulkEntity"/> will be written to multiple rows in the file.
 /// </remarks>
 public void WriteEntity(BulkEntity entity, bool excludeReadonlyData)
 {
     entity.WriteToStream(_bulkObjectWriter, excludeReadonlyData);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Writes the specified <see cref="BulkEntity"/> to the file.
 /// </summary>
 /// <param name="entity">The bulk entity to write to the file.</param>
 /// <remarks>
 /// Bulk entities that are derived from <see cref="SingleRecordBulkEntity"/> will be written to a single row in the file.
 /// Bulk entities that are derived from <see cref="MultiRecordBulkEntity"/> will be written to multiple rows in the file.
 /// </remarks>
 public void WriteEntity(BulkEntity entity)
 {
     entity.WriteToStream(_bulkObjectWriter, false);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Writes the specified <see cref="BulkEntity"/> to the file.
 /// </summary>
 /// <param name="entity">The bulk entity to write to the file.</param>
 /// <remarks>
 /// Bulk entities that are derived from <see cref="SingleRecordBulkEntity"/> will be written to a single row in the file.
 /// Bulk entities that are derived from <see cref="MultiRecordBulkEntity"/> will be written to multiple rows in the file.
 /// </remarks>
 public void WriteEntity(BulkEntity entity)
 {            
     entity.WriteToStream(_bulkObjectWriter, false);            
 }