Class MappingError
Represents mapping error.
Inheritance
System.Object
    MappingError
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Mediachase.BusinessFoundation.Data.Business.Mapping
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0Syntax
public class MappingError
  Constructors
MappingError(MappingErrorType, String)
Initializes a new instance of the MappingError class.
Declaration
public MappingError(MappingErrorType type, string descr)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MappingErrorType | type | The type.  | 
      
| System.String | descr | The descr.  | 
      
MappingError(MappingErrorType, String, DataRow)
Initializes a new instance of the MappingError class.
Declaration
public MappingError(MappingErrorType type, string descr, DataRow row)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MappingErrorType | type | The type.  | 
      
| System.String | descr | The descr.  | 
      
| System.Data.DataRow | row | The row.  | 
      
Properties
Column
Gets or sets the column.
Declaration
public DataColumn Column { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Data.DataColumn | The column.  | 
      
ErrorDescr
Gets or sets the error descr.
Declaration
public string ErrorDescr { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | The error descr.  | 
      
ErrorType
Declaration
public MappingErrorType ErrorType { get; set; }
  Property Value
| Type | Description | 
|---|---|
| MappingErrorType | 
Exception
Gets or sets the exception.
Declaration
public Exception Exception { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Exception | The exception.  | 
      
Row
Gets or sets the row.
Declaration
public DataRow Row { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Data.DataRow | The row.  | 
      
Table
Gets or sets the table.
Declaration
public DataTable Table { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Data.DataTable | The table.  | 
      
Methods
GetErrorLog(MappingError[])
Gets the error log.
Declaration
public static string GetErrorLog(params MappingError[] errors)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MappingError[] | errors | The errors.  | 
      
Returns
| Type | Description | 
|---|---|
| System.String | 
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | A System.String that represents the current System.Object.  | 
      
Overrides
System.Object.ToString()