|
@@ -38,6 +38,8 @@ namespace Швейная_фабрика {
|
|
|
|
|
|
private UsersDataTable tableUsers;
|
|
|
|
|
|
+ private AllTkanDataTable tableAllTkan;
|
|
|
+
|
|
|
private global::System.Data.DataRelation relationFK_Orders_Furnitura;
|
|
|
|
|
|
private global::System.Data.DataRelation relationFK_Orders_Izdelie;
|
|
@@ -101,6 +103,9 @@ namespace Швейная_фабрика {
|
|
|
if ((ds.Tables["Users"] != null)) {
|
|
|
base.Tables.Add(new UsersDataTable(ds.Tables["Users"]));
|
|
|
}
|
|
|
+ if ((ds.Tables["AllTkan"] != null)) {
|
|
|
+ base.Tables.Add(new AllTkanDataTable(ds.Tables["AllTkan"]));
|
|
|
+ }
|
|
|
this.DataSetName = ds.DataSetName;
|
|
|
this.Prefix = ds.Prefix;
|
|
|
this.Namespace = ds.Namespace;
|
|
@@ -189,6 +194,16 @@ namespace Швейная_фабрика {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ [global::System.ComponentModel.Browsable(false)]
|
|
|
+ [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
|
|
|
+ public AllTkanDataTable AllTkan {
|
|
|
+ get {
|
|
|
+ return this.tableAllTkan;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
[global::System.ComponentModel.BrowsableAttribute(true)]
|
|
@@ -277,6 +292,9 @@ namespace Швейная_фабрика {
|
|
|
if ((ds.Tables["Users"] != null)) {
|
|
|
base.Tables.Add(new UsersDataTable(ds.Tables["Users"]));
|
|
|
}
|
|
|
+ if ((ds.Tables["AllTkan"] != null)) {
|
|
|
+ base.Tables.Add(new AllTkanDataTable(ds.Tables["AllTkan"]));
|
|
|
+ }
|
|
|
this.DataSetName = ds.DataSetName;
|
|
|
this.Prefix = ds.Prefix;
|
|
|
this.Namespace = ds.Namespace;
|
|
@@ -352,6 +370,12 @@ namespace Швейная_фабрика {
|
|
|
this.tableUsers.InitVars();
|
|
|
}
|
|
|
}
|
|
|
+ this.tableAllTkan = ((AllTkanDataTable)(base.Tables["AllTkan"]));
|
|
|
+ if ((initTable == true)) {
|
|
|
+ if ((this.tableAllTkan != null)) {
|
|
|
+ this.tableAllTkan.InitVars();
|
|
|
+ }
|
|
|
+ }
|
|
|
this.relationFK_Orders_Furnitura = this.Relations["FK_Orders_Furnitura"];
|
|
|
this.relationFK_Orders_Izdelie = this.Relations["FK_Orders_Izdelie"];
|
|
|
this.relationFK_Orders_Tkan = this.Relations["FK_Orders_Tkan"];
|
|
@@ -383,6 +407,8 @@ namespace Швейная_фабрика {
|
|
|
base.Tables.Add(this.tableTkan);
|
|
|
this.tableUsers = new UsersDataTable();
|
|
|
base.Tables.Add(this.tableUsers);
|
|
|
+ this.tableAllTkan = new AllTkanDataTable();
|
|
|
+ base.Tables.Add(this.tableAllTkan);
|
|
|
this.relationFK_Orders_Furnitura = new global::System.Data.DataRelation("FK_Orders_Furnitura", new global::System.Data.DataColumn[] {
|
|
|
this.tableFurnitura.id_furColumn}, new global::System.Data.DataColumn[] {
|
|
|
this.tableOrders.id_furColumn}, false);
|
|
@@ -455,6 +481,12 @@ namespace Швейная_фабрика {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ private bool ShouldSerializeAllTkan() {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
|
|
@@ -531,6 +563,9 @@ namespace Швейная_фабрика {
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
public delegate void UsersRowChangeEventHandler(object sender, UsersRowChangeEvent e);
|
|
|
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public delegate void AllTkanRowChangeEventHandler(object sender, AllTkanRowChangeEvent e);
|
|
|
+
|
|
|
/// <summary>
|
|
|
///Represents the strongly named DataTable class.
|
|
|
///</summary>
|
|
@@ -2792,6 +2827,356 @@ namespace Швейная_фабрика {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ ///Represents the strongly named DataTable class.
|
|
|
+ ///</summary>
|
|
|
+ [global::System.Serializable()]
|
|
|
+ [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
|
|
|
+ public partial class AllTkanDataTable : global::System.Data.TypedTableBase<AllTkanRow> {
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnid_Tkan;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnTitle;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnLength;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnWidth;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnComment;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnNamePhoto;
|
|
|
+
|
|
|
+ private global::System.Data.DataColumn columnColor;
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanDataTable() {
|
|
|
+ this.TableName = "AllTkan";
|
|
|
+ this.BeginInit();
|
|
|
+ this.InitClass();
|
|
|
+ this.EndInit();
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ internal AllTkanDataTable(global::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;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected AllTkanDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
|
|
|
+ base(info, context) {
|
|
|
+ this.InitVars();
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn id_TkanColumn {
|
|
|
+ get {
|
|
|
+ return this.columnid_Tkan;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn TitleColumn {
|
|
|
+ get {
|
|
|
+ return this.columnTitle;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn LengthColumn {
|
|
|
+ get {
|
|
|
+ return this.columnLength;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn WidthColumn {
|
|
|
+ get {
|
|
|
+ return this.columnWidth;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn CommentColumn {
|
|
|
+ get {
|
|
|
+ return this.columnComment;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn NamePhotoColumn {
|
|
|
+ get {
|
|
|
+ return this.columnNamePhoto;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataColumn ColorColumn {
|
|
|
+ get {
|
|
|
+ return this.columnColor;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ [global::System.ComponentModel.Browsable(false)]
|
|
|
+ public int Count {
|
|
|
+ get {
|
|
|
+ return this.Rows.Count;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRow this[int index] {
|
|
|
+ get {
|
|
|
+ return ((AllTkanRow)(this.Rows[index]));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public event AllTkanRowChangeEventHandler AllTkanRowChanging;
|
|
|
+
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public event AllTkanRowChangeEventHandler AllTkanRowChanged;
|
|
|
+
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public event AllTkanRowChangeEventHandler AllTkanRowDeleting;
|
|
|
+
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public event AllTkanRowChangeEventHandler AllTkanRowDeleted;
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void AddAllTkanRow(AllTkanRow row) {
|
|
|
+ this.Rows.Add(row);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRow AddAllTkanRow(string Title, int Length, int Width, string Comment, string NamePhoto, string Color) {
|
|
|
+ AllTkanRow rowAllTkanRow = ((AllTkanRow)(this.NewRow()));
|
|
|
+ object[] columnValuesArray = new object[] {
|
|
|
+ null,
|
|
|
+ Title,
|
|
|
+ Length,
|
|
|
+ Width,
|
|
|
+ Comment,
|
|
|
+ NamePhoto,
|
|
|
+ Color};
|
|
|
+ rowAllTkanRow.ItemArray = columnValuesArray;
|
|
|
+ this.Rows.Add(rowAllTkanRow);
|
|
|
+ return rowAllTkanRow;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRow FindByid_Tkan(int id_Tkan) {
|
|
|
+ return ((AllTkanRow)(this.Rows.Find(new object[] {
|
|
|
+ id_Tkan})));
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public override global::System.Data.DataTable Clone() {
|
|
|
+ AllTkanDataTable cln = ((AllTkanDataTable)(base.Clone()));
|
|
|
+ cln.InitVars();
|
|
|
+ return cln;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override global::System.Data.DataTable CreateInstance() {
|
|
|
+ return new AllTkanDataTable();
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ internal void InitVars() {
|
|
|
+ this.columnid_Tkan = base.Columns["id_Tkan"];
|
|
|
+ this.columnTitle = base.Columns["Title"];
|
|
|
+ this.columnLength = base.Columns["Length"];
|
|
|
+ this.columnWidth = base.Columns["Width"];
|
|
|
+ this.columnComment = base.Columns["Comment"];
|
|
|
+ this.columnNamePhoto = base.Columns["NamePhoto"];
|
|
|
+ this.columnColor = base.Columns["Color"];
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ private void InitClass() {
|
|
|
+ this.columnid_Tkan = new global::System.Data.DataColumn("id_Tkan", typeof(int), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnid_Tkan);
|
|
|
+ this.columnTitle = new global::System.Data.DataColumn("Title", typeof(string), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnTitle);
|
|
|
+ this.columnLength = new global::System.Data.DataColumn("Length", typeof(int), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnLength);
|
|
|
+ this.columnWidth = new global::System.Data.DataColumn("Width", typeof(int), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnWidth);
|
|
|
+ this.columnComment = new global::System.Data.DataColumn("Comment", typeof(string), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnComment);
|
|
|
+ this.columnNamePhoto = new global::System.Data.DataColumn("NamePhoto", typeof(string), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnNamePhoto);
|
|
|
+ this.columnColor = new global::System.Data.DataColumn("Color", typeof(string), null, global::System.Data.MappingType.Element);
|
|
|
+ base.Columns.Add(this.columnColor);
|
|
|
+ this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
|
|
+ this.columnid_Tkan}, true));
|
|
|
+ this.columnid_Tkan.AutoIncrement = true;
|
|
|
+ this.columnid_Tkan.AutoIncrementSeed = -1;
|
|
|
+ this.columnid_Tkan.AutoIncrementStep = -1;
|
|
|
+ this.columnid_Tkan.AllowDBNull = false;
|
|
|
+ this.columnid_Tkan.ReadOnly = true;
|
|
|
+ this.columnid_Tkan.Unique = true;
|
|
|
+ this.columnTitle.MaxLength = 50;
|
|
|
+ this.columnComment.MaxLength = 50;
|
|
|
+ this.columnNamePhoto.MaxLength = 50;
|
|
|
+ this.columnColor.MaxLength = 50;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRow NewAllTkanRow() {
|
|
|
+ return ((AllTkanRow)(this.NewRow()));
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
|
|
|
+ return new AllTkanRow(builder);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override global::System.Type GetRowType() {
|
|
|
+ return typeof(AllTkanRow);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
|
|
|
+ base.OnRowChanged(e);
|
|
|
+ if ((this.AllTkanRowChanged != null)) {
|
|
|
+ this.AllTkanRowChanged(this, new AllTkanRowChangeEvent(((AllTkanRow)(e.Row)), e.Action));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
|
|
|
+ base.OnRowChanging(e);
|
|
|
+ if ((this.AllTkanRowChanging != null)) {
|
|
|
+ this.AllTkanRowChanging(this, new AllTkanRowChangeEvent(((AllTkanRow)(e.Row)), e.Action));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
|
|
|
+ base.OnRowDeleted(e);
|
|
|
+ if ((this.AllTkanRowDeleted != null)) {
|
|
|
+ this.AllTkanRowDeleted(this, new AllTkanRowChangeEvent(((AllTkanRow)(e.Row)), e.Action));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
|
|
|
+ base.OnRowDeleting(e);
|
|
|
+ if ((this.AllTkanRowDeleting != null)) {
|
|
|
+ this.AllTkanRowDeleting(this, new AllTkanRowChangeEvent(((AllTkanRow)(e.Row)), e.Action));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void RemoveAllTkanRow(AllTkanRow row) {
|
|
|
+ this.Rows.Remove(row);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
|
|
|
+ global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
|
|
|
+ global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
|
|
|
+ СlothesFactoryLGDataSet ds = new СlothesFactoryLGDataSet();
|
|
|
+ global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
|
+ any1.Namespace = "http://www.w3.org/2001/XMLSchema";
|
|
|
+ any1.MinOccurs = new decimal(0);
|
|
|
+ any1.MaxOccurs = decimal.MaxValue;
|
|
|
+ any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
|
+ sequence.Items.Add(any1);
|
|
|
+ global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
|
|
|
+ any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
|
|
|
+ any2.MinOccurs = new decimal(1);
|
|
|
+ any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
|
|
|
+ sequence.Items.Add(any2);
|
|
|
+ global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
|
+ attribute1.Name = "namespace";
|
|
|
+ attribute1.FixedValue = ds.Namespace;
|
|
|
+ type.Attributes.Add(attribute1);
|
|
|
+ global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
|
|
|
+ attribute2.Name = "tableTypeName";
|
|
|
+ attribute2.FixedValue = "AllTkanDataTable";
|
|
|
+ type.Attributes.Add(attribute2);
|
|
|
+ type.Particle = sequence;
|
|
|
+ global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
|
|
|
+ if (xs.Contains(dsSchema.TargetNamespace)) {
|
|
|
+ global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
|
|
|
+ global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
|
|
|
+ try {
|
|
|
+ global::System.Xml.Schema.XmlSchema schema = null;
|
|
|
+ dsSchema.Write(s1);
|
|
|
+ for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
|
|
|
+ schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
|
|
|
+ s2.SetLength(0);
|
|
|
+ schema.Write(s2);
|
|
|
+ if ((s1.Length == s2.Length)) {
|
|
|
+ s1.Position = 0;
|
|
|
+ s2.Position = 0;
|
|
|
+ for (; ((s1.Position != s1.Length)
|
|
|
+ && (s1.ReadByte() == s2.ReadByte())); ) {
|
|
|
+ ;
|
|
|
+ }
|
|
|
+ if ((s1.Position == s1.Length)) {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ finally {
|
|
|
+ if ((s1 != null)) {
|
|
|
+ s1.Close();
|
|
|
+ }
|
|
|
+ if ((s2 != null)) {
|
|
|
+ s2.Close();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ xs.Add(dsSchema);
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
///Represents strongly named DataRow class.
|
|
|
///</summary>
|
|
@@ -3825,90 +4210,284 @@ namespace Швейная_фабрика {
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetpassNull() {
|
|
|
- this[this.tableUsers.passColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetpassNull() {
|
|
|
+ this[this.tableUsers.passColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool IsRoleNull() {
|
|
|
+ return this.IsNull(this.tableUsers.RoleColumn);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void SetRoleNull() {
|
|
|
+ this[this.tableUsers.RoleColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool IsSurnameNull() {
|
|
|
+ return this.IsNull(this.tableUsers.SurnameColumn);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void SetSurnameNull() {
|
|
|
+ this[this.tableUsers.SurnameColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool IsNameNull() {
|
|
|
+ return this.IsNull(this.tableUsers.NameColumn);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void SetNameNull() {
|
|
|
+ this[this.tableUsers.NameColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool IsOtchNull() {
|
|
|
+ return this.IsNull(this.tableUsers.OtchColumn);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void SetOtchNull() {
|
|
|
+ this[this.tableUsers.OtchColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool IsPhoneNull() {
|
|
|
+ return this.IsNull(this.tableUsers.PhoneColumn);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public void SetPhoneNull() {
|
|
|
+ this[this.tableUsers.PhoneColumn] = global::System.Convert.DBNull;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public OrdersRow[] GetOrdersRowsByFK_Orders_Users1() {
|
|
|
+ if ((this.Table.ChildRelations["FK_Orders_Users1"] == null)) {
|
|
|
+ return new OrdersRow[0];
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ return ((OrdersRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Orders_Users1"])));
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public OrdersRow[] GetOrdersRowsByFK_Orders_Users2() {
|
|
|
+ if ((this.Table.ChildRelations["FK_Orders_Users2"] == null)) {
|
|
|
+ return new OrdersRow[0];
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ return ((OrdersRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Orders_Users2"])));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ ///Represents strongly named DataRow class.
|
|
|
+ ///</summary>
|
|
|
+ public partial class AllTkanRow : global::System.Data.DataRow {
|
|
|
+
|
|
|
+ private AllTkanDataTable tableAllTkan;
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ internal AllTkanRow(global::System.Data.DataRowBuilder rb) :
|
|
|
+ base(rb) {
|
|
|
+ this.tableAllTkan = ((AllTkanDataTable)(this.Table));
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public int id_Tkan {
|
|
|
+ get {
|
|
|
+ return ((int)(this[this.tableAllTkan.id_TkanColumn]));
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.id_TkanColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public string Title {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((string)(this[this.tableAllTkan.TitleColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'Title\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.TitleColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public int Length {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((int)(this[this.tableAllTkan.LengthColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'Length\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.LengthColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public int Width {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((int)(this[this.tableAllTkan.WidthColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'Width\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.WidthColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public string Comment {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((string)(this[this.tableAllTkan.CommentColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'Comment\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.CommentColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public string NamePhoto {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((string)(this[this.tableAllTkan.NamePhotoColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'NamePhoto\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.NamePhotoColumn] = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public string Color {
|
|
|
+ get {
|
|
|
+ try {
|
|
|
+ return ((string)(this[this.tableAllTkan.ColorColumn]));
|
|
|
+ }
|
|
|
+ catch (global::System.InvalidCastException e) {
|
|
|
+ throw new global::System.Data.StrongTypingException("Значение для столбца \'Color\' в таблице \'AllTkan\' равно DBNull.", e);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this[this.tableAllTkan.ColorColumn] = value;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public bool IsRoleNull() {
|
|
|
- return this.IsNull(this.tableUsers.RoleColumn);
|
|
|
+ public bool IsTitleNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.TitleColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetRoleNull() {
|
|
|
- this[this.tableUsers.RoleColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetTitleNull() {
|
|
|
+ this[this.tableAllTkan.TitleColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public bool IsSurnameNull() {
|
|
|
- return this.IsNull(this.tableUsers.SurnameColumn);
|
|
|
+ public bool IsLengthNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.LengthColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetSurnameNull() {
|
|
|
- this[this.tableUsers.SurnameColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetLengthNull() {
|
|
|
+ this[this.tableAllTkan.LengthColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public bool IsNameNull() {
|
|
|
- return this.IsNull(this.tableUsers.NameColumn);
|
|
|
+ public bool IsWidthNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.WidthColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetNameNull() {
|
|
|
- this[this.tableUsers.NameColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetWidthNull() {
|
|
|
+ this[this.tableAllTkan.WidthColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public bool IsOtchNull() {
|
|
|
- return this.IsNull(this.tableUsers.OtchColumn);
|
|
|
+ public bool IsCommentNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.CommentColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetOtchNull() {
|
|
|
- this[this.tableUsers.OtchColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetCommentNull() {
|
|
|
+ this[this.tableAllTkan.CommentColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public bool IsPhoneNull() {
|
|
|
- return this.IsNull(this.tableUsers.PhoneColumn);
|
|
|
+ public bool IsNamePhotoNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.NamePhotoColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public void SetPhoneNull() {
|
|
|
- this[this.tableUsers.PhoneColumn] = global::System.Convert.DBNull;
|
|
|
+ public void SetNamePhotoNull() {
|
|
|
+ this[this.tableAllTkan.NamePhotoColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public OrdersRow[] GetOrdersRowsByFK_Orders_Users1() {
|
|
|
- if ((this.Table.ChildRelations["FK_Orders_Users1"] == null)) {
|
|
|
- return new OrdersRow[0];
|
|
|
- }
|
|
|
- else {
|
|
|
- return ((OrdersRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Orders_Users1"])));
|
|
|
- }
|
|
|
+ public bool IsColorNull() {
|
|
|
+ return this.IsNull(this.tableAllTkan.ColorColumn);
|
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
- public OrdersRow[] GetOrdersRowsByFK_Orders_Users2() {
|
|
|
- if ((this.Table.ChildRelations["FK_Orders_Users2"] == null)) {
|
|
|
- return new OrdersRow[0];
|
|
|
- }
|
|
|
- else {
|
|
|
- return ((OrdersRow[])(base.GetChildRows(this.Table.ChildRelations["FK_Orders_Users2"])));
|
|
|
- }
|
|
|
+ public void SetColorNull() {
|
|
|
+ this[this.tableAllTkan.ColorColumn] = global::System.Convert.DBNull;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -4149,6 +4728,40 @@ namespace Швейная_фабрика {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ ///Row event argument class
|
|
|
+ ///</summary>
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public class AllTkanRowChangeEvent : global::System.EventArgs {
|
|
|
+
|
|
|
+ private AllTkanRow eventRow;
|
|
|
+
|
|
|
+ private global::System.Data.DataRowAction eventAction;
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRowChangeEvent(AllTkanRow row, global::System.Data.DataRowAction action) {
|
|
|
+ this.eventRow = row;
|
|
|
+ this.eventAction = action;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanRow Row {
|
|
|
+ get {
|
|
|
+ return this.eventRow;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public global::System.Data.DataRowAction Action {
|
|
|
+ get {
|
|
|
+ return this.eventAction;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
namespace Швейная_фабрика.СlothesFactoryLGDataSetTableAdapters {
|
|
@@ -7182,6 +7795,181 @@ SELECT id_User, login, pass, Role, Surname, Name, Otch, Phone FROM Users WHERE (
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ ///Represents the connection and commands used to retrieve and save data.
|
|
|
+ ///</summary>
|
|
|
+ [global::System.ComponentModel.DesignerCategoryAttribute("code")]
|
|
|
+ [global::System.ComponentModel.ToolboxItem(true)]
|
|
|
+ [global::System.ComponentModel.DataObjectAttribute(true)]
|
|
|
+ [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
|
|
|
+ ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
|
|
|
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
+ public partial class AllTkanTableAdapter : global::System.ComponentModel.Component {
|
|
|
+
|
|
|
+ private global::System.Data.SqlClient.SqlDataAdapter _adapter;
|
|
|
+
|
|
|
+ private global::System.Data.SqlClient.SqlConnection _connection;
|
|
|
+
|
|
|
+ private global::System.Data.SqlClient.SqlTransaction _transaction;
|
|
|
+
|
|
|
+ private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
|
|
|
+
|
|
|
+ private bool _clearBeforeFill;
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public AllTkanTableAdapter() {
|
|
|
+ this.ClearBeforeFill = true;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
|
|
|
+ get {
|
|
|
+ if ((this._adapter == null)) {
|
|
|
+ this.InitAdapter();
|
|
|
+ }
|
|
|
+ return this._adapter;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ internal global::System.Data.SqlClient.SqlConnection Connection {
|
|
|
+ get {
|
|
|
+ if ((this._connection == null)) {
|
|
|
+ this.InitConnection();
|
|
|
+ }
|
|
|
+ return this._connection;
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this._connection = value;
|
|
|
+ if ((this.Adapter.InsertCommand != null)) {
|
|
|
+ this.Adapter.InsertCommand.Connection = value;
|
|
|
+ }
|
|
|
+ if ((this.Adapter.DeleteCommand != null)) {
|
|
|
+ this.Adapter.DeleteCommand.Connection = value;
|
|
|
+ }
|
|
|
+ if ((this.Adapter.UpdateCommand != null)) {
|
|
|
+ this.Adapter.UpdateCommand.Connection = value;
|
|
|
+ }
|
|
|
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
|
+ if ((this.CommandCollection[i] != null)) {
|
|
|
+ ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ internal global::System.Data.SqlClient.SqlTransaction Transaction {
|
|
|
+ get {
|
|
|
+ return this._transaction;
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this._transaction = value;
|
|
|
+ for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
|
|
|
+ this.CommandCollection[i].Transaction = this._transaction;
|
|
|
+ }
|
|
|
+ if (((this.Adapter != null)
|
|
|
+ && (this.Adapter.DeleteCommand != null))) {
|
|
|
+ this.Adapter.DeleteCommand.Transaction = this._transaction;
|
|
|
+ }
|
|
|
+ if (((this.Adapter != null)
|
|
|
+ && (this.Adapter.InsertCommand != null))) {
|
|
|
+ this.Adapter.InsertCommand.Transaction = this._transaction;
|
|
|
+ }
|
|
|
+ if (((this.Adapter != null)
|
|
|
+ && (this.Adapter.UpdateCommand != null))) {
|
|
|
+ this.Adapter.UpdateCommand.Transaction = this._transaction;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
|
|
|
+ get {
|
|
|
+ if ((this._commandCollection == null)) {
|
|
|
+ this.InitCommandCollection();
|
|
|
+ }
|
|
|
+ return this._commandCollection;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ public bool ClearBeforeFill {
|
|
|
+ get {
|
|
|
+ return this._clearBeforeFill;
|
|
|
+ }
|
|
|
+ set {
|
|
|
+ this._clearBeforeFill = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ private void InitAdapter() {
|
|
|
+ this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
|
|
|
+ global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
|
|
|
+ tableMapping.SourceTable = "Table";
|
|
|
+ tableMapping.DataSetTable = "AllTkan";
|
|
|
+ tableMapping.ColumnMappings.Add("id_Tkan", "id_Tkan");
|
|
|
+ tableMapping.ColumnMappings.Add("Title", "Title");
|
|
|
+ tableMapping.ColumnMappings.Add("Length", "Length");
|
|
|
+ tableMapping.ColumnMappings.Add("Width", "Width");
|
|
|
+ tableMapping.ColumnMappings.Add("Comment", "Comment");
|
|
|
+ tableMapping.ColumnMappings.Add("NamePhoto", "NamePhoto");
|
|
|
+ tableMapping.ColumnMappings.Add("Color", "Color");
|
|
|
+ this._adapter.TableMappings.Add(tableMapping);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ private void InitConnection() {
|
|
|
+ this._connection = new global::System.Data.SqlClient.SqlConnection();
|
|
|
+ this._connection.ConnectionString = global::Швейная_фабрика.Properties.Settings.Default.СlothesFactoryLGConnectionString;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ private void InitCommandCollection() {
|
|
|
+ this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
|
|
|
+ this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
|
|
+ this._commandCollection[0].Connection = this.Connection;
|
|
|
+ this._commandCollection[0].CommandText = "SELECT Tkan.id_Tkan, Tkan.Title, Tkan.Length, Tkan.Width, Tkan.Comment, Tkan.Name" +
|
|
|
+ "Photo, Color.Title AS Color\r\nFROM Tkan INNER JOIN\r\n Color O" +
|
|
|
+ "N Tkan.id_color = Color.id_colors";
|
|
|
+ this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
|
|
|
+ public virtual int Fill(СlothesFactoryLGDataSet.AllTkanDataTable dataTable) {
|
|
|
+ this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
|
+ if ((this.ClearBeforeFill == true)) {
|
|
|
+ dataTable.Clear();
|
|
|
+ }
|
|
|
+ int returnValue = this.Adapter.Fill(dataTable);
|
|
|
+ return returnValue;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
|
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "17.0.0.0")]
|
|
|
+ [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
|
|
+ [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
|
|
|
+ public virtual СlothesFactoryLGDataSet.AllTkanDataTable GetData() {
|
|
|
+ this.Adapter.SelectCommand = this.CommandCollection[0];
|
|
|
+ СlothesFactoryLGDataSet.AllTkanDataTable dataTable = new СlothesFactoryLGDataSet.AllTkanDataTable();
|
|
|
+ this.Adapter.Fill(dataTable);
|
|
|
+ return dataTable;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/// <summary>
|
|
|
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
|
|
|
///</summary>
|