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
stringName of the collection to map the attributed type to.