API Reference
RowMappingColumnOptions
Controls one explicit column binding in RowMapper.
Inheritance
- Object
- RowMappingColumnOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method RowMapper.FromColumns``1
- Method RowMapper.FromColumn``1
Constructors
public RowMappingColumnOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Boolean Optional { get; set; } #Gets or sets whether a missing source column leaves the model's initialized value unchanged. Present columns still convert and assign normally. Default is false.
public CultureInfo Culture { get; set; } #Gets or sets a culture overriding the reader's conversion culture for this binding.
public IReadOnlyList<String> DateTimeFormats { get; set; } #Gets or sets additional exact date/time formats overriding the reader's format list. The shared conversion pipeline tries these before ordinary culture-based parsing.
public Func<Object, Type, CultureInfo, ValueTuple<Boolean, Object>> TypeConverter { get; set; } #Gets or sets a converter overriding the reader's converter for this binding. Returning false selects built-in conversion; handled results, including null, take precedence. Parallel mapping may invoke the delegate concurrently.