Table of Contents

Constructor CollectionAttribute

Namespace
MongoDB.EntityFrameworkCore
Assembly
MongoDB.EntityFrameworkCore.dll

CollectionAttribute(string)

Creates a CollectionAttribute with the required collection name.

public CollectionAttribute(string name)

Parameters

name string

Name of the collection to map the attributed type to.