this.Merge(ds, false, System.Data.MissingSchemaAction.Add);
this.InitVars();
}
else {
this.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
this.GetSerializationData(info, context);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
this.Relations.CollectionChanged += schemaChangedHandler;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public identitiesDataTable identities {
get {
return this.tableidentities;
public link_typesDataTable link_types {
return this.tablelink_types;
public linksDataTable links {
return this.tablelinks;
public text_identitiesDataTable text_identities {
return this.tabletext_identities;
public textsDataTable texts {
return this.tabletexts;
[System.ComponentModel.BrowsableAttribute(true)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override System.Data.SchemaSerializationMode SchemaSerializationMode {
return this._schemaSerializationMode;
set {
this._schemaSerializationMode = value;
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new System.Data.DataTableCollection Tables {
return base.Tables;
public new System.Data.DataRelationCollection Relations {
return base.Relations;
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
public override System.Data.DataSet Clone() {
adbDataSet cln = ((adbDataSet)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
protected override bool ShouldSerializeTables() {
return false;
protected override bool ShouldSerializeRelations() {
protected override void ReadXmlSerializable(System.Xml.XmlReader reader) {
if ((this.DetermineSchemaSerializationMode(reader) == System.Data.SchemaSerializationMode.IncludeSchema)) {
this.Reset();
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXml(reader);
if ((ds.Tables["identities"] != null)) {
base.Tables.Add(new identitiesDataTable(ds.Tables["identities"]));
if ((ds.Tables["link_types"] != null)) {
base.Tables.Add(new link_typesDataTable(ds.Tables["link_types"]));
if ((ds.Tables["links"] != null)) {
base.Tables.Add(new linksDataTable(ds.Tables["links"]));
if ((ds.Tables["text_identities"] != null)) {
base.Tables.Add(new text_identitiesDataTable(ds.Tables["text_identities"]));
if ((ds.Tables["texts"] != null)) {
base.Tables.Add(new textsDataTable(ds.Tables["texts"]));
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.ReadXml(reader);
protected override System.Xml.Schema.XmlSchema GetSchemaSerializable() {
System.IO.MemoryStream stream = new System.IO.MemoryStream();
this.WriteXmlSchema(new System.Xml.XmlTextWriter(stream, null));
stream.Position = 0;
return System.Xml.Schema.XmlSchema.Read(new System.Xml.XmlTextReader(stream), null);
internal void InitVars() {
this.InitVars(true);
internal void InitVars(bool initTable) {
this.tableidentities = ((identitiesDataTable)(base.Tables["identities"]));
if ((initTable == true)) {
if ((this.tableidentities != null)) {
this.tableidentities.InitVars();
this.tablelink_types = ((link_typesDataTable)(base.Tables["link_types"]));
if ((this.tablelink_types != null)) {
this.tablelink_types.InitVars();
this.tablelinks = ((linksDataTable)(base.Tables["links"]));
if ((this.tablelinks != null)) {
this.tablelinks.InitVars();
this.tabletext_identities = ((text_identitiesDataTable)(base.Tables["text_identities"]));
if ((this.tabletext_identities != null)) {
this.tabletext_identities.InitVars();
this.tabletexts = ((textsDataTable)(base.Tables["texts"]));
if ((this.tabletexts != null)) {
this.tabletexts.InitVars();
this.relationlinks_link_types = this.Relations["links_link_types"];
this.relationlinks_link_types1 = this.Relations["links_link_types1"];
private void InitClass() {
this.DataSetName = "adbDataSet";
this.Prefix = "";
this.Namespace = "http://tempuri.org/adbDataSet.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.tableidentities = new identitiesDataTable();
base.Tables.Add(this.tableidentities);
this.tablelink_types = new link_typesDataTable();
base.Tables.Add(this.tablelink_types);
this.tablelinks = new linksDataTable();
base.Tables.Add(this.tablelinks);
this.tabletext_identities = new text_identitiesDataTable();
base.Tables.Add(this.tabletext_identities);
Ñòðàíèöû: 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