Show / Hide Table of Contents

Class VoterAnswersData.VotersDataTable

Represents the strongly named DataTable class.

Inheritance
System.Object
System.ComponentModel.MarshalByValueComponent
System.Data.DataTable
System.Data.TypedTableBase<VoterAnswersData.VotersRow>
VoterAnswersData.VotersDataTable
Implements
System.ComponentModel.IComponent
System.IDisposable
System.IServiceProvider
System.ComponentModel.IListSource
System.ComponentModel.ISupportInitializeNotification
System.ComponentModel.ISupportInitialize
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<VoterAnswersData.VotersRow>
System.Collections.IEnumerable
Inherited Members
System.Data.TypedTableBase<Votations.NSurvey.Data.VoterAnswersData.VotersRow>.GetEnumerator()
System.Data.TypedTableBase<Votations.NSurvey.Data.VoterAnswersData.VotersRow>.System.Collections.IEnumerable.GetEnumerator()
System.Data.TypedTableBase<Votations.NSurvey.Data.VoterAnswersData.VotersRow>.Cast<TResult>()
System.Data.DataTable.fInitInProgress
System.Data.DataTable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Data.DataTable.BeginInit()
System.Data.DataTable.EndInit()
System.Data.DataTable.AcceptChanges()
System.Data.DataTable.Copy()
System.Data.DataTable.Clear()
System.Data.DataTable.Compute(System.String, System.String)
System.Data.DataTable.GetChanges()
System.Data.DataTable.GetChanges(System.Data.DataRowState)
System.Data.DataTable.GetErrors()
System.Data.DataTable.System.ComponentModel.IListSource.GetList()
System.Data.DataTable.ImportRow(System.Data.DataRow)
System.Data.DataTable.NewRow()
System.Data.DataTable.NewRowArray(System.Int32)
System.Data.DataTable.OnColumnChanging(System.Data.DataColumnChangeEventArgs)
System.Data.DataTable.OnColumnChanged(System.Data.DataColumnChangeEventArgs)
System.Data.DataTable.OnPropertyChanging(System.ComponentModel.PropertyChangedEventArgs)
System.Data.DataTable.OnRemoveColumn(System.Data.DataColumn)
System.Data.DataTable.OnTableCleared(System.Data.DataTableClearEventArgs)
System.Data.DataTable.OnTableClearing(System.Data.DataTableClearEventArgs)
System.Data.DataTable.OnTableNewRow(System.Data.DataTableNewRowEventArgs)
System.Data.DataTable.RejectChanges()
System.Data.DataTable.Reset()
System.Data.DataTable.Select()
System.Data.DataTable.Select(System.String)
System.Data.DataTable.Select(System.String, System.String)
System.Data.DataTable.Select(System.String, System.String, System.Data.DataViewRowState)
System.Data.DataTable.ToString()
System.Data.DataTable.BeginLoadData()
System.Data.DataTable.EndLoadData()
System.Data.DataTable.LoadDataRow(System.Object[], System.Boolean)
System.Data.DataTable.LoadDataRow(System.Object[], System.Data.LoadOption)
System.Data.DataTable.Merge(System.Data.DataTable)
System.Data.DataTable.Merge(System.Data.DataTable, System.Boolean)
System.Data.DataTable.Merge(System.Data.DataTable, System.Boolean, System.Data.MissingSchemaAction)
System.Data.DataTable.Load(System.Data.IDataReader)
System.Data.DataTable.Load(System.Data.IDataReader, System.Data.LoadOption)
System.Data.DataTable.Load(System.Data.IDataReader, System.Data.LoadOption, System.Data.FillErrorEventHandler)
System.Data.DataTable.CreateDataReader()
System.Data.DataTable.WriteXml(System.IO.Stream)
System.Data.DataTable.WriteXml(System.IO.Stream, System.Boolean)
System.Data.DataTable.WriteXml(System.IO.TextWriter)
System.Data.DataTable.WriteXml(System.IO.TextWriter, System.Boolean)
System.Data.DataTable.WriteXml(System.Xml.XmlWriter)
System.Data.DataTable.WriteXml(System.Xml.XmlWriter, System.Boolean)
System.Data.DataTable.WriteXml(System.String)
System.Data.DataTable.WriteXml(System.String, System.Boolean)
System.Data.DataTable.WriteXml(System.IO.Stream, System.Data.XmlWriteMode)
System.Data.DataTable.WriteXml(System.IO.Stream, System.Data.XmlWriteMode, System.Boolean)
System.Data.DataTable.WriteXml(System.IO.TextWriter, System.Data.XmlWriteMode)
System.Data.DataTable.WriteXml(System.IO.TextWriter, System.Data.XmlWriteMode, System.Boolean)
System.Data.DataTable.WriteXml(System.Xml.XmlWriter, System.Data.XmlWriteMode)
System.Data.DataTable.WriteXml(System.Xml.XmlWriter, System.Data.XmlWriteMode, System.Boolean)
System.Data.DataTable.WriteXml(System.String, System.Data.XmlWriteMode)
System.Data.DataTable.WriteXml(System.String, System.Data.XmlWriteMode, System.Boolean)
System.Data.DataTable.WriteXmlSchema(System.IO.Stream)
System.Data.DataTable.WriteXmlSchema(System.IO.Stream, System.Boolean)
System.Data.DataTable.WriteXmlSchema(System.IO.TextWriter)
System.Data.DataTable.WriteXmlSchema(System.IO.TextWriter, System.Boolean)
System.Data.DataTable.WriteXmlSchema(System.Xml.XmlWriter)
System.Data.DataTable.WriteXmlSchema(System.Xml.XmlWriter, System.Boolean)
System.Data.DataTable.WriteXmlSchema(System.String)
System.Data.DataTable.WriteXmlSchema(System.String, System.Boolean)
System.Data.DataTable.ReadXml(System.IO.Stream)
System.Data.DataTable.ReadXml(System.IO.TextReader)
System.Data.DataTable.ReadXml(System.String)
System.Data.DataTable.ReadXml(System.Xml.XmlReader)
System.Data.DataTable.ReadXmlSchema(System.IO.Stream)
System.Data.DataTable.ReadXmlSchema(System.IO.TextReader)
System.Data.DataTable.ReadXmlSchema(System.String)
System.Data.DataTable.ReadXmlSchema(System.Xml.XmlReader)
System.Data.DataTable.GetDataTableSchema(System.Xml.Schema.XmlSchemaSet)
System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.GetSchema()
System.Data.DataTable.GetSchema()
System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader)
System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.WriteXml(System.Xml.XmlWriter)
System.Data.DataTable.ReadXmlSerializable(System.Xml.XmlReader)
System.Data.DataTable.CaseSensitive
System.Data.DataTable.IsInitialized
System.Data.DataTable.RemotingFormat
System.Data.DataTable.ChildRelations
System.Data.DataTable.Columns
System.Data.DataTable.Constraints
System.Data.DataTable.DataSet
System.Data.DataTable.DefaultView
System.Data.DataTable.DisplayExpression
System.Data.DataTable.ExtendedProperties
System.Data.DataTable.HasErrors
System.Data.DataTable.Locale
System.Data.DataTable.MinimumCapacity
System.Data.DataTable.ParentRelations
System.Data.DataTable.PrimaryKey
System.Data.DataTable.Rows
System.Data.DataTable.TableName
System.Data.DataTable.Namespace
System.Data.DataTable.Prefix
System.Data.DataTable.Site
System.Data.DataTable.System.ComponentModel.IListSource.ContainsListCollection
System.Data.DataTable.ColumnChanging
System.Data.DataTable.ColumnChanged
System.Data.DataTable.Initialized
System.Data.DataTable.RowChanged
System.Data.DataTable.RowChanging
System.Data.DataTable.RowDeleting
System.Data.DataTable.RowDeleted
System.Data.DataTable.TableClearing
System.Data.DataTable.TableCleared
System.Data.DataTable.TableNewRow
System.ComponentModel.MarshalByValueComponent.Dispose()
System.ComponentModel.MarshalByValueComponent.Dispose(System.Boolean)
System.ComponentModel.MarshalByValueComponent.GetService(System.Type)
System.ComponentModel.MarshalByValueComponent.Events
System.ComponentModel.MarshalByValueComponent.Container
System.ComponentModel.MarshalByValueComponent.DesignMode
System.ComponentModel.MarshalByValueComponent.Disposed
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: Votations.NSurvey.Data
Assembly: SurveyProject.BusinessEntities.dll
Syntax
[Serializable]
public class VotersDataTable : TypedTableBase<VoterAnswersData.VotersRow>, IComponent, IDisposable, IServiceProvider, IListSource, ISupportInitializeNotification, ISupportInitialize, ISerializable, IXmlSerializable, IEnumerable<VoterAnswersData.VotersRow>, IEnumerable

