?? accessblog.designer.cs
字號:
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected blogNote1DataTable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn idColumn {
get {
return this.columnid;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn picColumn {
get {
return this.columnpic;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn picTextColumn {
get {
return this.columnpicText;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataColumn contentColumn {
get {
return this.columncontent;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public blogNote1Row this[int index] {
get {
return ((blogNote1Row)(this.Rows[index]));
}
}
public event blogNote1RowChangeEventHandler blogNote1RowChanging;
public event blogNote1RowChangeEventHandler blogNote1RowChanged;
public event blogNote1RowChangeEventHandler blogNote1RowDeleting;
public event blogNote1RowChangeEventHandler blogNote1RowDeleted;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void AddblogNote1Row(blogNote1Row row) {
this.Rows.Add(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public blogNote1Row AddblogNote1Row(string pic, string picText, string content) {
blogNote1Row rowblogNote1Row = ((blogNote1Row)(this.NewRow()));
rowblogNote1Row.ItemArray = new object[] {
null,
pic,
picText,
content};
this.Rows.Add(rowblogNote1Row);
return rowblogNote1Row;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public blogNote1Row FindByid(long id) {
return ((blogNote1Row)(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() {
blogNote1DataTable cln = ((blogNote1DataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataTable CreateInstance() {
return new blogNote1DataTable();
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnid = base.Columns["id"];
this.columnpic = base.Columns["pic"];
this.columnpicText = base.Columns["picText"];
this.columncontent = base.Columns["content"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnid = new System.Data.DataColumn("id", typeof(long), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnid);
this.columnpic = new System.Data.DataColumn("pic", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnpic);
this.columnpicText = new System.Data.DataColumn("picText", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnpicText);
this.columncontent = new System.Data.DataColumn("content", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columncontent);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnid}, true));
this.columnid.AutoIncrement = true;
this.columnid.AllowDBNull = false;
this.columnid.ReadOnly = true;
this.columnid.Unique = true;
this.columnpic.MaxLength = 2147483647;
this.columnpicText.MaxLength = 100;
this.columncontent.MaxLength = 2147483647;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public blogNote1Row NewblogNote1Row() {
return ((blogNote1Row)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new blogNote1Row(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(blogNote1Row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.blogNote1RowChanged != null)) {
this.blogNote1RowChanged(this, new blogNote1RowChangeEvent(((blogNote1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.blogNote1RowChanging != null)) {
this.blogNote1RowChanging(this, new blogNote1RowChangeEvent(((blogNote1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.blogNote1RowDeleted != null)) {
this.blogNote1RowDeleted(this, new blogNote1RowChangeEvent(((blogNote1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.blogNote1RowDeleting != null)) {
this.blogNote1RowDeleting(this, new blogNote1RowChangeEvent(((blogNote1Row)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveblogNote1Row(blogNote1Row 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();
AccessBlog ds = new AccessBlog();
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 = "blogNote1DataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
public partial class blogNoteRow : System.Data.DataRow {
private blogNoteDataTable tableblogNote;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal blogNoteRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableblogNote = ((blogNoteDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int id {
get {
return ((int)(this[this.tableblogNote.idColumn]));
}
set {
this[this.tableblogNote.idColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string pic {
get {
try {
return ((string)(this[this.tableblogNote.picColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“blogNote”中列“pic”的值為 DBNull。", e);
}
}
set {
this[this.tableblogNote.picColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string picText {
get {
try {
return ((string)(this[this.tableblogNote.picTextColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("表“blogNote”中列“picText”的值為 DBNull。", e);
}
}
set {
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -