Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class MappingElement

Inheritance
System.Object
MappingElement
Implements
System.Xml.Serialization.IXmlSerializable
Namespace: Mediachase.BusinessFoundation.Data.Business.Mapping
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class MappingElement : Collection<MappingRule>, IChangeTracking, IXmlSerializable

Constructors

MappingElement()

Declaration
public MappingElement()

MappingElement(String, String)

Declaration
public MappingElement(string tableName, string className)
Parameters
Type Name Description
System.String tableName
System.String className

MappingElement(String, String, String)

Declaration
public MappingElement(string tableName, string className, string primaryKeyName)
Parameters
Type Name Description
System.String tableName
System.String className
System.String primaryKeyName

Fields

classAttrName

Declaration
public static string classAttrName
Field Value
Type Description
System.String

pkAttrName

Declaration
public static string pkAttrName
Field Value
Type Description
System.String

tableAttrName

Declaration
public static string tableAttrName
Field Value
Type Description
System.String

Properties

ClassName

Gets or sets the name of the class.

Declaration
public string ClassName { get; set; }
Property Value
Type Description
System.String

The name of the class.

PrimaryKeyName

Gets or sets the name of the PK col.

Declaration
public string PrimaryKeyName { get; set; }
Property Value
Type Description
System.String

The name of the PK col.

TableName

Gets or sets the name of the table.

Declaration
public string TableName { get; set; }
Property Value
Type Description
System.String

The name of the table.

Implements

System.Xml.Serialization.IXmlSerializable