📄 dataresources.designer.cs
字号:
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnResourcesId = base.Columns["ResourcesId"];
this.columnResourceGroupId = base.Columns["ResourceGroupId"];
this.columnResourcesName = base.Columns["ResourcesName"];
this.columnResourcesCNName = base.Columns["ResourcesCNName"];
this.columnDescription = base.Columns["Description"];
this.columnResourcesOrder = base.Columns["ResourcesOrder"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnResourcesId = new System.Data.DataColumn("ResourcesId", typeof(System.Guid), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnResourcesId);
this.columnResourceGroupId = new System.Data.DataColumn("ResourceGroupId", typeof(System.Guid), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnResourceGroupId);
this.columnResourcesName = new System.Data.DataColumn("ResourcesName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnResourcesName);
this.columnResourcesCNName = new System.Data.DataColumn("ResourcesCNName", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnResourcesCNName);
this.columnDescription = new System.Data.DataColumn("Description", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnDescription);
this.columnResourcesOrder = new System.Data.DataColumn("ResourcesOrder", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnResourcesOrder);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnResourcesId}, true));
this.columnResourcesId.AllowDBNull = false;
this.columnResourcesId.Unique = true;
this.columnResourceGroupId.AllowDBNull = false;
this.columnResourcesName.AllowDBNull = false;
this.columnResourcesName.MaxLength = 50;
this.columnResourcesCNName.MaxLength = 50;
this.columnDescription.MaxLength = 100;
this.columnResourcesOrder.AllowDBNull = false;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public wmf_ResourcesRow Newwmf_ResourcesRow() {
return ((wmf_ResourcesRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new wmf_ResourcesRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(wmf_ResourcesRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.wmf_ResourcesRowChanged != null)) {
this.wmf_ResourcesRowChanged(this, new wmf_ResourcesRowChangeEvent(((wmf_ResourcesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.wmf_ResourcesRowChanging != null)) {
this.wmf_ResourcesRowChanging(this, new wmf_ResourcesRowChangeEvent(((wmf_ResourcesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.wmf_ResourcesRowDeleted != null)) {
this.wmf_ResourcesRowDeleted(this, new wmf_ResourcesRowChangeEvent(((wmf_ResourcesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.wmf_ResourcesRowDeleting != null)) {
this.wmf_ResourcesRowDeleting(this, new wmf_ResourcesRowChangeEvent(((wmf_ResourcesRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Removewmf_ResourcesRow(wmf_ResourcesRow 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();
DataResources ds = new DataResources();
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 = "wmf_ResourcesDataTable";
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 wmf_ResourcesGroupDataTable : System.Data.DataTable, System.Collections.IEnumerable {
private System.Data.DataColumn columnResourceGroupId;
private System.Data.DataColumn columnResourcesGroupName;
private System.Data.DataColumn columnParentId;
private System.Data.DataColumn columnDescription;
private System.Data.DataColumn columnGroupOrder;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public wmf_ResourcesGroupDataTable() {
this.TableName = "wmf_ResourcesGroup";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal wmf_ResourcesGroupDataTable(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 wmf_ResourcesGroupDataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ResourceGroupIdColumn {
get {
return this.columnResourceGroupId;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ResourcesGroupNameColumn {
get {
return this.columnResourcesGroupName;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn ParentIdColumn {
get {
return this.columnParentId;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn DescriptionColumn {
get {
return this.columnDescription;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn GroupOrderColumn {
get {
return this.columnGroupOrder;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public wmf_ResourcesGroupRow this[int index] {
get {
return ((wmf_ResourcesGroupRow)(this.Rows[index]));
}
}
public event wmf_ResourcesGroupRowChangeEventHandler wmf_ResourcesGroupRowChanging;
public event wmf_ResourcesGroupRowChangeEventHandler wmf_ResourcesGroupRowChanged;
public event wmf_ResourcesGroupRowChangeEventHandler wmf_ResourcesGroupRowDeleting;
public event wmf_ResourcesGroupRowChangeEventHandler wmf_ResourcesGroupRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void Addwmf_ResourcesGroupRow(wmf_ResourcesGroupRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public wmf_ResourcesGroupRow Addwmf_ResourcesGroupRow(System.Guid ResourceGroupId, string ResourcesGroupName, System.Guid ParentId, string Description, int GroupOrder) {
wmf_ResourcesGroupRow rowwmf_ResourcesGroupRow = ((wmf_ResourcesGroupRow)(this.NewRow()));
rowwmf_ResourcesGroupRow.ItemArray = new object[] {
ResourceGroupId,
ResourcesGroupName,
ParentId,
Description,
GroupOrder};
this.Rows.Add(rowwmf_ResourcesGroupRow);
return rowwmf_ResourcesGroupRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public wmf_ResourcesGroupRow FindByResourceGroupId(System.Guid ResourceGroupId) {
return ((wmf_ResourcesGroupRow)(this.Rows.Find(new object[] {
ResourceGroupId})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
wmf_ResourcesGroupDataTable cln = ((wmf_ResourcesGroupDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -