Skip to content

Commit 994f4db

Browse files
committed
Enhance ListDataReader<T> documentation
1 parent 3aaf576 commit 994f4db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Serilog.Sinks.SqlServer/ListDataReader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ namespace Serilog.Sinks.SqlServer;
99
/// <remarks>
1010
/// This class enables bulk insert operations by wrapping an enumerable collection and exposing it through the IDataReader interface.
1111
/// Column mappings are defined through the <see cref="MappingContext{T}"/> which specifies how to extract values from each item.
12+
/// The <see cref="MappingContext{T}"/> instance should be created once and reused across multiple <see cref="ListDataReader{T}"/> instances
13+
/// to avoid the overhead of recreating column mappings and schema information for each operation.
1214
/// </remarks>
1315
public class ListDataReader<T> : IDataReader
1416
{

0 commit comments

Comments
 (0)