Class DatabaseContext
public record DatabaseContext : IEquatable<DatabaseContext>
- Inheritance
-
DatabaseContext
- Implements
- Inherited Members
Properties
CollectionName
If specified the collection will have this name.
public string CollectionName { get; init; }
Property Value
ConfigurationName
Configuration name for the database. Not to be confuced with the name that is actually used to stor data in the database. This name is used to read data from DatabaseOptions or IConfiguration.
public ConfigurationName ConfigurationName { get; init; }
Property Value
DatabasePart
Part of the database name that can be appended by the IConnectionStringBuilder. Normally the {part} is replaced by this value.
public string DatabasePart { get; init; }