Class NamingPolicyNotConfigured
The exception that is thrown when the naming policy for MongoDB has not been configured.
public class NamingPolicyNotConfigured : Exception, ISerializable
- Inheritance
-
NamingPolicyNotConfigured
- Implements
- Inherited Members
Constructors
NamingPolicyNotConfigured(string)
The exception that is thrown when the naming policy for MongoDB has not been configured.
public NamingPolicyNotConfigured(string message)
Parameters
messagestringThe additional message of the error.
Methods
ThrowIfNotConfigured(INamingPolicy?)
Throw if not configured.
public static void ThrowIfNotConfigured(INamingPolicy? convention)
Parameters
conventionINamingPolicyThe INamingPolicy.
Exceptions
- NamingPolicyNotConfigured
Thrown if the resolver is not configured.