Constructors

VotersDataTable()

Declaration
public VotersDataTable()

VotersDataTable(SerializationInfo, StreamingContext)

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

Properties

ContextUserNameColumn

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

Count

Declaration
[Browsable(false)]
public int Count { get; }
Property Value
Type Description
System.Int32

EmailColumn

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

IPSourceColumn

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

Item[Int32]

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

LanguageCodeColumn

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

ProgressSaveDateColumn

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

ResumeAtPageNumberColumn

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

ResumeHighestPageNumberColumn

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

ResumeQuestionNumberColumn

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

ResumeUIDColumn

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

StartDateColumn

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

SurveyIdColumn

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

UIdColumn

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

ValidatedColumn

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

VoteDateColumn

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

VoterIdColumn

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

Methods

AddVotersRow(Int32, DateTime, String, Boolean, DateTime, String, String, String, DateTime, Int32, Int32, Int32, String, String)

Declaration
public VoterAnswersData.VotersRow AddVotersRow(int SurveyId, DateTime VoteDate, string IPSource, bool Validated, DateTime StartDate, string UId, string Email, string ResumeUID, DateTime ProgressSaveDate, int ResumeAtPageNumber, int ResumeQuestionNumber, int ResumeHighestPageNumber, string ContextUserName, string LanguageCode)
Parameters
Type Name Description
System.Int32 SurveyId
System.DateTime VoteDate
System.String IPSource
System.Boolean Validated
System.DateTime StartDate
System.String UId
System.String Email
System.String ResumeUID
System.DateTime ProgressSaveDate
System.Int32 ResumeAtPageNumber
System.Int32 ResumeQuestionNumber
System.Int32 ResumeHighestPageNumber
System.String ContextUserName
System.String LanguageCode
Returns
Type Description
VoterAnswersData.VotersRow

