Class MultipleMapAttributesException
This exception is invoked if a model property has multiple mapping attributes. A single value cannot be mapped to/from multiple parameters or columns.
This exception is not raised in the case of
Inheritance
Implements
Inherited Members
Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
public sealed class MultipleMapAttributesException : Exception, ISerializable
Constructors
| Improve this Doc View SourceMultipleMapAttributesException()
Initializes a new instance of the MultipleMapAttributesException class with no error message.
Declaration
public MultipleMapAttributesException()
MultipleMapAttributesException(PropertyInfo)
Initializes a new instance of the MultipleMapAttributesException class.
Declaration
public MultipleMapAttributesException(PropertyInfo property)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.PropertyInfo | property | The property that is decorated with multiple mapping attributes. |
MultipleMapAttributesException(String)
Initializes a new instance of the MultipleMapAttributesException class with a specified error message.
Declaration
public MultipleMapAttributesException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
MultipleMapAttributesException(String, Exception)
Initializes a new instance of the MultipleMapAttributesException class.
Declaration
public MultipleMapAttributesException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception. |