Class PolicyDto.PolicyDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
PolicyDto.PolicyDataTable
Namespace: Mediachase.Commerce.Marketing.Dto
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public class PolicyDataTable : TypedTableBase<PolicyDto.PolicyRow>

Constructors

PolicyDataTable()

Declaration
public PolicyDataTable()

PolicyDataTable(SerializationInfo, StreamingContext)

Declaration
protected PolicyDataTable(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

Count

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

ExpressionIdColumn

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

IsLocalColumn

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

Item[Int32]

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

NameColumn

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

PolicyIdColumn

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

StatusColumn

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

Methods

AddPolicyRow(PolicyDto.PolicyRow)

Declaration
public void AddPolicyRow(PolicyDto.PolicyRow row)
Parameters
Type Name Description
PolicyDto.PolicyRow row

AddPolicyRow(String, String, Int32, Guid, Boolean)

Declaration
public PolicyDto.PolicyRow AddPolicyRow(string Name, string Status, int ExpressionId, Guid ApplicationId, bool IsLocal)
Parameters
Type Name Description
System.String Name
System.String Status
System.Int32 ExpressionId
System.Guid ApplicationId
System.Boolean IsLocal
Returns
Type Description
PolicyDto.PolicyRow

Clone()

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

CreateInstance()

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

FindByPolicyId(Int32)

Declaration
public PolicyDto.PolicyRow FindByPolicyId(int PolicyId)
Parameters
Type Name Description
System.Int32 PolicyId
Returns
Type Description
PolicyDto.PolicyRow

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

NewPolicyRow()

Declaration
public PolicyDto.PolicyRow NewPolicyRow()
Returns
Type Description
PolicyDto.PolicyRow

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

RemovePolicyRow(PolicyDto.PolicyRow)

Declaration
public void RemovePolicyRow(PolicyDto.PolicyRow row)
Parameters
Type Name Description
PolicyDto.PolicyRow row

Events

PolicyRowChanged

Declaration
public event PolicyDto.PolicyRowChangeEventHandler PolicyRowChanged
Event Type
Type Description
PolicyDto.PolicyRowChangeEventHandler

PolicyRowChanging

Declaration
public event PolicyDto.PolicyRowChangeEventHandler PolicyRowChanging
Event Type
Type Description
PolicyDto.PolicyRowChangeEventHandler

PolicyRowDeleted

Declaration
public event PolicyDto.PolicyRowChangeEventHandler PolicyRowDeleted
Event Type
Type Description
PolicyDto.PolicyRowChangeEventHandler

PolicyRowDeleting

Declaration
public event PolicyDto.PolicyRowChangeEventHandler PolicyRowDeleting
Event Type
Type Description
PolicyDto.PolicyRowChangeEventHandler