AddVotersRow(VoterAnswersData.VotersRow)

Declaration
public void AddVotersRow(VoterAnswersData.VotersRow row)
Parameters
Type Name Description
VoterAnswersData.VotersRow row

Clone()

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

CreateInstance()

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

FindByVoterId(Int32)

Declaration
public VoterAnswersData.VotersRow FindByVoterId(int VoterId)
Parameters
Type Name Description
System.Int32 VoterId
Returns
Type Description
VoterAnswersData.VotersRow

GetRowType()

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

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

NewRowFromBuilder(DataRowBuilder)

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

NewVotersRow()

Declaration
public VoterAnswersData.VotersRow NewVotersRow()
Returns
Type Description
VoterAnswersData.VotersRow

OnRowChanged(DataRowChangeEventArgs)

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

OnRowChanging(DataRowChangeEventArgs)

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

OnRowDeleted(DataRowChangeEventArgs)

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

OnRowDeleting(DataRowChangeEventArgs)

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

RemoveVotersRow(VoterAnswersData.VotersRow)

Declaration
public void RemoveVotersRow(VoterAnswersData.VotersRow row)
Parameters
Type Name Description
VoterAnswersData.VotersRow row

Events

VotersRowChanged

Declaration
public event VoterAnswersData.VotersRowChangeEventHandler VotersRowChanged
Event Type
Type Description
VoterAnswersData.VotersRowChangeEventHandler

VotersRowChanging

Declaration
public event VoterAnswersData.VotersRowChangeEventHandler VotersRowChanging
Event Type
Type Description
VoterAnswersData.VotersRowChangeEventHandler

VotersRowDeleted

Declaration
public event VoterAnswersData.VotersRowChangeEventHandler VotersRowDeleted
Event Type
Type Description
VoterAnswersData.VotersRowChangeEventHandler

VotersRowDeleting

Declaration
public event VoterAnswersData.VotersRowChangeEventHandler VotersRowDeleting
Event Type
Type Description
VoterAnswersData.VotersRowChangeEventHandler

Implements

System.ComponentModel.IComponent
System.IDisposable
System.IServiceProvider
System.ComponentModel.IListSource
System.ComponentModel.ISupportInitializeNotification
System.ComponentModel.ISupportInitialize
System.Runtime.Serialization.ISerializable
System.Xml.Serialization.IXmlSerializable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
In This Article
Back to top Generated by DocFX