//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable 1591
namespace Resx2Xls {
using System;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[Serializable()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")]
[System.Xml.Serialization.XmlRootAttribute("ResxData")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")]
public partial class ResxData : System.Data.DataSet {
private ResxDataTable tableResx;
private ResxLocalizedDataTable tableResxLocalized;
private System.Data.DataRelation relationFK_Resx_ResxLocalized;
private System.Data.SchemaSerializationMode _schemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxData() {
this.BeginInit();
this.InitClass();
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
base.Tables.CollectionChanged += schemaChangedHandler;
base.Relations.CollectionChanged += schemaChangedHandler;
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected ResxData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context, false) {
if ((this.IsBinarySerialized(info, context) == true)) {
this.InitVars(false);
System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
this.Tables.CollectionChanged += schemaChangedHandler1;
this.Relations.CollectionChanged += schemaChangedHandler1;
return;
}
string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string))));
if ((this.DetermineSchemaSerializationMode(info, context) == System.Data.SchemaSerializationMode.IncludeSchema)) {
System.Data.DataSet ds = new System.Data.DataSet();
ds.ReadXmlSchema(new System.Xml.XmlTextReader(new System.IO.StringReader(strSchema)));
if ((ds.Tables["Resx"] != null)) {
base.Tables.Add(new ResxDataTable(ds.Tables["Resx"]));
}
if ((ds.Tables["ResxLocalized"] != null)) {
base.Tables.Add(new ResxLocalizedDataTable(ds.Tables["ResxLocalized"]));
}
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.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 ResxDataTable Resx {
get {
return this.tableResx;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public ResxLocalizedDataTable ResxLocalized {
get {
return this.tableResxLocalized;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.BrowsableAttribute(true)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Visible)]
public override System.Data.SchemaSerializationMode SchemaSerializationMode {
get {
return this._schemaSerializationMode;
}
set {
this._schemaSerializationMode = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new System.Data.DataTableCollection Tables {
get {
return base.Tables;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public new System.Data.DataRelationCollection Relations {
get {
return base.Relations;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void InitializeDerivedDataSet() {
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataSet Clone() {
ResxData cln = ((ResxData)(base.Clone()));
cln.InitVars();
cln.SchemaSerializationMode = this.SchemaSerializationMode;
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeTables() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override bool ShouldSerializeRelations() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
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["Resx"] != null)) {
base.Tables.Add(new ResxDataTable(ds.Tables["Resx"]));
}
if ((ds.Tables["ResxLocalized"] != null)) {
base.Tables.Add(new ResxLocalizedDataTable(ds.Tables["ResxLocalized"]));
}
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.ReadXml(reader);
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
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);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.InitVars(true);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars(bool initTable) {
this.tableResx = ((ResxDataTable)(base.Tables["Resx"]));
if ((initTable == true)) {
if ((this.tableResx != null)) {
this.tableResx.InitVars();
}
}
this.tableResxLocalized = ((ResxLocalizedDataTable)(base.Tables["ResxLocalized"]));
if ((initTable == true)) {
if ((this.tableResxLocalized != null)) {
this.tableResxLocalized.InitVars();
}
}
this.relationFK_Resx_ResxLocalized = this.Relations["FK_Resx_ResxLocalized"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.DataSetName = "ResxData";
this.Prefix = "";
this.Namespace = "http://tempuri.org/ResxData.xsd";
this.EnforceConstraints = true;
this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
this.tableResx = new ResxDataTable();
base.Tables.Add(this.tableResx);
this.tableResxLocalized = new ResxLocalizedDataTable();
base.Tables.Add(this.tableResxLocalized);
System.Data.ForeignKeyConstraint fkc;
fkc = new System.Data.ForeignKeyConstraint("FK_Resx_ResxLocalized", new System.Data.DataColumn[] {
this.tableResx.IdColumn}, new System.Data.DataColumn[] {
this.tableResxLocalized.ParentIdColumn});
this.tableResxLocalized.Constraints.Add(fkc);
fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None;
fkc.DeleteRule = System.Data.Rule.Cascade;
fkc.UpdateRule = System.Data.Rule.Cascade;
this.relationFK_Resx_ResxLocalized = new System.Data.DataRelation("FK_Resx_ResxLocalized", new System.Data.DataColumn[] {
this.tableResx.IdColumn}, new System.Data.DataColumn[] {
this.tableResxLocalized.ParentIdColumn}, false);
this.Relations.Add(this.relationFK_Resx_ResxLocalized);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeResx() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private bool ShouldSerializeResxLocalized() {
return false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void SchemaChanged(object sender, System.ComponentModel.CollectionChangeEventArgs e) {
if ((e.Action == System.ComponentModel.CollectionChangeAction.Remove)) {
this.InitVars();
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(System.Xml.Schema.XmlSchemaSet xs) {
ResxData ds = new ResxData();
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any = new System.Xml.Schema.XmlSchemaAny();
any.Namespace = ds.Namespace;
sequence.Items.Add(any);
type.Particle = sequence;
return type;
}
public delegate void ResxRowChangeEventHandler(object sender, ResxRowChangeEvent e);
public delegate void ResxLocalizedRowChangeEventHandler(object sender, ResxLocalizedRowChangeEvent e);
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.Serializable()]
[System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class ResxDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnFileSource;
private System.Data.DataColumn columnFileDestination;
private System.Data.DataColumn columnKey;
private System.Data.DataColumn columnValue;
private System.Data.DataColumn columnId;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxDataTable() {
this.TableName = "Resx";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal ResxDataTable(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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected ResxDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FileSourceColumn {
get {
return this.columnFileSource;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn FileDestinationColumn {
get {
return this.columnFileDestination;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn KeyColumn {
get {
return this.columnKey;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ValueColumn {
get {
return this.columnValue;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn IdColumn {
get {
return this.columnId;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow this[int index] {
get {
return ((ResxRow)(this.Rows[index]));
}
}
public event ResxRowChangeEventHandler ResxRowChanging;
public event ResxRowChangeEventHandler ResxRowChanged;
public event ResxRowChangeEventHandler ResxRowDeleting;
public event ResxRowChangeEventHandler ResxRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddResxRow(ResxRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow AddResxRow(string FileSource, string FileDestination, string Key, string Value) {
ResxRow rowResxRow = ((ResxRow)(this.NewRow()));
rowResxRow.ItemArray = new object[] {
FileSource,
FileDestination,
Key,
Value,
null};
this.Rows.Add(rowResxRow);
return rowResxRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow FindById(int Id) {
return ((ResxRow)(this.Rows.Find(new object[] {
Id})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
ResxDataTable cln = ((ResxDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new ResxDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnFileSource = base.Columns["FileSource"];
this.columnFileDestination = base.Columns["FileDestination"];
this.columnKey = base.Columns["Key"];
this.columnValue = base.Columns["Value"];
this.columnId = base.Columns["Id"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnFileSource = new System.Data.DataColumn("FileSource", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFileSource);
this.columnFileDestination = new System.Data.DataColumn("FileDestination", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnFileDestination);
this.columnKey = new System.Data.DataColumn("Key", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnKey);
this.columnValue = new System.Data.DataColumn("Value", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnValue);
this.columnId = new System.Data.DataColumn("Id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnId);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnId}, true));
this.columnFileSource.AllowDBNull = false;
this.columnKey.AllowDBNull = false;
this.columnId.AutoIncrement = true;
this.columnId.AllowDBNull = false;
this.columnId.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow NewResxRow() {
return ((ResxRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new ResxRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(ResxRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.ResxRowChanged != null)) {
this.ResxRowChanged(this, new ResxRowChangeEvent(((ResxRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.ResxRowChanging != null)) {
this.ResxRowChanging(this, new ResxRowChangeEvent(((ResxRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.ResxRowDeleted != null)) {
this.ResxRowDeleted(this, new ResxRowChangeEvent(((ResxRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.ResxRowDeleting != null)) {
this.ResxRowDeleting(this, new ResxRowChangeEvent(((ResxRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveResxRow(ResxRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
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();
ResxData ds = new ResxData();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
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 = "ResxDataTable";
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 ResxLocalizedDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnCulture;
private System.Data.DataColumn columnKey;
private System.Data.DataColumn columnValue;
private System.Data.DataColumn columnId;
private System.Data.DataColumn columnParentId;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedDataTable() {
this.TableName = "ResxLocalized";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal ResxLocalizedDataTable(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;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected ResxLocalizedDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn CultureColumn {
get {
return this.columnCulture;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn KeyColumn {
get {
return this.columnKey;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ValueColumn {
get {
return this.columnValue;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn IdColumn {
get {
return this.columnId;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ParentIdColumn {
get {
return this.columnParentId;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow this[int index] {
get {
return ((ResxLocalizedRow)(this.Rows[index]));
}
}
public event ResxLocalizedRowChangeEventHandler ResxLocalizedRowChanging;
public event ResxLocalizedRowChangeEventHandler ResxLocalizedRowChanged;
public event ResxLocalizedRowChangeEventHandler ResxLocalizedRowDeleting;
public event ResxLocalizedRowChangeEventHandler ResxLocalizedRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddResxLocalizedRow(ResxLocalizedRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow AddResxLocalizedRow(string Culture, string Key, string Value, ResxRow parentResxRowByFK_Resx_ResxLocalized) {
ResxLocalizedRow rowResxLocalizedRow = ((ResxLocalizedRow)(this.NewRow()));
rowResxLocalizedRow.ItemArray = new object[] {
Culture,
Key,
Value,
null,
parentResxRowByFK_Resx_ResxLocalized[4]};
this.Rows.Add(rowResxLocalizedRow);
return rowResxLocalizedRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow FindById(int Id) {
return ((ResxLocalizedRow)(this.Rows.Find(new object[] {
Id})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
ResxLocalizedDataTable cln = ((ResxLocalizedDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new ResxLocalizedDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnCulture = base.Columns["Culture"];
this.columnKey = base.Columns["Key"];
this.columnValue = base.Columns["Value"];
this.columnId = base.Columns["Id"];
this.columnParentId = base.Columns["ParentId"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnCulture = new System.Data.DataColumn("Culture", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnCulture);
this.columnKey = new System.Data.DataColumn("Key", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnKey);
this.columnValue = new System.Data.DataColumn("Value", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnValue);
this.columnId = new System.Data.DataColumn("Id", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnId);
this.columnParentId = new System.Data.DataColumn("ParentId", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnParentId);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnId}, true));
this.columnCulture.AllowDBNull = false;
this.columnKey.AllowDBNull = false;
this.columnId.AutoIncrement = true;
this.columnId.AllowDBNull = false;
this.columnId.Unique = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow NewResxLocalizedRow() {
return ((ResxLocalizedRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new ResxLocalizedRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(ResxLocalizedRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.ResxLocalizedRowChanged != null)) {
this.ResxLocalizedRowChanged(this, new ResxLocalizedRowChangeEvent(((ResxLocalizedRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.ResxLocalizedRowChanging != null)) {
this.ResxLocalizedRowChanging(this, new ResxLocalizedRowChangeEvent(((ResxLocalizedRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.ResxLocalizedRowDeleted != null)) {
this.ResxLocalizedRowDeleted(this, new ResxLocalizedRowChangeEvent(((ResxLocalizedRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.ResxLocalizedRowDeleting != null)) {
this.ResxLocalizedRowDeleting(this, new ResxLocalizedRowChangeEvent(((ResxLocalizedRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveResxLocalizedRow(ResxLocalizedRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
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();
ResxData ds = new ResxData();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
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 = "ResxLocalizedDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class ResxRow : System.Data.DataRow {
private ResxDataTable tableResx;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal ResxRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableResx = ((ResxDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FileSource {
get {
return ((string)(this[this.tableResx.FileSourceColumn]));
}
set {
this[this.tableResx.FileSourceColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string FileDestination {
get {
try {
return ((string)(this[this.tableResx.FileDestinationColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'FileDestination\' in table \'Resx\' is DBNull.", e);
}
}
set {
this[this.tableResx.FileDestinationColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Key {
get {
return ((string)(this[this.tableResx.KeyColumn]));
}
set {
this[this.tableResx.KeyColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Value {
get {
try {
return ((string)(this[this.tableResx.ValueColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'Value\' in table \'Resx\' is DBNull.", e);
}
}
set {
this[this.tableResx.ValueColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Id {
get {
return ((int)(this[this.tableResx.IdColumn]));
}
set {
this[this.tableResx.IdColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsFileDestinationNull() {
return this.IsNull(this.tableResx.FileDestinationColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetFileDestinationNull() {
this[this.tableResx.FileDestinationColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsValueNull() {
return this.IsNull(this.tableResx.ValueColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetValueNull() {
this[this.tableResx.ValueColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow[] GetResxLocalizedRows() {
return ((ResxLocalizedRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Resx_ResxLocalized"])));
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class ResxLocalizedRow : System.Data.DataRow {
private ResxLocalizedDataTable tableResxLocalized;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal ResxLocalizedRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableResxLocalized = ((ResxLocalizedDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Culture {
get {
return ((string)(this[this.tableResxLocalized.CultureColumn]));
}
set {
this[this.tableResxLocalized.CultureColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Key {
get {
return ((string)(this[this.tableResxLocalized.KeyColumn]));
}
set {
this[this.tableResxLocalized.KeyColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string Value {
get {
try {
return ((string)(this[this.tableResxLocalized.ValueColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'Value\' in table \'ResxLocalized\' is DBNull.", e);
}
}
set {
this[this.tableResxLocalized.ValueColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int Id {
get {
return ((int)(this[this.tableResxLocalized.IdColumn]));
}
set {
this[this.tableResxLocalized.IdColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int ParentId {
get {
try {
return ((int)(this[this.tableResxLocalized.ParentIdColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("The value for column \'ParentId\' in table \'ResxLocalized\' is DBNull.", e);
}
}
set {
this[this.tableResxLocalized.ParentIdColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow ResxRow {
get {
return ((ResxRow)(this.GetParentRow(this.Table.ParentRelations["FK_Resx_ResxLocalized"])));
}
set {
this.SetParentRow(value, this.Table.ParentRelations["FK_Resx_ResxLocalized"]);
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsValueNull() {
return this.IsNull(this.tableResxLocalized.ValueColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetValueNull() {
this[this.tableResxLocalized.ValueColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsParentIdNull() {
return this.IsNull(this.tableResxLocalized.ParentIdColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetParentIdNull() {
this[this.tableResxLocalized.ParentIdColumn] = System.Convert.DBNull;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class ResxRowChangeEvent : System.EventArgs {
private ResxRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRowChangeEvent(ResxRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public class ResxLocalizedRowChangeEvent : System.EventArgs {
private ResxLocalizedRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRowChangeEvent(ResxLocalizedRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public ResxLocalizedRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
#pragma warning restore 1591