Table of Contents

Class RowMap

Namespace
Open.Database.Extensions
Assembly
Open.Database.Extensions.Core.dll

The builder behind the collection syntax of RowMap<T>: RowMap<Post> map = [new(nameof(Post.Id), "post_id")];.

public static class RowMap
Inheritance
RowMap
Inherited Members

Methods

Create<T>(ReadOnlySpan<KeyValuePair<string, string?>>)

Creates and validates a RowMap<T> from (property name, column name) pairs, exactly as the constructor does.