•ÈÀ//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version: 1.0.3705.288 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ // // This source code was auto-generated by xsd, Version=1.0.3705.288. // using System; using System.Data; using System.Xml; using System.Runtime.Serialization; [Serializable()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Diagnostics.DebuggerStepThrough()] [System.ComponentModel.ToolboxItem(true)] public class DogShow : DataSet { private ShowDataTable tableShow; private BreedDataTable tableBreed; private DogDataTable tableDog; private JudgeDataTable tableJudge; private ShowRingDataTable tableShowRing; private JudgingDataTable tableJudging; private DataRelation relationJudgingShow; private DataRelation relationJudgingShowRing; private DataRelation relationJudgingJudge; private DataRelation relationJudgingBreed; private DataRelation relationDogBreed; public DogShow() { this.InitClass(); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; } protected DogShow(SerializationInfo info, StreamingContext context) { string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); if ((strSchema != null)) { DataSet ds = new DataSet(); ds.ReadXmlSchema(new XmlTextReader(new System.IO.StringReader(strSchema))); if ((ds.Tables["Show"] != null)) { this.Tables.Add(new ShowDataTable(ds.Tables["Show"])); } if ((ds.Tables["Breed"] != null)) { this.Tables.Add(new BreedDataTable(ds.Tables["Breed"])); } if ((ds.Tables["Dog"] != null)) { this.Tables.Add(new DogDataTable(ds.Tables["Dog"])); } if ((ds.Tables["Judge"] != null)) { this.Tables.Add(new JudgeDataTable(ds.Tables["Judge"])); } if ((ds.Tables["ShowRing"] != null)) { this.Tables.Add(new ShowRingDataTable(ds.Tables["ShowRing"])); } if ((ds.Tables["Judging"] != null)) { this.Tables.Add(new JudgingDataTable(ds.Tables["Judging"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, System.Data.MissingSchemaAction.Add); this.InitVars(); } else { this.InitClass(); } this.GetSerializationData(info, context); System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public ShowDataTable Show { get { return this.tableShow; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public BreedDataTable Breed { get { return this.tableBreed; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public DogDataTable Dog { get { return this.tableDog; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public JudgeDataTable Judge { get { return this.tableJudge; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public ShowRingDataTable ShowRing { get { return this.tableShowRing; } } [System.ComponentModel.Browsable(false)] [System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Content)] public JudgingDataTable Judging { get { return this.tableJudging; } } public override DataSet Clone() { DogShow cln = ((DogShow)(base.Clone())); cln.InitVars(); return cln; } protected override bool ShouldSerializeTables() { return false; } protected override bool ShouldSerializeRelations() { return false; } protected override void ReadXmlSerializable(XmlReader reader) { this.Reset(); DataSet ds = new DataSet(); ds.ReadXml(reader); if ((ds.Tables["Show"] != null)) { this.Tables.Add(new ShowDataTable(ds.Tables["Show"])); } if ((ds.Tables["Breed"] != null)) { this.Tables.Add(new BreedDataTable(ds.Tables["Breed"])); } if ((ds.Tables["Dog"] != null)) { this.Tables.Add(new DogDataTable(ds.Tables["Dog"])); } if ((ds.Tables["Judge"] != null)) { this.Tables.Add(new JudgeDataTable(ds.Tables["Judge"])); } if ((ds.Tables["ShowRing"] != null)) { this.Tables.Add(new ShowRingDataTable(ds.Tables["ShowRing"])); } if ((ds.Tables["Judging"] != null)) { this.Tables.Add(new JudgingDataTable(ds.Tables["Judging"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, System.Data.MissingSchemaAction.Add); this.InitVars(); } protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() { System.IO.MemoryStream stream = new System.IO.MemoryStream(); this.WriteXmlSchema(new XmlTextWriter(stream, null)); stream.Position = 0; return System.Xml.Schema.XmlSchema.Read(new XmlTextReader(stream), null); } internal void InitVars() { this.tableShow = ((ShowDataTable)(this.Tables["Show"])); if ((this.tableShow != null)) { this.tableShow.InitVars(); } this.tableBreed = ((BreedDataTable)(this.Tables["Breed"])); if ((this.tableBreed != null)) { this.tableBreed.InitVars(); } this.tableDog = ((DogDataTable)(this.Tables["Dog"])); if ((this.tableDog != null)) { this.tableDog.InitVars(); } this.tableJudge = ((JudgeDataTable)(this.Tables["Judge"])); if ((this.tableJudge != null)) { this.tableJudge.InitVars(); } this.tableShowRing = ((ShowRingDataTable)(this.Tables["ShowRing"])); if ((this.tableShowRing != null)) { this.tableShowRing.InitVars(); } this.tableJudging = ((JudgingDataTable)(this.Tables["Judging"])); if ((this.tableJudging != null)) { this.tableJudging.InitVars(); } this.relationJudgingShow = this.Relations["JudgingShow"]; this.relationJudgingShowRing = this.Relations["JudgingShowRing"]; this.relationJudgingJudge = this.Relations["JudgingJudge"]; this.relationJudgingBreed = this.Relations["JudgingBreed"]; this.relationDogBreed = this.Relations["DogBreed"]; } private void InitClass() { this.DataSetName = "DogShow"; this.Prefix = ""; this.Namespace = ""; this.Locale = new System.Globalization.CultureInfo("en-US"); this.CaseSensitive = false; this.EnforceConstraints = true; this.tableShow = new ShowDataTable(); this.Tables.Add(this.tableShow); this.tableBreed = new BreedDataTable(); this.Tables.Add(this.tableBreed); this.tableDog = new DogDataTable(); this.Tables.Add(this.tableDog); this.tableJudge = new JudgeDataTable(); this.Tables.Add(this.tableJudge); this.tableShowRing = new ShowRingDataTable(); this.Tables.Add(this.tableShowRing); this.tableJudging = new JudgingDataTable(); this.Tables.Add(this.tableJudging); ForeignKeyConstraint fkc; fkc = new ForeignKeyConstraint("DogBreed", new DataColumn[] { this.tableBreed.IdColumn}, new DataColumn[] { this.tableDog.BreedIdColumn}); this.tableDog.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("JudgingShow", new DataColumn[] { this.tableShow.IdColumn}, new DataColumn[] { this.tableJudging.ShowIdColumn}); this.tableJudging.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("JudgingShowRing", new DataColumn[] { this.tableShowRing.IdColumn}, new DataColumn[] { this.tableJudging.ShowRingIdColumn}); this.tableJudging.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("JudgingJudge", new DataColumn[] { this.tableJudge.IdColumn}, new DataColumn[] { this.tableJudging.JudgeIdColumn}); this.tableJudging.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; fkc = new ForeignKeyConstraint("JudgingBreed", new DataColumn[] { this.tableBreed.IdColumn}, new DataColumn[] { this.tableJudging.BreedIdColumn}); this.tableJudging.Constraints.Add(fkc); fkc.AcceptRejectRule = AcceptRejectRule.None; fkc.DeleteRule = Rule.Cascade; fkc.UpdateRule = Rule.Cascade; this.relationJudgingShow = new DataRelation("JudgingShow", new DataColumn[] { this.tableShow.IdColumn}, new DataColumn[] { this.tableJudging.ShowIdColumn}, false); this.Relations.Add(this.relationJudgingShow); this.relationJudgingShowRing = new DataRelation("JudgingShowRing", new DataColumn[] { this.tableShowRing.IdColumn}, new DataColumn[] { this.tableJudging.ShowRingIdColumn}, false); this.Relations.Add(this.relationJudgingShowRing); this.relationJudgingJudge = new DataRelation("JudgingJudge", new DataColumn[] { this.tableJudge.IdColumn}, new DataColumn[] { this.tableJudging.JudgeIdColumn}, false); this.Relations.Add(this.relationJudgingJudge); this.relationJudgingBreed = new DataRelation("JudgingBreed", new DataColumn[] { this.tableBreed.IdColumn}, new DataColumn[] { this.tableJudging.BreedIdColumn}, false); this.Relations.Add(this.relationJudgingBreed); this.relationDogBreed = new DataRelation("DogBreed", new DataColumn[] { this.tableBreed.IdColumn}, new DataColumn[] { this.tableDog.BreedIdColumn}, false); this.Relations.Add(this.relationDogBreed); } private bool ShouldSerializeShow() { return false; } private bool ShouldSerializeBreed() { return false; } private bool ShouldSerializeDog() { return false; } private bool ShouldSerializeJudge() { return false; } private bool ShouldSerializeShowRing() { return false; } private bool ShouldSerializeJudging() { return false; } private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); } } public delegate void ShowRowChangeEventHandler(object sender, ShowRowChangeEvent e); public delegate void BreedRowChangeEventHandler(object sender, BreedRowChangeEvent e); public delegate void DogRowChangeEventHandler(object sender, DogRowChangeEvent e); public delegate void JudgeRowChangeEventHandler(object sender, JudgeRowChangeEvent e); public delegate void ShowRingRowChangeEventHandler(object sender, ShowRingRowChangeEvent e); public delegate void JudgingRowChangeEventHandler(object sender, JudgingRowChangeEvent e); [System.Diagnostics.DebuggerStepThrough()] public class ShowDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnId; private DataColumn columnName; internal ShowDataTable() : base("Show") { this.InitClass(); } internal ShowDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn IdColumn { get { return this.columnId; } } internal DataColumn NameColumn { get { return this.columnName; } } public ShowRow this[int index] { get { return ((ShowRow)(this.Rows[index])); } } public event ShowRowChangeEventHandler ShowRowChanged; public event ShowRowChangeEventHandler ShowRowChanging; public event ShowRowChangeEventHandler ShowRowDeleted; public event ShowRowChangeEventHandler ShowRowDeleting; public void AddShowRow(ShowRow row) { this.Rows.Add(row); } public ShowRow AddShowRow(int Id, string Name) { ShowRow rowShowRow = ((ShowRow)(this.NewRow())); rowShowRow.ItemArray = new object[] { Id, Name}; this.Rows.Add(rowShowRow); return rowShowRow; } public ShowRow FindById(int Id) { return ((ShowRow)(this.Rows.Find(new object[] { Id}))); } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { ShowDataTable cln = ((ShowDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new ShowDataTable(); } internal void InitVars() { this.columnId = this.Columns["Id"]; this.columnName = this.Columns["Name"]; } private void InitClass() { this.columnId = new DataColumn("Id", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnId); this.columnName = new DataColumn("Name", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnName); this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId}, true)); this.columnId.AllowDBNull = false; this.columnId.Unique = true; } public ShowRow NewShowRow() { return ((ShowRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new ShowRow(builder); } protected override System.Type GetRowType() { return typeof(ShowRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.ShowRowChanged != null)) { this.ShowRowChanged(this, new ShowRowChangeEvent(((ShowRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.ShowRowChanging != null)) { this.ShowRowChanging(this, new ShowRowChangeEvent(((ShowRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.ShowRowDeleted != null)) { this.ShowRowDeleted(this, new ShowRowChangeEvent(((ShowRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.ShowRowDeleting != null)) { this.ShowRowDeleting(this, new ShowRowChangeEvent(((ShowRow)(e.Row)), e.Action)); } } public void RemoveShowRow(ShowRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class ShowRow : DataRow { private ShowDataTable tableShow; internal ShowRow(DataRowBuilder rb) : base(rb) { this.tableShow = ((ShowDataTable)(this.Table)); } public int Id { get { return ((int)(this[this.tableShow.IdColumn])); } set { this[this.tableShow.IdColumn] = value; } } public string Name { get { try { return ((string)(this[this.tableShow.NameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableShow.NameColumn] = value; } } public bool IsNameNull() { return this.IsNull(this.tableShow.NameColumn); } public void SetNameNull() { this[this.tableShow.NameColumn] = System.Convert.DBNull; } public JudgingRow[] GetJudgingRows() { return ((JudgingRow[])(this.GetChildRows(this.Table.ChildRelations["JudgingShow"]))); } } [System.Diagnostics.DebuggerStepThrough()] public class ShowRowChangeEvent : EventArgs { private ShowRow eventRow; private DataRowAction eventAction; public ShowRowChangeEvent(ShowRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public ShowRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } [System.Diagnostics.DebuggerStepThrough()] public class BreedDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnId; private DataColumn columnName; internal BreedDataTable() : base("Breed") { this.InitClass(); } internal BreedDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn IdColumn { get { return this.columnId; } } internal DataColumn NameColumn { get { return this.columnName; } } public BreedRow this[int index] { get { return ((BreedRow)(this.Rows[index])); } } public event BreedRowChangeEventHandler BreedRowChanged; public event BreedRowChangeEventHandler BreedRowChanging; public event BreedRowChangeEventHandler BreedRowDeleted; public event BreedRowChangeEventHandler BreedRowDeleting; public void AddBreedRow(BreedRow row) { this.Rows.Add(row); } public BreedRow AddBreedRow(int Id, string Name) { BreedRow rowBreedRow = ((BreedRow)(this.NewRow())); rowBreedRow.ItemArray = new object[] { Id, Name}; this.Rows.Add(rowBreedRow); return rowBreedRow; } public BreedRow FindById(int Id) { return ((BreedRow)(this.Rows.Find(new object[] { Id}))); } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { BreedDataTable cln = ((BreedDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new BreedDataTable(); } internal void InitVars() { this.columnId = this.Columns["Id"]; this.columnName = this.Columns["Name"]; } private void InitClass() { this.columnId = new DataColumn("Id", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnId); this.columnName = new DataColumn("Name", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnName); this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId}, true)); this.columnId.AllowDBNull = false; this.columnId.Unique = true; } public BreedRow NewBreedRow() { return ((BreedRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new BreedRow(builder); } protected override System.Type GetRowType() { return typeof(BreedRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.BreedRowChanged != null)) { this.BreedRowChanged(this, new BreedRowChangeEvent(((BreedRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.BreedRowChanging != null)) { this.BreedRowChanging(this, new BreedRowChangeEvent(((BreedRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.BreedRowDeleted != null)) { this.BreedRowDeleted(this, new BreedRowChangeEvent(((BreedRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.BreedRowDeleting != null)) { this.BreedRowDeleting(this, new BreedRowChangeEvent(((BreedRow)(e.Row)), e.Action)); } } public void RemoveBreedRow(BreedRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class BreedRow : DataRow { private BreedDataTable tableBreed; internal BreedRow(DataRowBuilder rb) : base(rb) { this.tableBreed = ((BreedDataTable)(this.Table)); } public int Id { get { return ((int)(this[this.tableBreed.IdColumn])); } set { this[this.tableBreed.IdColumn] = value; } } public string Name { get { try { return ((string)(this[this.tableBreed.NameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableBreed.NameColumn] = value; } } public bool IsNameNull() { return this.IsNull(this.tableBreed.NameColumn); } public void SetNameNull() { this[this.tableBreed.NameColumn] = System.Convert.DBNull; } public JudgingRow[] GetJudgingRows() { return ((JudgingRow[])(this.GetChildRows(this.Table.ChildRelations["JudgingBreed"]))); } public DogRow[] GetDogRows() { return ((DogRow[])(this.GetChildRows(this.Table.ChildRelations["DogBreed"]))); } } [System.Diagnostics.DebuggerStepThrough()] public class BreedRowChangeEvent : EventArgs { private BreedRow eventRow; private DataRowAction eventAction; public BreedRowChangeEvent(BreedRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public BreedRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } [System.Diagnostics.DebuggerStepThrough()] public class DogDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnId; private DataColumn columnName; private DataColumn columnBreedId; internal DogDataTable() : base("Dog") { this.InitClass(); } internal DogDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn IdColumn { get { return this.columnId; } } internal DataColumn NameColumn { get { return this.columnName; } } internal DataColumn BreedIdColumn { get { return this.columnBreedId; } } public DogRow this[int index] { get { return ((DogRow)(this.Rows[index])); } } public event DogRowChangeEventHandler DogRowChanged; public event DogRowChangeEventHandler DogRowChanging; public event DogRowChangeEventHandler DogRowDeleted; public event DogRowChangeEventHandler DogRowDeleting; public void AddDogRow(DogRow row) { this.Rows.Add(row); } public DogRow AddDogRow(int Id, string Name, BreedRow parentBreedRowByDogBreed) { DogRow rowDogRow = ((DogRow)(this.NewRow())); rowDogRow.ItemArray = new object[] { Id, Name, parentBreedRowByDogBreed[0]}; this.Rows.Add(rowDogRow); return rowDogRow; } public DogRow FindById(int Id) { return ((DogRow)(this.Rows.Find(new object[] { Id}))); } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { DogDataTable cln = ((DogDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new DogDataTable(); } internal void InitVars() { this.columnId = this.Columns["Id"]; this.columnName = this.Columns["Name"]; this.columnBreedId = this.Columns["BreedId"]; } private void InitClass() { this.columnId = new DataColumn("Id", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnId); this.columnName = new DataColumn("Name", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnName); this.columnBreedId = new DataColumn("BreedId", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnBreedId); this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId}, true)); this.columnId.AllowDBNull = false; this.columnId.Unique = true; } public DogRow NewDogRow() { return ((DogRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new DogRow(builder); } protected override System.Type GetRowType() { return typeof(DogRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DogRowChanged != null)) { this.DogRowChanged(this, new DogRowChangeEvent(((DogRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DogRowChanging != null)) { this.DogRowChanging(this, new DogRowChangeEvent(((DogRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DogRowDeleted != null)) { this.DogRowDeleted(this, new DogRowChangeEvent(((DogRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DogRowDeleting != null)) { this.DogRowDeleting(this, new DogRowChangeEvent(((DogRow)(e.Row)), e.Action)); } } public void RemoveDogRow(DogRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class DogRow : DataRow { private DogDataTable tableDog; internal DogRow(DataRowBuilder rb) : base(rb) { this.tableDog = ((DogDataTable)(this.Table)); } public int Id { get { return ((int)(this[this.tableDog.IdColumn])); } set { this[this.tableDog.IdColumn] = value; } } public string Name { get { try { return ((string)(this[this.tableDog.NameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableDog.NameColumn] = value; } } public int BreedId { get { try { return ((int)(this[this.tableDog.BreedIdColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableDog.BreedIdColumn] = value; } } public BreedRow BreedRow { get { return ((BreedRow)(this.GetParentRow(this.Table.ParentRelations["DogBreed"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["DogBreed"]); } } public bool IsNameNull() { return this.IsNull(this.tableDog.NameColumn); } public void SetNameNull() { this[this.tableDog.NameColumn] = System.Convert.DBNull; } public bool IsBreedIdNull() { return this.IsNull(this.tableDog.BreedIdColumn); } public void SetBreedIdNull() { this[this.tableDog.BreedIdColumn] = System.Convert.DBNull; } } [System.Diagnostics.DebuggerStepThrough()] public class DogRowChangeEvent : EventArgs { private DogRow eventRow; private DataRowAction eventAction; public DogRowChangeEvent(DogRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public DogRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } [System.Diagnostics.DebuggerStepThrough()] public class JudgeDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnId; private DataColumn columnFirstName; private DataColumn columnLastName; internal JudgeDataTable() : base("Judge") { this.InitClass(); } internal JudgeDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn IdColumn { get { return this.columnId; } } internal DataColumn FirstNameColumn { get { return this.columnFirstName; } } internal DataColumn LastNameColumn { get { return this.columnLastName; } } public JudgeRow this[int index] { get { return ((JudgeRow)(this.Rows[index])); } } public event JudgeRowChangeEventHandler JudgeRowChanged; public event JudgeRowChangeEventHandler JudgeRowChanging; public event JudgeRowChangeEventHandler JudgeRowDeleted; public event JudgeRowChangeEventHandler JudgeRowDeleting; public void AddJudgeRow(JudgeRow row) { this.Rows.Add(row); } public JudgeRow AddJudgeRow(int Id, string FirstName, string LastName) { JudgeRow rowJudgeRow = ((JudgeRow)(this.NewRow())); rowJudgeRow.ItemArray = new object[] { Id, FirstName, LastName}; this.Rows.Add(rowJudgeRow); return rowJudgeRow; } public JudgeRow FindById(int Id) { return ((JudgeRow)(this.Rows.Find(new object[] { Id}))); } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { JudgeDataTable cln = ((JudgeDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new JudgeDataTable(); } internal void InitVars() { this.columnId = this.Columns["Id"]; this.columnFirstName = this.Columns["FirstName"]; this.columnLastName = this.Columns["LastName"]; } private void InitClass() { this.columnId = new DataColumn("Id", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnId); this.columnFirstName = new DataColumn("FirstName", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnFirstName); this.columnLastName = new DataColumn("LastName", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnLastName); this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId}, true)); this.columnId.AllowDBNull = false; this.columnId.Unique = true; } public JudgeRow NewJudgeRow() { return ((JudgeRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new JudgeRow(builder); } protected override System.Type GetRowType() { return typeof(JudgeRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.JudgeRowChanged != null)) { this.JudgeRowChanged(this, new JudgeRowChangeEvent(((JudgeRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.JudgeRowChanging != null)) { this.JudgeRowChanging(this, new JudgeRowChangeEvent(((JudgeRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.JudgeRowDeleted != null)) { this.JudgeRowDeleted(this, new JudgeRowChangeEvent(((JudgeRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.JudgeRowDeleting != null)) { this.JudgeRowDeleting(this, new JudgeRowChangeEvent(((JudgeRow)(e.Row)), e.Action)); } } public void RemoveJudgeRow(JudgeRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class JudgeRow : DataRow { private JudgeDataTable tableJudge; internal JudgeRow(DataRowBuilder rb) : base(rb) { this.tableJudge = ((JudgeDataTable)(this.Table)); } public int Id { get { return ((int)(this[this.tableJudge.IdColumn])); } set { this[this.tableJudge.IdColumn] = value; } } public string FirstName { get { try { return ((string)(this[this.tableJudge.FirstNameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudge.FirstNameColumn] = value; } } public string LastName { get { try { return ((string)(this[this.tableJudge.LastNameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudge.LastNameColumn] = value; } } public bool IsFirstNameNull() { return this.IsNull(this.tableJudge.FirstNameColumn); } public void SetFirstNameNull() { this[this.tableJudge.FirstNameColumn] = System.Convert.DBNull; } public bool IsLastNameNull() { return this.IsNull(this.tableJudge.LastNameColumn); } public void SetLastNameNull() { this[this.tableJudge.LastNameColumn] = System.Convert.DBNull; } public JudgingRow[] GetJudgingRows() { return ((JudgingRow[])(this.GetChildRows(this.Table.ChildRelations["JudgingJudge"]))); } } [System.Diagnostics.DebuggerStepThrough()] public class JudgeRowChangeEvent : EventArgs { private JudgeRow eventRow; private DataRowAction eventAction; public JudgeRowChangeEvent(JudgeRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public JudgeRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } [System.Diagnostics.DebuggerStepThrough()] public class ShowRingDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnId; private DataColumn columnName; internal ShowRingDataTable() : base("ShowRing") { this.InitClass(); } internal ShowRingDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn IdColumn { get { return this.columnId; } } internal DataColumn NameColumn { get { return this.columnName; } } public ShowRingRow this[int index] { get { return ((ShowRingRow)(this.Rows[index])); } } public event ShowRingRowChangeEventHandler ShowRingRowChanged; public event ShowRingRowChangeEventHandler ShowRingRowChanging; public event ShowRingRowChangeEventHandler ShowRingRowDeleted; public event ShowRingRowChangeEventHandler ShowRingRowDeleting; public void AddShowRingRow(ShowRingRow row) { this.Rows.Add(row); } public ShowRingRow AddShowRingRow(int Id, string Name) { ShowRingRow rowShowRingRow = ((ShowRingRow)(this.NewRow())); rowShowRingRow.ItemArray = new object[] { Id, Name}; this.Rows.Add(rowShowRingRow); return rowShowRingRow; } public ShowRingRow FindById(int Id) { return ((ShowRingRow)(this.Rows.Find(new object[] { Id}))); } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { ShowRingDataTable cln = ((ShowRingDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new ShowRingDataTable(); } internal void InitVars() { this.columnId = this.Columns["Id"]; this.columnName = this.Columns["Name"]; } private void InitClass() { this.columnId = new DataColumn("Id", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnId); this.columnName = new DataColumn("Name", typeof(string), null, System.Data.MappingType.Element); this.Columns.Add(this.columnName); this.Constraints.Add(new UniqueConstraint("Constraint1", new DataColumn[] { this.columnId}, true)); this.columnId.AllowDBNull = false; this.columnId.Unique = true; } public ShowRingRow NewShowRingRow() { return ((ShowRingRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new ShowRingRow(builder); } protected override System.Type GetRowType() { return typeof(ShowRingRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.ShowRingRowChanged != null)) { this.ShowRingRowChanged(this, new ShowRingRowChangeEvent(((ShowRingRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.ShowRingRowChanging != null)) { this.ShowRingRowChanging(this, new ShowRingRowChangeEvent(((ShowRingRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.ShowRingRowDeleted != null)) { this.ShowRingRowDeleted(this, new ShowRingRowChangeEvent(((ShowRingRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.ShowRingRowDeleting != null)) { this.ShowRingRowDeleting(this, new ShowRingRowChangeEvent(((ShowRingRow)(e.Row)), e.Action)); } } public void RemoveShowRingRow(ShowRingRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class ShowRingRow : DataRow { private ShowRingDataTable tableShowRing; internal ShowRingRow(DataRowBuilder rb) : base(rb) { this.tableShowRing = ((ShowRingDataTable)(this.Table)); } public int Id { get { return ((int)(this[this.tableShowRing.IdColumn])); } set { this[this.tableShowRing.IdColumn] = value; } } public string Name { get { try { return ((string)(this[this.tableShowRing.NameColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableShowRing.NameColumn] = value; } } public bool IsNameNull() { return this.IsNull(this.tableShowRing.NameColumn); } public void SetNameNull() { this[this.tableShowRing.NameColumn] = System.Convert.DBNull; } public JudgingRow[] GetJudgingRows() { return ((JudgingRow[])(this.GetChildRows(this.Table.ChildRelations["JudgingShowRing"]))); } } [System.Diagnostics.DebuggerStepThrough()] public class ShowRingRowChangeEvent : EventArgs { private ShowRingRow eventRow; private DataRowAction eventAction; public ShowRingRowChangeEvent(ShowRingRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public ShowRingRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } [System.Diagnostics.DebuggerStepThrough()] public class JudgingDataTable : DataTable, System.Collections.IEnumerable { private DataColumn columnShowTime; private DataColumn columnBreedId; private DataColumn columnJudgeId; private DataColumn columnShowRingId; private DataColumn columnShowId; internal JudgingDataTable() : base("Judging") { this.InitClass(); } internal JudgingDataTable(DataTable table) : base(table.TableName) { if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; this.DisplayExpression = table.DisplayExpression; } [System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } internal DataColumn ShowTimeColumn { get { return this.columnShowTime; } } internal DataColumn BreedIdColumn { get { return this.columnBreedId; } } internal DataColumn JudgeIdColumn { get { return this.columnJudgeId; } } internal DataColumn ShowRingIdColumn { get { return this.columnShowRingId; } } internal DataColumn ShowIdColumn { get { return this.columnShowId; } } public JudgingRow this[int index] { get { return ((JudgingRow)(this.Rows[index])); } } public event JudgingRowChangeEventHandler JudgingRowChanged; public event JudgingRowChangeEventHandler JudgingRowChanging; public event JudgingRowChangeEventHandler JudgingRowDeleted; public event JudgingRowChangeEventHandler JudgingRowDeleting; public void AddJudgingRow(JudgingRow row) { this.Rows.Add(row); } public JudgingRow AddJudgingRow(System.DateTime ShowTime, BreedRow parentBreedRowByJudgingBreed, JudgeRow parentJudgeRowByJudgingJudge, ShowRingRow parentShowRingRowByJudgingShowRing, ShowRow parentShowRowByJudgingShow) { JudgingRow rowJudgingRow = ((JudgingRow)(this.NewRow())); rowJudgingRow.ItemArray = new object[] { ShowTime, parentBreedRowByJudgingBreed[0], parentJudgeRowByJudgingJudge[0], parentShowRingRowByJudgingShowRing[0], parentShowRowByJudgingShow[0]}; this.Rows.Add(rowJudgingRow); return rowJudgingRow; } public System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } public override DataTable Clone() { JudgingDataTable cln = ((JudgingDataTable)(base.Clone())); cln.InitVars(); return cln; } protected override DataTable CreateInstance() { return new JudgingDataTable(); } internal void InitVars() { this.columnShowTime = this.Columns["ShowTime"]; this.columnBreedId = this.Columns["BreedId"]; this.columnJudgeId = this.Columns["JudgeId"]; this.columnShowRingId = this.Columns["ShowRingId"]; this.columnShowId = this.Columns["ShowId"]; } private void InitClass() { this.columnShowTime = new DataColumn("ShowTime", typeof(System.DateTime), null, System.Data.MappingType.Element); this.Columns.Add(this.columnShowTime); this.columnBreedId = new DataColumn("BreedId", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnBreedId); this.columnJudgeId = new DataColumn("JudgeId", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnJudgeId); this.columnShowRingId = new DataColumn("ShowRingId", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnShowRingId); this.columnShowId = new DataColumn("ShowId", typeof(int), null, System.Data.MappingType.Element); this.Columns.Add(this.columnShowId); } public JudgingRow NewJudgingRow() { return ((JudgingRow)(this.NewRow())); } protected override DataRow NewRowFromBuilder(DataRowBuilder builder) { return new JudgingRow(builder); } protected override System.Type GetRowType() { return typeof(JudgingRow); } protected override void OnRowChanged(DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.JudgingRowChanged != null)) { this.JudgingRowChanged(this, new JudgingRowChangeEvent(((JudgingRow)(e.Row)), e.Action)); } } protected override void OnRowChanging(DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.JudgingRowChanging != null)) { this.JudgingRowChanging(this, new JudgingRowChangeEvent(((JudgingRow)(e.Row)), e.Action)); } } protected override void OnRowDeleted(DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.JudgingRowDeleted != null)) { this.JudgingRowDeleted(this, new JudgingRowChangeEvent(((JudgingRow)(e.Row)), e.Action)); } } protected override void OnRowDeleting(DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.JudgingRowDeleting != null)) { this.JudgingRowDeleting(this, new JudgingRowChangeEvent(((JudgingRow)(e.Row)), e.Action)); } } public void RemoveJudgingRow(JudgingRow row) { this.Rows.Remove(row); } } [System.Diagnostics.DebuggerStepThrough()] public class JudgingRow : DataRow { private JudgingDataTable tableJudging; internal JudgingRow(DataRowBuilder rb) : base(rb) { this.tableJudging = ((JudgingDataTable)(this.Table)); } public System.DateTime ShowTime { get { try { return ((System.DateTime)(this[this.tableJudging.ShowTimeColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudging.ShowTimeColumn] = value; } } public int BreedId { get { try { return ((int)(this[this.tableJudging.BreedIdColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudging.BreedIdColumn] = value; } } public int JudgeId { get { try { return ((int)(this[this.tableJudging.JudgeIdColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudging.JudgeIdColumn] = value; } } public int ShowRingId { get { try { return ((int)(this[this.tableJudging.ShowRingIdColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudging.ShowRingIdColumn] = value; } } public int ShowId { get { try { return ((int)(this[this.tableJudging.ShowIdColumn])); } catch (InvalidCastException e) { throw new StrongTypingException("Cannot get value because it is DBNull.", e); } } set { this[this.tableJudging.ShowIdColumn] = value; } } public ShowRow ShowRow { get { return ((ShowRow)(this.GetParentRow(this.Table.ParentRelations["JudgingShow"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["JudgingShow"]); } } public ShowRingRow ShowRingRow { get { return ((ShowRingRow)(this.GetParentRow(this.Table.ParentRelations["JudgingShowRing"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["JudgingShowRing"]); } } public JudgeRow JudgeRow { get { return ((JudgeRow)(this.GetParentRow(this.Table.ParentRelations["JudgingJudge"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["JudgingJudge"]); } } public BreedRow BreedRow { get { return ((BreedRow)(this.GetParentRow(this.Table.ParentRelations["JudgingBreed"]))); } set { this.SetParentRow(value, this.Table.ParentRelations["JudgingBreed"]); } } public bool IsShowTimeNull() { return this.IsNull(this.tableJudging.ShowTimeColumn); } public void SetShowTimeNull() { this[this.tableJudging.ShowTimeColumn] = System.Convert.DBNull; } public bool IsBreedIdNull() { return this.IsNull(this.tableJudging.BreedIdColumn); } public void SetBreedIdNull() { this[this.tableJudging.BreedIdColumn] = System.Convert.DBNull; } public bool IsJudgeIdNull() { return this.IsNull(this.tableJudging.JudgeIdColumn); } public void SetJudgeIdNull() { this[this.tableJudging.JudgeIdColumn] = System.Convert.DBNull; } public bool IsShowRingIdNull() { return this.IsNull(this.tableJudging.ShowRingIdColumn); } public void SetShowRingIdNull() { this[this.tableJudging.ShowRingIdColumn] = System.Convert.DBNull; } public bool IsShowIdNull() { return this.IsNull(this.tableJudging.ShowIdColumn); } public void SetShowIdNull() { this[this.tableJudging.ShowIdColumn] = System.Convert.DBNull; } } [System.Diagnostics.DebuggerStepThrough()] public class JudgingRowChangeEvent : EventArgs { private JudgingRow eventRow; private DataRowAction eventAction; public JudgingRowChangeEvent(JudgingRow row, DataRowAction action) { this.eventRow = row; this.eventAction = action; } public JudgingRow Row { get { return this.eventRow; } } public DataRowAction Action { get { return this.eventAction; } } } }