Class CampaignDto.CampaignDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
CampaignDto.CampaignDataTable
Namespace: Mediachase.Commerce.Marketing.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class CampaignDataTable : TypedTableBase<CampaignDto.CampaignRow>

Constructors

CampaignDataTable()

Declaration
public CampaignDataTable()

CampaignDataTable(SerializationInfo, StreamingContext)

Declaration
protected CampaignDataTable(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Properties

ApplicationIdColumn

Declaration
public DataColumn ApplicationIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

CampaignIdColumn

Declaration
public DataColumn CampaignIdColumn { get; }
Property Value
Type Description
System.Data.DataColumn

CommentsColumn

Declaration
public DataColumn CommentsColumn { get; }
Property Value
Type Description
System.Data.DataColumn

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

CreatedColumn

Declaration
public DataColumn CreatedColumn { get; }
Property Value
Type Description
System.Data.DataColumn

EndDateColumn

Declaration
public DataColumn EndDateColumn { get; }
Property Value
Type Description
System.Data.DataColumn

ExportedColumn

Declaration
public DataColumn ExportedColumn { get; }
Property Value
Type Description
System.Data.DataColumn

IsActiveColumn

Declaration
public DataColumn IsActiveColumn { get; }
Property Value
Type Description
System.Data.DataColumn

IsArchivedColumn

Declaration
public DataColumn IsArchivedColumn { get; }
Property Value
Type Description
System.Data.DataColumn

Item[Int32]

Declaration
public CampaignDto.CampaignRow this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
CampaignDto.CampaignRow

ModifiedByColumn

Declaration
public DataColumn ModifiedByColumn { get; }
Property Value
Type Description
System.Data.DataColumn

ModifiedColumn

Declaration
public DataColumn ModifiedColumn { get; }
Property Value
Type Description
System.Data.DataColumn

NameColumn

Declaration
public DataColumn NameColumn { get; }
Property Value
Type Description
System.Data.DataColumn

StartDateColumn

Declaration
public DataColumn StartDateColumn { get; }
Property Value
Type Description
System.Data.DataColumn

Methods

AddCampaignRow(CampaignDto.CampaignRow)

Declaration
public void AddCampaignRow(CampaignDto.CampaignRow row)
Parameters
Type Name Description
CampaignDto.CampaignRow row

AddCampaignRow(Guid, DateTime, DateTime, String, DateTime, DateTime, DateTime, String, Boolean, Boolean, String)

Declaration
public CampaignDto.CampaignRow AddCampaignRow(Guid ApplicationId, DateTime StartDate, DateTime EndDate, string Name, DateTime Created, DateTime Exported, DateTime Modified, string ModifiedBy, bool IsActive, bool IsArchived, string Comments)
Parameters
Type Name Description
System.Guid ApplicationId
System.DateTime StartDate
System.DateTime EndDate
System.String Name
System.DateTime Created
System.DateTime Exported
System.DateTime Modified
System.String ModifiedBy
System.Boolean IsActive
System.Boolean IsArchived
System.String Comments
Returns
Type Description
CampaignDto.CampaignRow

Clone()

Declaration
public override DataTable Clone()
Returns
Type Description
System.Data.DataTable

CreateInstance()

Declaration
protected override DataTable CreateInstance()
Returns
Type Description
System.Data.DataTable

FindByCampaignId(Int32)

Declaration
public CampaignDto.CampaignRow FindByCampaignId(int CampaignId)
Parameters
Type Name Description
System.Int32 CampaignId
Returns
Type Description
CampaignDto.CampaignRow

GetRowType()

Declaration
protected override Type GetRowType()
Returns
Type Description
System.Type

GetTypedTableSchema(XmlSchemaSet)

Declaration
public static XmlSchemaComplexType GetTypedTableSchema(XmlSchemaSet xs)
Parameters
Type Name Description
System.Xml.Schema.XmlSchemaSet xs
Returns
Type Description
System.Xml.Schema.XmlSchemaComplexType

NewCampaignRow()

Declaration
public CampaignDto.CampaignRow NewCampaignRow()
Returns
Type Description
CampaignDto.CampaignRow

NewRowFromBuilder(DataRowBuilder)

Declaration
protected override DataRow NewRowFromBuilder(DataRowBuilder builder)
Parameters
Type Name Description
System.Data.DataRowBuilder builder
Returns
Type Description
System.Data.DataRow

OnRowChanged(DataRowChangeEventArgs)

Declaration
protected override void OnRowChanged(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowChanging(DataRowChangeEventArgs)

Declaration
protected override void OnRowChanging(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowDeleted(DataRowChangeEventArgs)

Declaration
protected override void OnRowDeleted(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

OnRowDeleting(DataRowChangeEventArgs)

Declaration
protected override void OnRowDeleting(DataRowChangeEventArgs e)
Parameters
Type Name Description
System.Data.DataRowChangeEventArgs e

RemoveCampaignRow(CampaignDto.CampaignRow)

Declaration
public void RemoveCampaignRow(CampaignDto.CampaignRow row)
Parameters
Type Name Description
CampaignDto.CampaignRow row

Events

CampaignRowChanged

Declaration
public event CampaignDto.CampaignRowChangeEventHandler CampaignRowChanged
Event Type
Type Description
CampaignDto.CampaignRowChangeEventHandler

CampaignRowChanging

Declaration
public event CampaignDto.CampaignRowChangeEventHandler CampaignRowChanging
Event Type
Type Description
CampaignDto.CampaignRowChangeEventHandler

CampaignRowDeleted

Declaration
public event CampaignDto.CampaignRowChangeEventHandler CampaignRowDeleted
Event Type
Type Description
CampaignDto.CampaignRowChangeEventHandler

CampaignRowDeleting

Declaration
public event CampaignDto.CampaignRowChangeEventHandler CampaignRowDeleting
Event Type
Type Description
CampaignDto.CampaignRowChangeEventHandler