attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "link_typesDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class linksDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnlink_from;
private System.Data.DataColumn columnlink_to;
private System.Data.DataColumn columnlink_weight;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public linksDataTable() {
this.TableName = "links";
this.BeginInit();
this.InitClass();
this.EndInit();
internal linksDataTable(System.Data.DataTable table) {
this.TableName = 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;
protected linksDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
public System.Data.DataColumn link_fromColumn {
get {
return this.columnlink_from;
public System.Data.DataColumn link_toColumn {
return this.columnlink_to;
public System.Data.DataColumn link_weightColumn {
return this.columnlink_weight;
[System.ComponentModel.Browsable(false)]
public int Count {
return this.Rows.Count;
public linksRow this[int index] {
return ((linksRow)(this.Rows[index]));
public event linksRowChangeEventHandler linksRowChanging;
public event linksRowChangeEventHandler linksRowChanged;
public event linksRowChangeEventHandler linksRowDeleting;
public event linksRowChangeEventHandler linksRowDeleted;
public void AddlinksRow(linksRow row) {
this.Rows.Add(row);
public linksRow AddlinksRow(int link_from, int link_to, double link_weight) {
linksRow rowlinksRow = ((linksRow)(this.NewRow()));
rowlinksRow.ItemArray = new object[] {
link_from,
link_to,
link_weight};
this.Rows.Add(rowlinksRow);
return rowlinksRow;
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
public override System.Data.DataTable Clone() {
linksDataTable cln = ((linksDataTable)(base.Clone()));
cln.InitVars();
return cln;
protected override System.Data.DataTable CreateInstance() {
return new linksDataTable();
internal void InitVars() {
this.columnlink_from = base.Columns["link_from"];
this.columnlink_to = base.Columns["link_to"];
this.columnlink_weight = base.Columns["link_weight"];
private void InitClass() {
this.columnlink_from = new System.Data.DataColumn("link_from", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnlink_from);
this.columnlink_to = new System.Data.DataColumn("link_to", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnlink_to);
this.columnlink_weight = new System.Data.DataColumn("link_weight", typeof(double), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnlink_weight);
this.columnlink_from.AllowDBNull = false;
this.columnlink_to.AllowDBNull = false;
public linksRow NewlinksRow() {
return ((linksRow)(this.NewRow()));
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new linksRow(builder);
protected override System.Type GetRowType() {
return typeof(linksRow);
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.linksRowChanged != null)) {
this.linksRowChanged(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.linksRowChanging != null)) {
this.linksRowChanging(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.linksRowDeleted != null)) {
this.linksRowDeleted(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.linksRowDeleting != null)) {
this.linksRowDeleting(this, new linksRowChangeEvent(((linksRow)(e.Row)), e.Action));
public void RemovelinksRow(linksRow row) {
this.Rows.Remove(row);
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
adbDataSet ds = new adbDataSet();
xs.Add(ds.GetSchemaSerializable());
Ñòðàíèöû: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42