📄 databasedataset.designer.cs
字号:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn user_faceColumn {
get {
return this.columnuser_face;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn user_sexColumn {
get {
return this.columnuser_sex;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn user_ageColumn {
get {
return this.columnuser_age;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn user_groupColumn {
get {
return this.columnuser_group;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn user_TelColumn {
get {
return this.columnuser_Tel;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn _user_E_mailColumn {
get {
return this._columnuser_E_mail;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public usersRow this[int index] {
get {
return ((usersRow)(this.Rows[index]));
}
}
public event usersRowChangeEventHandler usersRowChanging;
public event usersRowChangeEventHandler usersRowChanged;
public event usersRowChangeEventHandler usersRowDeleting;
public event usersRowChangeEventHandler usersRowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddusersRow(usersRow row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public usersRow AddusersRow(string user_name, string user_pwd, int user_face, string user_sex, int user_age, groupRow parentgroupRowBygroupusers, string user_Tel, string _user_E_mail) {
usersRow rowusersRow = ((usersRow)(this.NewRow()));
rowusersRow.ItemArray = new object[] {
user_name,
user_pwd,
user_face,
user_sex,
user_age,
parentgroupRowBygroupusers[0],
user_Tel,
_user_E_mail};
this.Rows.Add(rowusersRow);
return rowusersRow;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public usersRow FindByuser_name(string user_name) {
return ((usersRow)(this.Rows.Find(new object[] {
user_name})));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public virtual System.Collections.IEnumerator GetEnumerator() {
return this.Rows.GetEnumerator();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override System.Data.DataTable Clone() {
usersDataTable cln = ((usersDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new usersDataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnuser_name = base.Columns["user_name"];
this.columnuser_pwd = base.Columns["user_pwd"];
this.columnuser_face = base.Columns["user_face"];
this.columnuser_sex = base.Columns["user_sex"];
this.columnuser_age = base.Columns["user_age"];
this.columnuser_group = base.Columns["user_group"];
this.columnuser_Tel = base.Columns["user_Tel"];
this._columnuser_E_mail = base.Columns["user_E-mail"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnuser_name = new System.Data.DataColumn("user_name", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_name);
this.columnuser_pwd = new System.Data.DataColumn("user_pwd", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_pwd);
this.columnuser_face = new System.Data.DataColumn("user_face", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_face);
this.columnuser_sex = new System.Data.DataColumn("user_sex", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_sex);
this.columnuser_age = new System.Data.DataColumn("user_age", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_age);
this.columnuser_group = new System.Data.DataColumn("user_group", typeof(int), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_group);
this.columnuser_Tel = new System.Data.DataColumn("user_Tel", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnuser_Tel);
this._columnuser_E_mail = new System.Data.DataColumn("user_E-mail", typeof(string), null, System.Data.MappingType.Element);
this._columnuser_E_mail.ExtendedProperties.Add("Generator_ColumnPropNameInRow", "_user_E_mail");
this._columnuser_E_mail.ExtendedProperties.Add("Generator_ColumnPropNameInTable", "_user_E_mailColumn");
this._columnuser_E_mail.ExtendedProperties.Add("Generator_ColumnVarNameInTable", "_columnuser_E_mail");
this._columnuser_E_mail.ExtendedProperties.Add("Generator_UserColumnName", "user_E-mail");
base.Columns.Add(this._columnuser_E_mail);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnuser_name}, true));
this.columnuser_name.AllowDBNull = false;
this.columnuser_name.Unique = true;
this.columnuser_name.MaxLength = 255;
this.columnuser_pwd.MaxLength = 255;
this.columnuser_sex.MaxLength = 255;
this.columnuser_Tel.MaxLength = 255;
this._columnuser_E_mail.MaxLength = 255;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public usersRow NewusersRow() {
return ((usersRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new usersRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(usersRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.usersRowChanged != null)) {
this.usersRowChanged(this, new usersRowChangeEvent(((usersRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.usersRowChanging != null)) {
this.usersRowChanging(this, new usersRowChangeEvent(((usersRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.usersRowDeleted != null)) {
this.usersRowDeleted(this, new usersRowChangeEvent(((usersRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.usersRowDeleting != null)) {
this.usersRowDeleting(this, new usersRowChangeEvent(((usersRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveusersRow(usersRow 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();
DatabaseDataSet ds = new DatabaseDataSet();
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 = "usersDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class groupRow : System.Data.DataRow {
private groupDataTable tablegroup;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal groupRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tablegroup = ((groupDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int ID {
get {
return ((int)(this[this.tablegroup.IDColumn]));
}
set {
this[this.tablegroup.IDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string group {
get {
try {
return ((string)(this[this.tablegroup.groupColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“group”中列“group”的值为 DBNull。", e);
}
}
set {
this[this.tablegroup.groupColumn] = value;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -