11#pragma warning disable 1591
19 [global::System.Serializable()]
20 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
21 [global::System.ComponentModel.ToolboxItem(
true)]
22 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedDataSetSchema")]
23 [global::System.Xml.Serialization.XmlRootAttribute(
"projetcnedDataSet")]
24 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.DataSet")]
37 private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
40 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
44 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
45 base.Tables.CollectionChanged += schemaChangedHandler;
46 base.Relations.CollectionChanged += schemaChangedHandler;
50 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
51 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
52 protected projetcnedDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
53 base(info, context,
false) {
54 if ((this.IsBinarySerialized(info, context) ==
true)) {
56 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
57 this.Tables.CollectionChanged += schemaChangedHandler1;
58 this.Relations.CollectionChanged += schemaChangedHandler1;
61 string strSchema = ((string)(info.GetValue(
"XmlSchema", typeof(
string))));
62 if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
63 global::System.Data.DataSet ds =
new global::System.Data.DataSet();
64 ds.ReadXmlSchema(
new global::System.Xml.XmlTextReader(
new global::System.IO.StringReader(strSchema)));
65 if ((ds.Tables[
"absence"] !=
null)) {
68 if ((ds.Tables[
"motif"] !=
null)) {
71 if ((ds.Tables[
"personnel"] !=
null)) {
74 if ((ds.Tables[
"responsable"] !=
null)) {
77 if ((ds.Tables[
"service"] !=
null)) {
80 this.DataSetName = ds.DataSetName;
81 this.Prefix = ds.Prefix;
82 this.Namespace = ds.Namespace;
83 this.Locale = ds.Locale;
84 this.CaseSensitive = ds.CaseSensitive;
85 this.EnforceConstraints = ds.EnforceConstraints;
86 this.Merge(ds,
false, global::System.Data.MissingSchemaAction.Add);
90 this.ReadXmlSchema(
new global::System.Xml.XmlTextReader(
new global::System.IO.StringReader(strSchema)));
92 this.GetSerializationData(info, context);
93 global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler =
new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged);
94 base.Tables.CollectionChanged += schemaChangedHandler;
95 this.Relations.CollectionChanged += schemaChangedHandler;
98 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
99 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
100 [global::System.ComponentModel.Browsable(
false)]
101 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
104 return this.tableabsence;
108 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
109 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
110 [global::System.ComponentModel.Browsable(
false)]
111 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
114 return this.tablemotif;
118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
119 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
120 [global::System.ComponentModel.Browsable(
false)]
121 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
124 return this.tablepersonnel;
128 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
129 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
130 [global::System.ComponentModel.Browsable(
false)]
131 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
134 return this.tableresponsable;
138 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
139 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
140 [global::System.ComponentModel.Browsable(
false)]
141 [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
144 return this.tableservice;
148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
149 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
150 [global::System.ComponentModel.BrowsableAttribute(
true)]
151 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)]
152 public override global::System.Data.SchemaSerializationMode SchemaSerializationMode {
154 return this._schemaSerializationMode;
157 this._schemaSerializationMode = value;
161 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
162 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
163 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
164 public new global::System.Data.DataTableCollection Tables {
170 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
171 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
172 [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)]
173 public new global::System.Data.DataRelationCollection Relations {
175 return base.Relations;
179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
180 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
181 protected override void InitializeDerivedDataSet() {
187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
188 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
189 public override global::System.Data.DataSet Clone() {
192 cln.SchemaSerializationMode = this.SchemaSerializationMode;
196 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
197 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
198 protected override bool ShouldSerializeTables() {
202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
203 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
204 protected override bool ShouldSerializeRelations() {
208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
209 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
210 protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) {
211 if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) {
213 global::System.Data.DataSet ds =
new global::System.Data.DataSet();
215 if ((ds.Tables[
"absence"] !=
null)) {
218 if ((ds.Tables[
"motif"] !=
null)) {
221 if ((ds.Tables[
"personnel"] !=
null)) {
224 if ((ds.Tables[
"responsable"] !=
null)) {
227 if ((ds.Tables[
"service"] !=
null)) {
230 this.DataSetName = ds.DataSetName;
231 this.Prefix = ds.Prefix;
232 this.Namespace = ds.Namespace;
233 this.Locale = ds.Locale;
234 this.CaseSensitive = ds.CaseSensitive;
235 this.EnforceConstraints = ds.EnforceConstraints;
236 this.Merge(ds,
false, global::System.Data.MissingSchemaAction.Add);
240 this.ReadXml(reader);
245 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
246 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
247 protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() {
248 global::System.IO.MemoryStream stream =
new global::System.IO.MemoryStream();
249 this.WriteXmlSchema(
new global::System.Xml.XmlTextWriter(stream,
null));
251 return global::System.Xml.Schema.XmlSchema.Read(
new global::System.Xml.XmlTextReader(stream),
null);
254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
255 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
256 internal void InitVars() {
260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
261 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
262 internal void InitVars(
bool initTable) {
264 if ((initTable ==
true)) {
265 if ((this.tableabsence !=
null)) {
266 this.tableabsence.InitVars();
270 if ((initTable ==
true)) {
271 if ((this.tablemotif !=
null)) {
272 this.tablemotif.InitVars();
276 if ((initTable ==
true)) {
277 if ((this.tablepersonnel !=
null)) {
278 this.tablepersonnel.InitVars();
282 if ((initTable ==
true)) {
283 if ((this.tableresponsable !=
null)) {
284 this.tableresponsable.InitVars();
288 if ((initTable ==
true)) {
289 if ((this.tableservice !=
null)) {
290 this.tableservice.InitVars();
295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
296 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
297 private void InitClass() {
298 this.DataSetName =
"projetcnedDataSet";
300 this.Namespace =
"http://tempuri.org/projetcnedDataSet.xsd";
301 this.EnforceConstraints =
true;
302 this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
304 base.Tables.Add(this.tableabsence);
306 base.Tables.Add(this.tablemotif);
308 base.Tables.Add(this.tablepersonnel);
310 base.Tables.Add(this.tableresponsable);
312 base.Tables.Add(this.tableservice);
315 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
316 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
317 private bool ShouldSerializeabsence() {
321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
322 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
323 private bool ShouldSerializemotif() {
327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
328 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
329 private bool ShouldSerializepersonnel() {
333 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
334 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
335 private bool ShouldSerializeresponsable() {
339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
340 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
341 private bool ShouldSerializeservice() {
345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
346 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
347 private void SchemaChanged(
object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
348 if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) {
353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
354 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
355 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
357 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
358 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
359 global::System.Xml.Schema.XmlSchemaAny any =
new global::System.Xml.Schema.XmlSchemaAny();
360 any.Namespace = ds.Namespace;
361 sequence.Items.Add(any);
362 type.Particle = sequence;
363 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
364 if (xs.Contains(dsSchema.TargetNamespace)) {
365 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
366 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
368 global::System.Xml.Schema.XmlSchema schema =
null;
370 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
371 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
374 if ((s1.Length == s2.Length)) {
377 for (; ((s1.Position != s1.Length)
378 && (s1.ReadByte() == s2.ReadByte())); ) {
381 if ((s1.Position == s1.Length)) {
400 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
403 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
406 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
409 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
412 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
418 [global::System.Serializable()]
419 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedTableSchema")]
422 private global::System.Data.DataColumn columnIDPERSONNEL;
424 private global::System.Data.DataColumn columnDATEDEBUT;
426 private global::System.Data.DataColumn columnIDMOTIF;
428 private global::System.Data.DataColumn columnDATEFIN;
430 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
431 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
433 this.TableName =
"absence";
439 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
440 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
442 this.TableName = table.TableName;
443 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
444 this.CaseSensitive = table.CaseSensitive;
446 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
447 this.Locale = table.Locale;
449 if ((table.Namespace != table.DataSet.Namespace)) {
450 this.Namespace = table.Namespace;
452 this.Prefix = table.Prefix;
453 this.MinimumCapacity = table.MinimumCapacity;
456 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
457 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
458 protected absenceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
459 base(info, context) {
463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
464 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
465 public global::System.Data.DataColumn IDPERSONNELColumn {
467 return this.columnIDPERSONNEL;
471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
472 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
473 public global::System.Data.DataColumn DATEDEBUTColumn {
475 return this.columnDATEDEBUT;
479 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
480 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
481 public global::System.Data.DataColumn IDMOTIFColumn {
483 return this.columnIDMOTIF;
487 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
488 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
489 public global::System.Data.DataColumn DATEFINColumn {
491 return this.columnDATEFIN;
495 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
496 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
497 [global::System.ComponentModel.Browsable(
false)]
500 return this.Rows.Count;
504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
505 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
512 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
513 public event absenceRowChangeEventHandler absenceRowChanging;
515 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
516 public event absenceRowChangeEventHandler absenceRowChanged;
518 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
519 public event absenceRowChangeEventHandler absenceRowDeleting;
521 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
522 public event absenceRowChangeEventHandler absenceRowDeleted;
524 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
525 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
531 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
532 public absenceRow AddabsenceRow(
int IDPERSONNEL, System.DateTime DATEDEBUT,
int IDMOTIF, System.DateTime DATEFIN) {
534 object[] columnValuesArray =
new object[] {
539 rowabsenceRow.ItemArray = columnValuesArray;
540 this.Rows.Add(rowabsenceRow);
541 return rowabsenceRow;
544 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
545 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
546 public absenceRow FindByIDPERSONNELDATEDEBUT(
int IDPERSONNEL, System.DateTime DATEDEBUT) {
547 return ((
absenceRow)(this.Rows.Find(
new object[] {
552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
553 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
554 public override global::System.Data.DataTable Clone() {
560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
561 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
562 protected override global::System.Data.DataTable CreateInstance() {
566 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
567 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
568 internal void InitVars() {
569 this.columnIDPERSONNEL = base.Columns[
"IDPERSONNEL"];
570 this.columnDATEDEBUT = base.Columns[
"DATEDEBUT"];
571 this.columnIDMOTIF = base.Columns[
"IDMOTIF"];
572 this.columnDATEFIN = base.Columns[
"DATEFIN"];
575 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
576 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
577 private void InitClass() {
578 this.columnIDPERSONNEL =
new global::System.Data.DataColumn(
"IDPERSONNEL", typeof(
int),
null, global::System.Data.MappingType.Element);
579 base.Columns.Add(this.columnIDPERSONNEL);
580 this.columnDATEDEBUT =
new global::System.Data.DataColumn(
"DATEDEBUT", typeof(global::System.DateTime),
null, global::System.Data.MappingType.Element);
581 base.Columns.Add(this.columnDATEDEBUT);
582 this.columnIDMOTIF =
new global::System.Data.DataColumn(
"IDMOTIF", typeof(
int),
null, global::System.Data.MappingType.Element);
583 base.Columns.Add(this.columnIDMOTIF);
584 this.columnDATEFIN =
new global::System.Data.DataColumn(
"DATEFIN", typeof(global::System.DateTime),
null, global::System.Data.MappingType.Element);
585 base.Columns.Add(this.columnDATEFIN);
586 this.Constraints.Add(
new global::System.Data.UniqueConstraint(
"Constraint1",
new global::System.Data.DataColumn[] {
587 this.columnIDPERSONNEL,
588 this.columnDATEDEBUT},
true));
589 this.columnIDPERSONNEL.AllowDBNull =
false;
590 this.columnDATEDEBUT.AllowDBNull =
false;
591 this.columnIDMOTIF.AllowDBNull =
false;
594 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
595 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
601 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
602 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
607 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
608 protected override global::System.Type GetRowType() {
612 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
613 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
614 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
615 base.OnRowChanged(e);
616 if ((this.absenceRowChanged !=
null)) {
621 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
622 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
623 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
624 base.OnRowChanging(e);
625 if ((this.absenceRowChanging !=
null)) {
630 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
631 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
632 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
633 base.OnRowDeleted(e);
634 if ((this.absenceRowDeleted !=
null)) {
639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
640 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
641 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
642 base.OnRowDeleting(e);
643 if ((this.absenceRowDeleting !=
null)) {
648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
649 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
650 public void RemoveabsenceRow(
absenceRow row) {
651 this.Rows.Remove(row);
654 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
655 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
656 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
657 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
658 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
660 global::System.Xml.Schema.XmlSchemaAny any1 =
new global::System.Xml.Schema.XmlSchemaAny();
661 any1.Namespace =
"http://www.w3.org/2001/XMLSchema";
662 any1.MinOccurs =
new decimal(0);
663 any1.MaxOccurs = decimal.MaxValue;
664 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
665 sequence.Items.Add(any1);
666 global::System.Xml.Schema.XmlSchemaAny any2 =
new global::System.Xml.Schema.XmlSchemaAny();
667 any2.Namespace =
"urn:schemas-microsoft-com:xml-diffgram-v1";
668 any2.MinOccurs =
new decimal(1);
669 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
670 sequence.Items.Add(any2);
671 global::System.Xml.Schema.XmlSchemaAttribute attribute1 =
new global::System.Xml.Schema.XmlSchemaAttribute();
672 attribute1.Name =
"namespace";
673 attribute1.FixedValue = ds.Namespace;
674 type.Attributes.Add(attribute1);
675 global::System.Xml.Schema.XmlSchemaAttribute attribute2 =
new global::System.Xml.Schema.XmlSchemaAttribute();
676 attribute2.Name =
"tableTypeName";
677 attribute2.FixedValue =
"absenceDataTable";
678 type.Attributes.Add(attribute2);
679 type.Particle = sequence;
680 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
681 if (xs.Contains(dsSchema.TargetNamespace)) {
682 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
683 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
685 global::System.Xml.Schema.XmlSchema schema =
null;
687 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
688 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
691 if ((s1.Length == s2.Length)) {
694 for (; ((s1.Position != s1.Length)
695 && (s1.ReadByte() == s2.ReadByte())); ) {
698 if ((s1.Position == s1.Length)) {
721 [global::System.Serializable()]
722 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedTableSchema")]
723 public partial class motifDataTable : global::System.Data.TypedTableBase<motifRow> {
725 private global::System.Data.DataColumn columnIDMOTIF;
727 private global::System.Data.DataColumn columnLIBELLE;
729 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
730 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
732 this.TableName =
"motif";
738 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
739 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
741 this.TableName = table.TableName;
742 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
743 this.CaseSensitive = table.CaseSensitive;
745 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
746 this.Locale = table.Locale;
748 if ((table.Namespace != table.DataSet.Namespace)) {
749 this.Namespace = table.Namespace;
751 this.Prefix = table.Prefix;
752 this.MinimumCapacity = table.MinimumCapacity;
755 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
756 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
757 protected motifDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
758 base(info, context) {
762 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
763 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
764 public global::System.Data.DataColumn IDMOTIFColumn {
766 return this.columnIDMOTIF;
770 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
771 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
772 public global::System.Data.DataColumn LIBELLEColumn {
774 return this.columnLIBELLE;
778 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
779 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
780 [global::System.ComponentModel.Browsable(
false)]
783 return this.Rows.Count;
787 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
788 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
791 return ((
motifRow)(this.Rows[index]));
795 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
796 public event motifRowChangeEventHandler motifRowChanging;
798 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
799 public event motifRowChangeEventHandler motifRowChanged;
801 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
802 public event motifRowChangeEventHandler motifRowDeleting;
804 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
805 public event motifRowChangeEventHandler motifRowDeleted;
807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
808 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
809 public void AddmotifRow(
motifRow row) {
813 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
814 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
815 public motifRow AddmotifRow(
string LIBELLE) {
817 object[] columnValuesArray =
new object[] {
820 rowmotifRow.ItemArray = columnValuesArray;
821 this.Rows.Add(rowmotifRow);
825 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
826 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
827 public motifRow FindByIDMOTIF(
int IDMOTIF) {
828 return ((
motifRow)(this.Rows.Find(
new object[] {
832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
833 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
834 public override global::System.Data.DataTable Clone() {
840 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
841 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
842 protected override global::System.Data.DataTable CreateInstance() {
846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
847 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
848 internal void InitVars() {
849 this.columnIDMOTIF = base.Columns[
"IDMOTIF"];
850 this.columnLIBELLE = base.Columns[
"LIBELLE"];
853 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
854 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
855 private void InitClass() {
856 this.columnIDMOTIF =
new global::System.Data.DataColumn(
"IDMOTIF", typeof(
int),
null, global::System.Data.MappingType.Element);
857 base.Columns.Add(this.columnIDMOTIF);
858 this.columnLIBELLE =
new global::System.Data.DataColumn(
"LIBELLE", typeof(
string),
null, global::System.Data.MappingType.Element);
859 base.Columns.Add(this.columnLIBELLE);
860 this.Constraints.Add(
new global::System.Data.UniqueConstraint(
"Constraint1",
new global::System.Data.DataColumn[] {
861 this.columnIDMOTIF},
true));
862 this.columnIDMOTIF.AutoIncrement =
true;
863 this.columnIDMOTIF.AutoIncrementSeed = -1;
864 this.columnIDMOTIF.AutoIncrementStep = -1;
865 this.columnIDMOTIF.AllowDBNull =
false;
866 this.columnIDMOTIF.Unique =
true;
867 this.columnLIBELLE.MaxLength = 128;
870 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
871 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
877 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
878 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
882 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
883 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
884 protected override global::System.Type GetRowType() {
888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
889 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
890 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
891 base.OnRowChanged(e);
892 if ((this.motifRowChanged !=
null)) {
897 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
898 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
899 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
900 base.OnRowChanging(e);
901 if ((this.motifRowChanging !=
null)) {
906 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
907 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
908 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
909 base.OnRowDeleted(e);
910 if ((this.motifRowDeleted !=
null)) {
915 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
916 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
917 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
918 base.OnRowDeleting(e);
919 if ((this.motifRowDeleting !=
null)) {
924 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
925 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
926 public void RemovemotifRow(
motifRow row) {
927 this.Rows.Remove(row);
930 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
931 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
932 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
933 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
934 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
936 global::System.Xml.Schema.XmlSchemaAny any1 =
new global::System.Xml.Schema.XmlSchemaAny();
937 any1.Namespace =
"http://www.w3.org/2001/XMLSchema";
938 any1.MinOccurs =
new decimal(0);
939 any1.MaxOccurs = decimal.MaxValue;
940 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
941 sequence.Items.Add(any1);
942 global::System.Xml.Schema.XmlSchemaAny any2 =
new global::System.Xml.Schema.XmlSchemaAny();
943 any2.Namespace =
"urn:schemas-microsoft-com:xml-diffgram-v1";
944 any2.MinOccurs =
new decimal(1);
945 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
946 sequence.Items.Add(any2);
947 global::System.Xml.Schema.XmlSchemaAttribute attribute1 =
new global::System.Xml.Schema.XmlSchemaAttribute();
948 attribute1.Name =
"namespace";
949 attribute1.FixedValue = ds.Namespace;
950 type.Attributes.Add(attribute1);
951 global::System.Xml.Schema.XmlSchemaAttribute attribute2 =
new global::System.Xml.Schema.XmlSchemaAttribute();
952 attribute2.Name =
"tableTypeName";
953 attribute2.FixedValue =
"motifDataTable";
954 type.Attributes.Add(attribute2);
955 type.Particle = sequence;
956 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
957 if (xs.Contains(dsSchema.TargetNamespace)) {
958 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
959 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
961 global::System.Xml.Schema.XmlSchema schema =
null;
963 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
964 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
967 if ((s1.Length == s2.Length)) {
970 for (; ((s1.Position != s1.Length)
971 && (s1.ReadByte() == s2.ReadByte())); ) {
974 if ((s1.Position == s1.Length)) {
997 [global::System.Serializable()]
998 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedTableSchema")]
1001 private global::System.Data.DataColumn columnIDPERSONNEL;
1003 private global::System.Data.DataColumn columnIDSERVICE;
1005 private global::System.Data.DataColumn columnNOM;
1007 private global::System.Data.DataColumn columnPRENOM;
1009 private global::System.Data.DataColumn columnTEL;
1011 private global::System.Data.DataColumn columnMAIL;
1013 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1014 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1016 this.TableName =
"personnel";
1022 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1023 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1025 this.TableName = table.TableName;
1026 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
1027 this.CaseSensitive = table.CaseSensitive;
1029 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
1030 this.Locale = table.Locale;
1032 if ((table.Namespace != table.DataSet.Namespace)) {
1033 this.Namespace = table.Namespace;
1035 this.Prefix = table.Prefix;
1036 this.MinimumCapacity = table.MinimumCapacity;
1039 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1040 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1041 protected personnelDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
1042 base(info, context) {
1046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1047 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1048 public global::System.Data.DataColumn IDPERSONNELColumn {
1050 return this.columnIDPERSONNEL;
1054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1055 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1056 public global::System.Data.DataColumn IDSERVICEColumn {
1058 return this.columnIDSERVICE;
1062 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1063 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1064 public global::System.Data.DataColumn NOMColumn {
1066 return this.columnNOM;
1070 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1071 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1072 public global::System.Data.DataColumn PRENOMColumn {
1074 return this.columnPRENOM;
1078 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1079 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1080 public global::System.Data.DataColumn TELColumn {
1082 return this.columnTEL;
1086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1087 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1088 public global::System.Data.DataColumn MAILColumn {
1090 return this.columnMAIL;
1094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1095 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1096 [global::System.ComponentModel.Browsable(
false)]
1099 return this.Rows.Count;
1103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1104 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1111 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1112 public event personnelRowChangeEventHandler personnelRowChanging;
1114 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1115 public event personnelRowChangeEventHandler personnelRowChanged;
1117 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1118 public event personnelRowChangeEventHandler personnelRowDeleting;
1120 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1121 public event personnelRowChangeEventHandler personnelRowDeleted;
1123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1124 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1129 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1130 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1131 public personnelRow AddpersonnelRow(
int IDSERVICE,
string NOM,
string PRENOM,
string TEL,
string MAIL) {
1133 object[] columnValuesArray =
new object[] {
1140 rowpersonnelRow.ItemArray = columnValuesArray;
1141 this.Rows.Add(rowpersonnelRow);
1142 return rowpersonnelRow;
1145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1146 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1147 public personnelRow FindByIDPERSONNEL(
int IDPERSONNEL) {
1152 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1153 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1154 public override global::System.Data.DataTable Clone() {
1160 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1161 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1162 protected override global::System.Data.DataTable CreateInstance() {
1166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1167 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1168 internal void InitVars() {
1169 this.columnIDPERSONNEL = base.Columns[
"IDPERSONNEL"];
1170 this.columnIDSERVICE = base.Columns[
"IDSERVICE"];
1171 this.columnNOM = base.Columns[
"NOM"];
1172 this.columnPRENOM = base.Columns[
"PRENOM"];
1173 this.columnTEL = base.Columns[
"TEL"];
1174 this.columnMAIL = base.Columns[
"MAIL"];
1177 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1178 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1179 private void InitClass() {
1180 this.columnIDPERSONNEL =
new global::System.Data.DataColumn(
"IDPERSONNEL", typeof(
int),
null, global::System.Data.MappingType.Element);
1181 base.Columns.Add(this.columnIDPERSONNEL);
1182 this.columnIDSERVICE =
new global::System.Data.DataColumn(
"IDSERVICE", typeof(
int),
null, global::System.Data.MappingType.Element);
1183 base.Columns.Add(this.columnIDSERVICE);
1184 this.columnNOM =
new global::System.Data.DataColumn(
"NOM", typeof(
string),
null, global::System.Data.MappingType.Element);
1185 base.Columns.Add(this.columnNOM);
1186 this.columnPRENOM =
new global::System.Data.DataColumn(
"PRENOM", typeof(
string),
null, global::System.Data.MappingType.Element);
1187 base.Columns.Add(this.columnPRENOM);
1188 this.columnTEL =
new global::System.Data.DataColumn(
"TEL", typeof(
string),
null, global::System.Data.MappingType.Element);
1189 base.Columns.Add(this.columnTEL);
1190 this.columnMAIL =
new global::System.Data.DataColumn(
"MAIL", typeof(
string),
null, global::System.Data.MappingType.Element);
1191 base.Columns.Add(this.columnMAIL);
1192 this.Constraints.Add(
new global::System.Data.UniqueConstraint(
"Constraint1",
new global::System.Data.DataColumn[] {
1193 this.columnIDPERSONNEL},
true));
1194 this.columnIDPERSONNEL.AutoIncrement =
true;
1195 this.columnIDPERSONNEL.AutoIncrementSeed = -1;
1196 this.columnIDPERSONNEL.AutoIncrementStep = -1;
1197 this.columnIDPERSONNEL.AllowDBNull =
false;
1198 this.columnIDPERSONNEL.Unique =
true;
1199 this.columnIDSERVICE.AllowDBNull =
false;
1200 this.columnNOM.MaxLength = 50;
1201 this.columnPRENOM.MaxLength = 50;
1202 this.columnTEL.MaxLength = 15;
1203 this.columnMAIL.MaxLength = 128;
1206 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1207 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1213 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1214 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
1218 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1219 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1220 protected override global::System.Type GetRowType() {
1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1225 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1226 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
1227 base.OnRowChanged(e);
1228 if ((this.personnelRowChanged !=
null)) {
1233 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1234 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1235 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
1236 base.OnRowChanging(e);
1237 if ((this.personnelRowChanging !=
null)) {
1242 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1243 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1244 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
1245 base.OnRowDeleted(e);
1246 if ((this.personnelRowDeleted !=
null)) {
1251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1252 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1253 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
1254 base.OnRowDeleting(e);
1255 if ((this.personnelRowDeleting !=
null)) {
1260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1261 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1263 this.Rows.Remove(row);
1266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1267 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1268 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
1269 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
1270 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
1272 global::System.Xml.Schema.XmlSchemaAny any1 =
new global::System.Xml.Schema.XmlSchemaAny();
1273 any1.Namespace =
"http://www.w3.org/2001/XMLSchema";
1274 any1.MinOccurs =
new decimal(0);
1275 any1.MaxOccurs = decimal.MaxValue;
1276 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1277 sequence.Items.Add(any1);
1278 global::System.Xml.Schema.XmlSchemaAny any2 =
new global::System.Xml.Schema.XmlSchemaAny();
1279 any2.Namespace =
"urn:schemas-microsoft-com:xml-diffgram-v1";
1280 any2.MinOccurs =
new decimal(1);
1281 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1282 sequence.Items.Add(any2);
1283 global::System.Xml.Schema.XmlSchemaAttribute attribute1 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1284 attribute1.Name =
"namespace";
1285 attribute1.FixedValue = ds.Namespace;
1286 type.Attributes.Add(attribute1);
1287 global::System.Xml.Schema.XmlSchemaAttribute attribute2 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1288 attribute2.Name =
"tableTypeName";
1289 attribute2.FixedValue =
"personnelDataTable";
1290 type.Attributes.Add(attribute2);
1291 type.Particle = sequence;
1292 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
1293 if (xs.Contains(dsSchema.TargetNamespace)) {
1294 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
1295 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
1297 global::System.Xml.Schema.XmlSchema schema =
null;
1299 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
1300 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
1303 if ((s1.Length == s2.Length)) {
1306 for (; ((s1.Position != s1.Length)
1307 && (s1.ReadByte() == s2.ReadByte())); ) {
1310 if ((s1.Position == s1.Length)) {
1333 [global::System.Serializable()]
1334 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedTableSchema")]
1337 private global::System.Data.DataColumn columnlogin;
1339 private global::System.Data.DataColumn columnpwd;
1341 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1342 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1344 this.TableName =
"responsable";
1350 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1351 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1353 this.TableName = table.TableName;
1354 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
1355 this.CaseSensitive = table.CaseSensitive;
1357 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
1358 this.Locale = table.Locale;
1360 if ((table.Namespace != table.DataSet.Namespace)) {
1361 this.Namespace = table.Namespace;
1363 this.Prefix = table.Prefix;
1364 this.MinimumCapacity = table.MinimumCapacity;
1367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1368 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1369 protected responsableDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
1370 base(info, context) {
1374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1375 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1376 public global::System.Data.DataColumn loginColumn {
1378 return this.columnlogin;
1382 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1383 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1384 public global::System.Data.DataColumn pwdColumn {
1386 return this.columnpwd;
1390 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1391 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1392 [global::System.ComponentModel.Browsable(
false)]
1395 return this.Rows.Count;
1399 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1400 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1407 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1408 public event responsableRowChangeEventHandler responsableRowChanging;
1410 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1411 public event responsableRowChangeEventHandler responsableRowChanged;
1413 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1414 public event responsableRowChangeEventHandler responsableRowDeleting;
1416 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1417 public event responsableRowChangeEventHandler responsableRowDeleted;
1419 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1420 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1425 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1426 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1427 public responsableRow AddresponsableRow(
string login,
string pwd) {
1429 object[] columnValuesArray =
new object[] {
1432 rowresponsableRow.ItemArray = columnValuesArray;
1433 this.Rows.Add(rowresponsableRow);
1434 return rowresponsableRow;
1437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1438 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1439 public override global::System.Data.DataTable Clone() {
1445 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1446 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1447 protected override global::System.Data.DataTable CreateInstance() {
1451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1452 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1453 internal void InitVars() {
1454 this.columnlogin = base.Columns[
"login"];
1455 this.columnpwd = base.Columns[
"pwd"];
1458 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1459 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1460 private void InitClass() {
1461 this.columnlogin =
new global::System.Data.DataColumn(
"login", typeof(
string),
null, global::System.Data.MappingType.Element);
1462 base.Columns.Add(this.columnlogin);
1463 this.columnpwd =
new global::System.Data.DataColumn(
"pwd", typeof(
string),
null, global::System.Data.MappingType.Element);
1464 base.Columns.Add(this.columnpwd);
1465 this.columnlogin.AllowDBNull =
false;
1466 this.columnlogin.MaxLength = 256;
1467 this.columnpwd.AllowDBNull =
false;
1468 this.columnpwd.MaxLength = 256;
1471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1472 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1478 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1479 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
1483 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1484 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1485 protected override global::System.Type GetRowType() {
1489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1490 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1491 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
1492 base.OnRowChanged(e);
1493 if ((this.responsableRowChanged !=
null)) {
1498 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1499 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1500 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
1501 base.OnRowChanging(e);
1502 if ((this.responsableRowChanging !=
null)) {
1507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1508 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1509 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
1510 base.OnRowDeleted(e);
1511 if ((this.responsableRowDeleted !=
null)) {
1516 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1517 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1518 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
1519 base.OnRowDeleting(e);
1520 if ((this.responsableRowDeleting !=
null)) {
1525 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1526 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1528 this.Rows.Remove(row);
1531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1532 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1533 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
1534 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
1535 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
1537 global::System.Xml.Schema.XmlSchemaAny any1 =
new global::System.Xml.Schema.XmlSchemaAny();
1538 any1.Namespace =
"http://www.w3.org/2001/XMLSchema";
1539 any1.MinOccurs =
new decimal(0);
1540 any1.MaxOccurs = decimal.MaxValue;
1541 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1542 sequence.Items.Add(any1);
1543 global::System.Xml.Schema.XmlSchemaAny any2 =
new global::System.Xml.Schema.XmlSchemaAny();
1544 any2.Namespace =
"urn:schemas-microsoft-com:xml-diffgram-v1";
1545 any2.MinOccurs =
new decimal(1);
1546 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1547 sequence.Items.Add(any2);
1548 global::System.Xml.Schema.XmlSchemaAttribute attribute1 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1549 attribute1.Name =
"namespace";
1550 attribute1.FixedValue = ds.Namespace;
1551 type.Attributes.Add(attribute1);
1552 global::System.Xml.Schema.XmlSchemaAttribute attribute2 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1553 attribute2.Name =
"tableTypeName";
1554 attribute2.FixedValue =
"responsableDataTable";
1555 type.Attributes.Add(attribute2);
1556 type.Particle = sequence;
1557 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
1558 if (xs.Contains(dsSchema.TargetNamespace)) {
1559 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
1560 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
1562 global::System.Xml.Schema.XmlSchema schema =
null;
1564 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
1565 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
1568 if ((s1.Length == s2.Length)) {
1571 for (; ((s1.Position != s1.Length)
1572 && (s1.ReadByte() == s2.ReadByte())); ) {
1575 if ((s1.Position == s1.Length)) {
1598 [global::System.Serializable()]
1599 [global::System.Xml.Serialization.XmlSchemaProviderAttribute(
"GetTypedTableSchema")]
1602 private global::System.Data.DataColumn columnIDSERVICE;
1604 private global::System.Data.DataColumn columnNOM;
1606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1607 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1609 this.TableName =
"service";
1615 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1616 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1618 this.TableName = table.TableName;
1619 if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
1620 this.CaseSensitive = table.CaseSensitive;
1622 if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
1623 this.Locale = table.Locale;
1625 if ((table.Namespace != table.DataSet.Namespace)) {
1626 this.Namespace = table.Namespace;
1628 this.Prefix = table.Prefix;
1629 this.MinimumCapacity = table.MinimumCapacity;
1632 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1633 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1634 protected serviceDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
1635 base(info, context) {
1639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1640 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1641 public global::System.Data.DataColumn IDSERVICEColumn {
1643 return this.columnIDSERVICE;
1647 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1648 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1649 public global::System.Data.DataColumn NOMColumn {
1651 return this.columnNOM;
1655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1656 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1657 [global::System.ComponentModel.Browsable(
false)]
1660 return this.Rows.Count;
1664 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1665 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1672 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1673 public event serviceRowChangeEventHandler serviceRowChanging;
1675 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1676 public event serviceRowChangeEventHandler serviceRowChanged;
1678 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1679 public event serviceRowChangeEventHandler serviceRowDeleting;
1681 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1682 public event serviceRowChangeEventHandler serviceRowDeleted;
1684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1685 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1691 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1692 public serviceRow AddserviceRow(
string NOM) {
1694 object[] columnValuesArray =
new object[] {
1697 rowserviceRow.ItemArray = columnValuesArray;
1698 this.Rows.Add(rowserviceRow);
1699 return rowserviceRow;
1702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1703 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1704 public serviceRow FindByIDSERVICE(
int IDSERVICE) {
1705 return ((
serviceRow)(this.Rows.Find(
new object[] {
1709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1710 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1711 public override global::System.Data.DataTable Clone() {
1717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1718 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1719 protected override global::System.Data.DataTable CreateInstance() {
1723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1724 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1725 internal void InitVars() {
1726 this.columnIDSERVICE = base.Columns[
"IDSERVICE"];
1727 this.columnNOM = base.Columns[
"NOM"];
1730 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1731 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1732 private void InitClass() {
1733 this.columnIDSERVICE =
new global::System.Data.DataColumn(
"IDSERVICE", typeof(
int),
null, global::System.Data.MappingType.Element);
1734 base.Columns.Add(this.columnIDSERVICE);
1735 this.columnNOM =
new global::System.Data.DataColumn(
"NOM", typeof(
string),
null, global::System.Data.MappingType.Element);
1736 base.Columns.Add(this.columnNOM);
1737 this.Constraints.Add(
new global::System.Data.UniqueConstraint(
"Constraint1",
new global::System.Data.DataColumn[] {
1738 this.columnIDSERVICE},
true));
1739 this.columnIDSERVICE.AutoIncrement =
true;
1740 this.columnIDSERVICE.AutoIncrementSeed = -1;
1741 this.columnIDSERVICE.AutoIncrementStep = -1;
1742 this.columnIDSERVICE.AllowDBNull =
false;
1743 this.columnIDSERVICE.Unique =
true;
1744 this.columnNOM.MaxLength = 50;
1747 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1748 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1754 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1755 protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
1759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1760 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1761 protected override global::System.Type GetRowType() {
1765 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1766 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1767 protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
1768 base.OnRowChanged(e);
1769 if ((this.serviceRowChanged !=
null)) {
1774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1775 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1776 protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
1777 base.OnRowChanging(e);
1778 if ((this.serviceRowChanging !=
null)) {
1783 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1784 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1785 protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
1786 base.OnRowDeleted(e);
1787 if ((this.serviceRowDeleted !=
null)) {
1792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1793 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1794 protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
1795 base.OnRowDeleting(e);
1796 if ((this.serviceRowDeleting !=
null)) {
1801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1802 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1803 public void RemoveserviceRow(
serviceRow row) {
1804 this.Rows.Remove(row);
1807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1808 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1809 public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
1810 global::System.Xml.Schema.XmlSchemaComplexType type =
new global::System.Xml.Schema.XmlSchemaComplexType();
1811 global::System.Xml.Schema.XmlSchemaSequence sequence =
new global::System.Xml.Schema.XmlSchemaSequence();
1813 global::System.Xml.Schema.XmlSchemaAny any1 =
new global::System.Xml.Schema.XmlSchemaAny();
1814 any1.Namespace =
"http://www.w3.org/2001/XMLSchema";
1815 any1.MinOccurs =
new decimal(0);
1816 any1.MaxOccurs = decimal.MaxValue;
1817 any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1818 sequence.Items.Add(any1);
1819 global::System.Xml.Schema.XmlSchemaAny any2 =
new global::System.Xml.Schema.XmlSchemaAny();
1820 any2.Namespace =
"urn:schemas-microsoft-com:xml-diffgram-v1";
1821 any2.MinOccurs =
new decimal(1);
1822 any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
1823 sequence.Items.Add(any2);
1824 global::System.Xml.Schema.XmlSchemaAttribute attribute1 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1825 attribute1.Name =
"namespace";
1826 attribute1.FixedValue = ds.Namespace;
1827 type.Attributes.Add(attribute1);
1828 global::System.Xml.Schema.XmlSchemaAttribute attribute2 =
new global::System.Xml.Schema.XmlSchemaAttribute();
1829 attribute2.Name =
"tableTypeName";
1830 attribute2.FixedValue =
"serviceDataTable";
1831 type.Attributes.Add(attribute2);
1832 type.Particle = sequence;
1833 global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
1834 if (xs.Contains(dsSchema.TargetNamespace)) {
1835 global::System.IO.MemoryStream s1 =
new global::System.IO.MemoryStream();
1836 global::System.IO.MemoryStream s2 =
new global::System.IO.MemoryStream();
1838 global::System.Xml.Schema.XmlSchema schema =
null;
1840 for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
1841 schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
1844 if ((s1.Length == s2.Length)) {
1847 for (; ((s1.Position != s1.Length)
1848 && (s1.ReadByte() == s2.ReadByte())); ) {
1851 if ((s1.Position == s1.Length)) {
1878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1879 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1880 internal absenceRow(global::System.Data.DataRowBuilder rb) :
1885 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1886 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1887 public int IDPERSONNEL {
1889 return ((
int)(
this[this.tableabsence.IDPERSONNELColumn]));
1892 this[this.tableabsence.IDPERSONNELColumn] = value;
1896 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1897 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1898 public System.DateTime DATEDEBUT {
1900 return ((global::System.DateTime)(
this[this.tableabsence.DATEDEBUTColumn]));
1903 this[this.tableabsence.DATEDEBUTColumn] = value;
1907 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1908 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1909 public int IDMOTIF {
1911 return ((
int)(
this[this.tableabsence.IDMOTIFColumn]));
1914 this[this.tableabsence.IDMOTIFColumn] = value;
1918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1919 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1920 public System.DateTime DATEFIN {
1923 return ((global::System.DateTime)(
this[this.tableabsence.DATEFINColumn]));
1925 catch (global::System.InvalidCastException e) {
1926 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'DATEFIN\' dans la table \'absence\' est DBNull.", e);
1930 this[this.tableabsence.DATEFINColumn] = value;
1934 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1935 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1936 public bool IsDATEFINNull() {
1937 return this.IsNull(this.tableabsence.DATEFINColumn);
1940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1941 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1942 public void SetDATEFINNull() {
1943 this[this.tableabsence.DATEFINColumn] = global::System.Convert.DBNull;
1950 public partial class motifRow : global::System.Data.DataRow {
1954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1955 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1956 internal motifRow(global::System.Data.DataRowBuilder rb) :
1961 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1962 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1963 public int IDMOTIF {
1965 return ((
int)(
this[this.tablemotif.IDMOTIFColumn]));
1968 this[this.tablemotif.IDMOTIFColumn] = value;
1972 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1973 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1974 public string LIBELLE {
1977 return ((
string)(
this[this.tablemotif.LIBELLEColumn]));
1979 catch (global::System.InvalidCastException e) {
1980 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'LIBELLE\' dans la table \'motif\' est DBNull.", e);
1984 this[this.tablemotif.LIBELLEColumn] = value;
1988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1989 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1990 public bool IsLIBELLENull() {
1991 return this.IsNull(this.tablemotif.LIBELLEColumn);
1994 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1995 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
1996 public void SetLIBELLENull() {
1997 this[this.tablemotif.LIBELLEColumn] = global::System.Convert.DBNull;
2008 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2009 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2010 internal personnelRow(global::System.Data.DataRowBuilder rb) :
2015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2016 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2017 public int IDPERSONNEL {
2019 return ((
int)(
this[this.tablepersonnel.IDPERSONNELColumn]));
2022 this[this.tablepersonnel.IDPERSONNELColumn] = value;
2026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2027 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2028 public int IDSERVICE {
2030 return ((
int)(
this[this.tablepersonnel.IDSERVICEColumn]));
2033 this[this.tablepersonnel.IDSERVICEColumn] = value;
2037 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2038 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2042 return ((
string)(
this[this.tablepersonnel.NOMColumn]));
2044 catch (global::System.InvalidCastException e) {
2045 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'NOM\' dans la table \'personnel\' est DBNull.", e);
2049 this[this.tablepersonnel.NOMColumn] = value;
2053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2054 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2055 public string PRENOM {
2058 return ((
string)(
this[this.tablepersonnel.PRENOMColumn]));
2060 catch (global::System.InvalidCastException e) {
2061 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'PRENOM\' dans la table \'personnel\' est DBNull.", e);
2065 this[this.tablepersonnel.PRENOMColumn] = value;
2069 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2070 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2074 return ((
string)(
this[this.tablepersonnel.TELColumn]));
2076 catch (global::System.InvalidCastException e) {
2077 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'TEL\' dans la table \'personnel\' est DBNull.", e);
2081 this[this.tablepersonnel.TELColumn] = value;
2085 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2086 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2087 public string MAIL {
2090 return ((
string)(
this[this.tablepersonnel.MAILColumn]));
2092 catch (global::System.InvalidCastException e) {
2093 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'MAIL\' dans la table \'personnel\' est DBNull.", e);
2097 this[this.tablepersonnel.MAILColumn] = value;
2101 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2102 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2103 public bool IsNOMNull() {
2104 return this.IsNull(this.tablepersonnel.NOMColumn);
2107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2108 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2109 public void SetNOMNull() {
2110 this[this.tablepersonnel.NOMColumn] = global::System.Convert.DBNull;
2113 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2114 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2115 public bool IsPRENOMNull() {
2116 return this.IsNull(this.tablepersonnel.PRENOMColumn);
2119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2120 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2121 public void SetPRENOMNull() {
2122 this[this.tablepersonnel.PRENOMColumn] = global::System.Convert.DBNull;
2125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2126 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2127 public bool IsTELNull() {
2128 return this.IsNull(this.tablepersonnel.TELColumn);
2131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2132 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2133 public void SetTELNull() {
2134 this[this.tablepersonnel.TELColumn] = global::System.Convert.DBNull;
2137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2138 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2139 public bool IsMAILNull() {
2140 return this.IsNull(this.tablepersonnel.MAILColumn);
2143 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2144 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2145 public void SetMAILNull() {
2146 this[this.tablepersonnel.MAILColumn] = global::System.Convert.DBNull;
2157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2158 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2165 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2166 public string login {
2168 return ((
string)(
this[this.tableresponsable.loginColumn]));
2171 this[this.tableresponsable.loginColumn] = value;
2175 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2176 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2179 return ((
string)(
this[this.tableresponsable.pwdColumn]));
2182 this[this.tableresponsable.pwdColumn] = value;
2194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2195 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2196 internal serviceRow(global::System.Data.DataRowBuilder rb) :
2201 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2202 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2203 public int IDSERVICE {
2205 return ((
int)(
this[this.tableservice.IDSERVICEColumn]));
2208 this[this.tableservice.IDSERVICEColumn] = value;
2212 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2213 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2217 return ((
string)(
this[this.tableservice.NOMColumn]));
2219 catch (global::System.InvalidCastException e) {
2220 throw new global::System.Data.StrongTypingException(
"La valeur pour la colonne \'NOM\' dans la table \'service\' est DBNull.", e);
2224 this[this.tableservice.NOMColumn] = value;
2228 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2229 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2230 public bool IsNOMNull() {
2231 return this.IsNull(this.tableservice.NOMColumn);
2234 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2235 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2236 public void SetNOMNull() {
2237 this[this.tableservice.NOMColumn] = global::System.Convert.DBNull;
2244 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2249 private global::System.Data.DataRowAction eventAction;
2251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2252 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2254 this.eventRow = row;
2255 this.eventAction = action;
2258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2259 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2262 return this.eventRow;
2266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2267 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2268 public global::System.Data.DataRowAction Action {
2270 return this.eventAction;
2278 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2283 private global::System.Data.DataRowAction eventAction;
2285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2286 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2288 this.eventRow = row;
2289 this.eventAction = action;
2292 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2293 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2296 return this.eventRow;
2300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2301 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2302 public global::System.Data.DataRowAction Action {
2304 return this.eventAction;
2312 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2317 private global::System.Data.DataRowAction eventAction;
2319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2320 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2322 this.eventRow = row;
2323 this.eventAction = action;
2326 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2327 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2330 return this.eventRow;
2334 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2335 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2336 public global::System.Data.DataRowAction Action {
2338 return this.eventAction;
2346 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2351 private global::System.Data.DataRowAction eventAction;
2353 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2354 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2356 this.eventRow = row;
2357 this.eventAction = action;
2360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2361 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2364 return this.eventRow;
2368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2369 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2370 public global::System.Data.DataRowAction Action {
2372 return this.eventAction;
2380 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2385 private global::System.Data.DataRowAction eventAction;
2387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2388 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2390 this.eventRow = row;
2391 this.eventAction = action;
2394 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2395 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2398 return this.eventRow;
2402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2403 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2404 public global::System.Data.DataRowAction Action {
2406 return this.eventAction;
2418 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
2419 [global::System.ComponentModel.ToolboxItem(
true)]
2420 [global::System.ComponentModel.DataObjectAttribute(
true)]
2421 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
2422 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
2423 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2426 private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
2428 private global::MySql.Data.MySqlClient.MySqlConnection _connection;
2430 private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
2432 private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
2434 private bool _clearBeforeFill;
2436 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2437 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2439 this.ClearBeforeFill =
true;
2442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2443 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2444 protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
2446 if ((this._adapter ==
null)) {
2449 return this._adapter;
2453 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2454 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2455 internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
2457 if ((this._connection ==
null)) {
2458 this.InitConnection();
2460 return this._connection;
2463 this._connection = value;
2464 if ((this.Adapter.InsertCommand !=
null)) {
2465 this.Adapter.InsertCommand.Connection = value;
2467 if ((this.Adapter.DeleteCommand !=
null)) {
2468 this.Adapter.DeleteCommand.Connection = value;
2470 if ((this.Adapter.UpdateCommand !=
null)) {
2471 this.Adapter.UpdateCommand.Connection = value;
2473 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
2474 if ((this.CommandCollection[i] !=
null)) {
2475 ((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
2481 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2482 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2483 internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
2485 return this._transaction;
2488 this._transaction = value;
2489 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
2490 this.CommandCollection[i].Transaction = this._transaction;
2492 if (((this.Adapter !=
null)
2493 && (this.Adapter.DeleteCommand !=
null))) {
2494 this.Adapter.DeleteCommand.Transaction = this._transaction;
2496 if (((this.Adapter !=
null)
2497 && (this.Adapter.InsertCommand !=
null))) {
2498 this.Adapter.InsertCommand.Transaction = this._transaction;
2500 if (((this.Adapter !=
null)
2501 && (this.Adapter.UpdateCommand !=
null))) {
2502 this.Adapter.UpdateCommand.Transaction = this._transaction;
2507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2508 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2509 protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
2511 if ((this._commandCollection ==
null)) {
2512 this.InitCommandCollection();
2514 return this._commandCollection;
2518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2519 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2520 public bool ClearBeforeFill {
2522 return this._clearBeforeFill;
2525 this._clearBeforeFill = value;
2529 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2530 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2531 private void InitAdapter() {
2532 this._adapter =
new global::MySql.Data.MySqlClient.MySqlDataAdapter();
2533 global::System.Data.Common.DataTableMapping tableMapping =
new global::System.Data.Common.DataTableMapping();
2534 tableMapping.SourceTable =
"Table";
2535 tableMapping.DataSetTable =
"absence";
2536 tableMapping.ColumnMappings.Add(
"IDPERSONNEL",
"IDPERSONNEL");
2537 tableMapping.ColumnMappings.Add(
"DATEDEBUT",
"DATEDEBUT");
2538 tableMapping.ColumnMappings.Add(
"IDMOTIF",
"IDMOTIF");
2539 tableMapping.ColumnMappings.Add(
"DATEFIN",
"DATEFIN");
2540 this._adapter.TableMappings.Add(tableMapping);
2541 this._adapter.DeleteCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
2542 this._adapter.DeleteCommand.Connection = this.Connection;
2543 this._adapter.DeleteCommand.CommandText =
"DELETE FROM `absence` WHERE ((`IDPERSONNEL` = @p1) AND (`DATEDEBUT` = @p2) AND (`" +
2544 "IDMOTIF` = @p3) AND ((@p4 = 1 AND `DATEFIN` IS NULL) OR (`DATEFIN` = @p5)))";
2545 this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
2546 global::MySql.Data.MySqlClient.MySqlParameter param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2547 param.ParameterName =
"@p1";
2548 param.DbType = global::System.Data.DbType.Int32;
2549 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2550 param.IsNullable =
true;
2551 param.SourceColumn =
"IDPERSONNEL";
2552 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2553 this._adapter.DeleteCommand.Parameters.Add(param);
2554 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2555 param.ParameterName =
"@p2";
2556 param.DbType = global::System.Data.DbType.DateTime;
2557 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2558 param.IsNullable =
true;
2559 param.SourceColumn =
"DATEDEBUT";
2560 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2561 this._adapter.DeleteCommand.Parameters.Add(param);
2562 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2563 param.ParameterName =
"@p3";
2564 param.DbType = global::System.Data.DbType.Int32;
2565 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2566 param.IsNullable =
true;
2567 param.SourceColumn =
"IDMOTIF";
2568 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2569 this._adapter.DeleteCommand.Parameters.Add(param);
2570 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2571 param.ParameterName =
"@p4";
2572 param.DbType = global::System.Data.DbType.Int32;
2573 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2574 param.IsNullable =
true;
2575 param.SourceColumn =
"DATEFIN";
2576 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2577 param.SourceColumnNullMapping =
true;
2578 this._adapter.DeleteCommand.Parameters.Add(param);
2579 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2580 param.ParameterName =
"@p5";
2581 param.DbType = global::System.Data.DbType.DateTime;
2582 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2583 param.IsNullable =
true;
2584 param.SourceColumn =
"DATEFIN";
2585 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2586 this._adapter.DeleteCommand.Parameters.Add(param);
2587 this._adapter.InsertCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
2588 this._adapter.InsertCommand.Connection = this.Connection;
2589 this._adapter.InsertCommand.CommandText =
"INSERT INTO `absence` (`IDPERSONNEL`, `DATEDEBUT`, `IDMOTIF`, `DATEFIN`) VALUES (" +
2590 "@p1, @p2, @p3, @p4)";
2591 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
2592 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2593 param.ParameterName =
"@p1";
2594 param.DbType = global::System.Data.DbType.Int32;
2595 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2596 param.IsNullable =
true;
2597 param.SourceColumn =
"IDPERSONNEL";
2598 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2599 this._adapter.InsertCommand.Parameters.Add(param);
2600 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2601 param.ParameterName =
"@p2";
2602 param.DbType = global::System.Data.DbType.DateTime;
2603 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2604 param.IsNullable =
true;
2605 param.SourceColumn =
"DATEDEBUT";
2606 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2607 this._adapter.InsertCommand.Parameters.Add(param);
2608 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2609 param.ParameterName =
"@p3";
2610 param.DbType = global::System.Data.DbType.Int32;
2611 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2612 param.IsNullable =
true;
2613 param.SourceColumn =
"IDMOTIF";
2614 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2615 this._adapter.InsertCommand.Parameters.Add(param);
2616 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2617 param.ParameterName =
"@p4";
2618 param.DbType = global::System.Data.DbType.DateTime;
2619 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2620 param.IsNullable =
true;
2621 param.SourceColumn =
"DATEFIN";
2622 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2623 this._adapter.InsertCommand.Parameters.Add(param);
2624 this._adapter.UpdateCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
2625 this._adapter.UpdateCommand.Connection = this.Connection;
2626 this._adapter.UpdateCommand.CommandText =
"UPDATE `absence` SET `IDPERSONNEL` = @p1, `DATEDEBUT` = @p2, `IDMOTIF` = @p3, `DA" +
2627 "TEFIN` = @p4 WHERE ((`IDPERSONNEL` = @p5) AND (`DATEDEBUT` = @p6) AND (`IDMOTIF`" +
2628 " = @p7) AND ((@p8 = 1 AND `DATEFIN` IS NULL) OR (`DATEFIN` = @p9)))";
2629 this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
2630 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2631 param.ParameterName =
"@p1";
2632 param.DbType = global::System.Data.DbType.Int32;
2633 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2634 param.IsNullable =
true;
2635 param.SourceColumn =
"IDPERSONNEL";
2636 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2637 this._adapter.UpdateCommand.Parameters.Add(param);
2638 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2639 param.ParameterName =
"@p2";
2640 param.DbType = global::System.Data.DbType.DateTime;
2641 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2642 param.IsNullable =
true;
2643 param.SourceColumn =
"DATEDEBUT";
2644 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2645 this._adapter.UpdateCommand.Parameters.Add(param);
2646 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2647 param.ParameterName =
"@p3";
2648 param.DbType = global::System.Data.DbType.Int32;
2649 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2650 param.IsNullable =
true;
2651 param.SourceColumn =
"IDMOTIF";
2652 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2653 this._adapter.UpdateCommand.Parameters.Add(param);
2654 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2655 param.ParameterName =
"@p4";
2656 param.DbType = global::System.Data.DbType.DateTime;
2657 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2658 param.IsNullable =
true;
2659 param.SourceColumn =
"DATEFIN";
2660 param.SourceVersion = global::System.Data.DataRowVersion.Current;
2661 this._adapter.UpdateCommand.Parameters.Add(param);
2662 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2663 param.ParameterName =
"@p5";
2664 param.DbType = global::System.Data.DbType.Int32;
2665 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2666 param.IsNullable =
true;
2667 param.SourceColumn =
"IDPERSONNEL";
2668 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2669 this._adapter.UpdateCommand.Parameters.Add(param);
2670 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2671 param.ParameterName =
"@p6";
2672 param.DbType = global::System.Data.DbType.DateTime;
2673 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2674 param.IsNullable =
true;
2675 param.SourceColumn =
"DATEDEBUT";
2676 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2677 this._adapter.UpdateCommand.Parameters.Add(param);
2678 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2679 param.ParameterName =
"@p7";
2680 param.DbType = global::System.Data.DbType.Int32;
2681 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2682 param.IsNullable =
true;
2683 param.SourceColumn =
"IDMOTIF";
2684 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2685 this._adapter.UpdateCommand.Parameters.Add(param);
2686 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2687 param.ParameterName =
"@p8";
2688 param.DbType = global::System.Data.DbType.Int32;
2689 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
2690 param.IsNullable =
true;
2691 param.SourceColumn =
"DATEFIN";
2692 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2693 param.SourceColumnNullMapping =
true;
2694 this._adapter.UpdateCommand.Parameters.Add(param);
2695 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
2696 param.ParameterName =
"@p9";
2697 param.DbType = global::System.Data.DbType.DateTime;
2698 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.DateTime;
2699 param.IsNullable =
true;
2700 param.SourceColumn =
"DATEFIN";
2701 param.SourceVersion = global::System.Data.DataRowVersion.Original;
2702 this._adapter.UpdateCommand.Parameters.Add(param);
2705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2706 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2707 private void InitConnection() {
2708 this._connection =
new global::MySql.Data.MySqlClient.MySqlConnection();
2709 this._connection.ConnectionString = global::MediaTek.Properties.Settings.Default.projetcnedConnectionString;
2712 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2713 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2714 private void InitCommandCollection() {
2715 this._commandCollection =
new global::MySql.Data.MySqlClient.MySqlCommand[1];
2716 this._commandCollection[0] =
new global::MySql.Data.MySqlClient.MySqlCommand();
2717 this._commandCollection[0].Connection = this.Connection;
2718 this._commandCollection[0].CommandText =
"SELECT `IDPERSONNEL`, `DATEDEBUT`, `IDMOTIF`, `DATEFIN` FROM `absence`";
2719 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
2722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2723 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2724 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2725 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill,
true)]
2727 this.Adapter.SelectCommand = this.CommandCollection[0];
2728 if ((this.ClearBeforeFill ==
true)) {
2731 int returnValue = this.Adapter.Fill(dataTable);
2735 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2736 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2737 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2738 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select,
true)]
2740 this.Adapter.SelectCommand = this.CommandCollection[0];
2742 this.Adapter.Fill(dataTable);
2746 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2747 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2748 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2750 return this.Adapter.Update(dataTable);
2753 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2754 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2755 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2757 return this.Adapter.Update(dataSet,
"absence");
2760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2761 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2762 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2763 public virtual int Update(global::System.Data.DataRow dataRow) {
2764 return this.Adapter.Update(
new global::System.Data.DataRow[] {
2768 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2769 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2770 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2771 public virtual int Update(global::System.Data.DataRow[] dataRows) {
2772 return this.Adapter.Update(dataRows);
2775 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2776 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2777 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2778 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete,
true)]
2779 public virtual int Delete(
int p1, System.DateTime p2,
int p3, global::System.Nullable<global::System.DateTime> p5) {
2780 this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
2781 this.Adapter.DeleteCommand.Parameters[1].Value = ((System.DateTime)(p2));
2782 this.Adapter.DeleteCommand.Parameters[2].Value = ((int)(p3));
2783 if ((p5.HasValue ==
true)) {
2784 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
2785 this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(p5.Value));
2788 this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
2789 this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
2791 global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
2792 if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
2793 != global::System.Data.ConnectionState.Open)) {
2794 this.Adapter.DeleteCommand.Connection.Open();
2797 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
2801 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
2802 this.Adapter.DeleteCommand.Connection.Close();
2807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2808 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2809 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2810 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert,
true)]
2811 public virtual int Insert(
int p1, System.DateTime p2,
int p3, global::System.Nullable<global::System.DateTime> p4) {
2812 this.Adapter.InsertCommand.Parameters[0].Value = ((int)(p1));
2813 this.Adapter.InsertCommand.Parameters[1].Value = ((System.DateTime)(p2));
2814 this.Adapter.InsertCommand.Parameters[2].Value = ((int)(p3));
2815 if ((p4.HasValue ==
true)) {
2816 this.Adapter.InsertCommand.Parameters[3].Value = ((System.DateTime)(p4.Value));
2819 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
2821 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
2822 if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
2823 != global::System.Data.ConnectionState.Open)) {
2824 this.Adapter.InsertCommand.Connection.Open();
2827 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
2831 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
2832 this.Adapter.InsertCommand.Connection.Close();
2837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2838 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2839 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2840 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update,
true)]
2841 public virtual int Update(
int p1, System.DateTime p2,
int p3, global::System.Nullable<global::System.DateTime> p4,
int p5, System.DateTime p6,
int p7, global::System.Nullable<global::System.DateTime> p9) {
2842 this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(p1));
2843 this.Adapter.UpdateCommand.Parameters[1].Value = ((System.DateTime)(p2));
2844 this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(p3));
2845 if ((p4.HasValue ==
true)) {
2846 this.Adapter.UpdateCommand.Parameters[3].Value = ((System.DateTime)(p4.Value));
2849 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
2851 this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(p5));
2852 this.Adapter.UpdateCommand.Parameters[5].Value = ((System.DateTime)(p6));
2853 this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(p7));
2854 if ((p9.HasValue ==
true)) {
2855 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
2856 this.Adapter.UpdateCommand.Parameters[8].Value = ((System.DateTime)(p9.Value));
2859 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
2860 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
2862 global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
2863 if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
2864 != global::System.Data.ConnectionState.Open)) {
2865 this.Adapter.UpdateCommand.Connection.Open();
2868 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
2872 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
2873 this.Adapter.UpdateCommand.Connection.Close();
2878 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2879 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2880 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2881 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update,
true)]
2882 public virtual int Update(
int p3, global::System.Nullable<global::System.DateTime> p4,
int p5, System.DateTime p6,
int p7, global::System.Nullable<global::System.DateTime> p9) {
2883 return this.Update(p5, p6, p3, p4, p5, p6, p7, p9);
2890 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
2891 [global::System.ComponentModel.ToolboxItem(
true)]
2892 [global::System.ComponentModel.DataObjectAttribute(
true)]
2893 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
2894 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
2895 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
2898 private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
2900 private global::MySql.Data.MySqlClient.MySqlConnection _connection;
2902 private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
2904 private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
2906 private bool _clearBeforeFill;
2908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2909 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2911 this.ClearBeforeFill =
true;
2914 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2915 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2916 protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
2918 if ((this._adapter ==
null)) {
2921 return this._adapter;
2925 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2926 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2927 internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
2929 if ((this._connection ==
null)) {
2930 this.InitConnection();
2932 return this._connection;
2935 this._connection = value;
2936 if ((this.Adapter.InsertCommand !=
null)) {
2937 this.Adapter.InsertCommand.Connection = value;
2939 if ((this.Adapter.DeleteCommand !=
null)) {
2940 this.Adapter.DeleteCommand.Connection = value;
2942 if ((this.Adapter.UpdateCommand !=
null)) {
2943 this.Adapter.UpdateCommand.Connection = value;
2945 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
2946 if ((this.CommandCollection[i] !=
null)) {
2947 ((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
2953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2954 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2955 internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
2957 return this._transaction;
2960 this._transaction = value;
2961 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
2962 this.CommandCollection[i].Transaction = this._transaction;
2964 if (((this.Adapter !=
null)
2965 && (this.Adapter.DeleteCommand !=
null))) {
2966 this.Adapter.DeleteCommand.Transaction = this._transaction;
2968 if (((this.Adapter !=
null)
2969 && (this.Adapter.InsertCommand !=
null))) {
2970 this.Adapter.InsertCommand.Transaction = this._transaction;
2972 if (((this.Adapter !=
null)
2973 && (this.Adapter.UpdateCommand !=
null))) {
2974 this.Adapter.UpdateCommand.Transaction = this._transaction;
2979 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2980 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2981 protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
2983 if ((this._commandCollection ==
null)) {
2984 this.InitCommandCollection();
2986 return this._commandCollection;
2990 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2991 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
2992 public bool ClearBeforeFill {
2994 return this._clearBeforeFill;
2997 this._clearBeforeFill = value;
3001 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3002 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3003 private void InitAdapter() {
3004 this._adapter =
new global::MySql.Data.MySqlClient.MySqlDataAdapter();
3005 global::System.Data.Common.DataTableMapping tableMapping =
new global::System.Data.Common.DataTableMapping();
3006 tableMapping.SourceTable =
"Table";
3007 tableMapping.DataSetTable =
"motif";
3008 tableMapping.ColumnMappings.Add(
"IDMOTIF",
"IDMOTIF");
3009 tableMapping.ColumnMappings.Add(
"LIBELLE",
"LIBELLE");
3010 this._adapter.TableMappings.Add(tableMapping);
3011 this._adapter.DeleteCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3012 this._adapter.DeleteCommand.Connection = this.Connection;
3013 this._adapter.DeleteCommand.CommandText =
"DELETE FROM `motif` WHERE ((`IDMOTIF` = @p1) AND ((@p2 = 1 AND `LIBELLE` IS NULL)" +
3014 " OR (`LIBELLE` = @p3)))";
3015 this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
3016 global::MySql.Data.MySqlClient.MySqlParameter param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3017 param.ParameterName =
"@p1";
3018 param.DbType = global::System.Data.DbType.Int32;
3019 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3020 param.IsNullable =
true;
3021 param.SourceColumn =
"IDMOTIF";
3022 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3023 this._adapter.DeleteCommand.Parameters.Add(param);
3024 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3025 param.ParameterName =
"@p2";
3026 param.DbType = global::System.Data.DbType.Int32;
3027 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3028 param.IsNullable =
true;
3029 param.SourceColumn =
"LIBELLE";
3030 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3031 param.SourceColumnNullMapping =
true;
3032 this._adapter.DeleteCommand.Parameters.Add(param);
3033 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3034 param.ParameterName =
"@p3";
3035 param.DbType = global::System.Data.DbType.String;
3036 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3037 param.IsNullable =
true;
3038 param.SourceColumn =
"LIBELLE";
3039 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3040 this._adapter.DeleteCommand.Parameters.Add(param);
3041 this._adapter.InsertCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3042 this._adapter.InsertCommand.Connection = this.Connection;
3043 this._adapter.InsertCommand.CommandText =
"INSERT INTO `motif` (`LIBELLE`) VALUES (@p1)";
3044 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
3045 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3046 param.ParameterName =
"@p1";
3047 param.DbType = global::System.Data.DbType.String;
3048 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3049 param.IsNullable =
true;
3050 param.SourceColumn =
"LIBELLE";
3051 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3052 this._adapter.InsertCommand.Parameters.Add(param);
3053 this._adapter.UpdateCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3054 this._adapter.UpdateCommand.Connection = this.Connection;
3055 this._adapter.UpdateCommand.CommandText =
"UPDATE `motif` SET `LIBELLE` = @p1 WHERE ((`IDMOTIF` = @p2) AND ((@p3 = 1 AND `LI" +
3056 "BELLE` IS NULL) OR (`LIBELLE` = @p4)))";
3057 this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
3058 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3059 param.ParameterName =
"@p1";
3060 param.DbType = global::System.Data.DbType.String;
3061 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3062 param.IsNullable =
true;
3063 param.SourceColumn =
"LIBELLE";
3064 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3065 this._adapter.UpdateCommand.Parameters.Add(param);
3066 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3067 param.ParameterName =
"@p2";
3068 param.DbType = global::System.Data.DbType.Int32;
3069 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3070 param.IsNullable =
true;
3071 param.SourceColumn =
"IDMOTIF";
3072 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3073 this._adapter.UpdateCommand.Parameters.Add(param);
3074 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3075 param.ParameterName =
"@p3";
3076 param.DbType = global::System.Data.DbType.Int32;
3077 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3078 param.IsNullable =
true;
3079 param.SourceColumn =
"LIBELLE";
3080 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3081 param.SourceColumnNullMapping =
true;
3082 this._adapter.UpdateCommand.Parameters.Add(param);
3083 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3084 param.ParameterName =
"@p4";
3085 param.DbType = global::System.Data.DbType.String;
3086 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3087 param.IsNullable =
true;
3088 param.SourceColumn =
"LIBELLE";
3089 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3090 this._adapter.UpdateCommand.Parameters.Add(param);
3093 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3094 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3095 private void InitConnection() {
3096 this._connection =
new global::MySql.Data.MySqlClient.MySqlConnection();
3097 this._connection.ConnectionString = global::MediaTek.Properties.Settings.Default.projetcnedConnectionString;
3100 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3101 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3102 private void InitCommandCollection() {
3103 this._commandCollection =
new global::MySql.Data.MySqlClient.MySqlCommand[1];
3104 this._commandCollection[0] =
new global::MySql.Data.MySqlClient.MySqlCommand();
3105 this._commandCollection[0].Connection = this.Connection;
3106 this._commandCollection[0].CommandText =
"SELECT `IDMOTIF`, `LIBELLE` FROM `motif`";
3107 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
3110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3111 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3112 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3113 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill,
true)]
3115 this.Adapter.SelectCommand = this.CommandCollection[0];
3116 if ((this.ClearBeforeFill ==
true)) {
3119 int returnValue = this.Adapter.Fill(dataTable);
3123 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3124 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3125 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3126 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select,
true)]
3128 this.Adapter.SelectCommand = this.CommandCollection[0];
3130 this.Adapter.Fill(dataTable);
3134 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3135 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3136 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3138 return this.Adapter.Update(dataTable);
3141 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3142 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3143 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3145 return this.Adapter.Update(dataSet,
"motif");
3148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3149 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3150 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3151 public virtual int Update(global::System.Data.DataRow dataRow) {
3152 return this.Adapter.Update(
new global::System.Data.DataRow[] {
3156 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3157 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3158 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3159 public virtual int Update(global::System.Data.DataRow[] dataRows) {
3160 return this.Adapter.Update(dataRows);
3163 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3164 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3165 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3166 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete,
true)]
3167 public virtual int Delete(
int p1,
string p3) {
3168 this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
3170 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
3171 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
3174 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
3175 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
3177 global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
3178 if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
3179 != global::System.Data.ConnectionState.Open)) {
3180 this.Adapter.DeleteCommand.Connection.Open();
3183 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
3187 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3188 this.Adapter.DeleteCommand.Connection.Close();
3193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3194 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3195 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3196 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert,
true)]
3197 public virtual int Insert(
string p1) {
3199 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
3202 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
3204 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
3205 if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
3206 != global::System.Data.ConnectionState.Open)) {
3207 this.Adapter.InsertCommand.Connection.Open();
3210 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
3214 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3215 this.Adapter.InsertCommand.Connection.Close();
3220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3221 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3222 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3223 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update,
true)]
3224 public virtual int Update(
string p1,
int p2,
string p4) {
3226 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
3229 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
3231 this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(p2));
3233 this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(1));
3234 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
3237 this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(0));
3238 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
3240 global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
3241 if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
3242 != global::System.Data.ConnectionState.Open)) {
3243 this.Adapter.UpdateCommand.Connection.Open();
3246 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
3250 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3251 this.Adapter.UpdateCommand.Connection.Close();
3260 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
3261 [global::System.ComponentModel.ToolboxItem(
true)]
3262 [global::System.ComponentModel.DataObjectAttribute(
true)]
3263 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
3264 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
3265 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3268 private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
3270 private global::MySql.Data.MySqlClient.MySqlConnection _connection;
3272 private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
3274 private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
3276 private bool _clearBeforeFill;
3278 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3279 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3281 this.ClearBeforeFill =
true;
3284 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3285 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3286 protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
3288 if ((this._adapter ==
null)) {
3291 return this._adapter;
3295 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3296 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3297 internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
3299 if ((this._connection ==
null)) {
3300 this.InitConnection();
3302 return this._connection;
3305 this._connection = value;
3306 if ((this.Adapter.InsertCommand !=
null)) {
3307 this.Adapter.InsertCommand.Connection = value;
3309 if ((this.Adapter.DeleteCommand !=
null)) {
3310 this.Adapter.DeleteCommand.Connection = value;
3312 if ((this.Adapter.UpdateCommand !=
null)) {
3313 this.Adapter.UpdateCommand.Connection = value;
3315 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
3316 if ((this.CommandCollection[i] !=
null)) {
3317 ((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
3323 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3324 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3325 internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
3327 return this._transaction;
3330 this._transaction = value;
3331 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
3332 this.CommandCollection[i].Transaction = this._transaction;
3334 if (((this.Adapter !=
null)
3335 && (this.Adapter.DeleteCommand !=
null))) {
3336 this.Adapter.DeleteCommand.Transaction = this._transaction;
3338 if (((this.Adapter !=
null)
3339 && (this.Adapter.InsertCommand !=
null))) {
3340 this.Adapter.InsertCommand.Transaction = this._transaction;
3342 if (((this.Adapter !=
null)
3343 && (this.Adapter.UpdateCommand !=
null))) {
3344 this.Adapter.UpdateCommand.Transaction = this._transaction;
3349 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3350 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3351 protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
3353 if ((this._commandCollection ==
null)) {
3354 this.InitCommandCollection();
3356 return this._commandCollection;
3360 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3361 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3362 public bool ClearBeforeFill {
3364 return this._clearBeforeFill;
3367 this._clearBeforeFill = value;
3371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3372 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3373 private void InitAdapter() {
3374 this._adapter =
new global::MySql.Data.MySqlClient.MySqlDataAdapter();
3375 global::System.Data.Common.DataTableMapping tableMapping =
new global::System.Data.Common.DataTableMapping();
3376 tableMapping.SourceTable =
"Table";
3377 tableMapping.DataSetTable =
"personnel";
3378 tableMapping.ColumnMappings.Add(
"IDPERSONNEL",
"IDPERSONNEL");
3379 tableMapping.ColumnMappings.Add(
"IDSERVICE",
"IDSERVICE");
3380 tableMapping.ColumnMappings.Add(
"NOM",
"NOM");
3381 tableMapping.ColumnMappings.Add(
"PRENOM",
"PRENOM");
3382 tableMapping.ColumnMappings.Add(
"TEL",
"TEL");
3383 tableMapping.ColumnMappings.Add(
"MAIL",
"MAIL");
3384 this._adapter.TableMappings.Add(tableMapping);
3385 this._adapter.DeleteCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3386 this._adapter.DeleteCommand.Connection = this.Connection;
3387 this._adapter.DeleteCommand.CommandText =
@"DELETE FROM `personnel` WHERE ((`IDPERSONNEL` = @p1) AND (`IDSERVICE` = @p2) AND ((@p3 = 1 AND `NOM` IS NULL) OR (`NOM` = @p4)) AND ((@p5 = 1 AND `PRENOM` IS NULL) OR (`PRENOM` = @p6)) AND ((@p7 = 1 AND `TEL` IS NULL) OR (`TEL` = @p8)) AND ((@p9 = 1 AND `MAIL` IS NULL) OR (`MAIL` = @p10)))";
3388 this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
3389 global::MySql.Data.MySqlClient.MySqlParameter param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3390 param.ParameterName =
"@p1";
3391 param.DbType = global::System.Data.DbType.Int32;
3392 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3393 param.IsNullable =
true;
3394 param.SourceColumn =
"IDPERSONNEL";
3395 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3396 this._adapter.DeleteCommand.Parameters.Add(param);
3397 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3398 param.ParameterName =
"@p2";
3399 param.DbType = global::System.Data.DbType.Int32;
3400 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3401 param.IsNullable =
true;
3402 param.SourceColumn =
"IDSERVICE";
3403 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3404 this._adapter.DeleteCommand.Parameters.Add(param);
3405 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3406 param.ParameterName =
"@p3";
3407 param.DbType = global::System.Data.DbType.Int32;
3408 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3409 param.IsNullable =
true;
3410 param.SourceColumn =
"NOM";
3411 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3412 param.SourceColumnNullMapping =
true;
3413 this._adapter.DeleteCommand.Parameters.Add(param);
3414 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3415 param.ParameterName =
"@p4";
3416 param.DbType = global::System.Data.DbType.String;
3417 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3418 param.IsNullable =
true;
3419 param.SourceColumn =
"NOM";
3420 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3421 this._adapter.DeleteCommand.Parameters.Add(param);
3422 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3423 param.ParameterName =
"@p5";
3424 param.DbType = global::System.Data.DbType.Int32;
3425 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3426 param.IsNullable =
true;
3427 param.SourceColumn =
"PRENOM";
3428 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3429 param.SourceColumnNullMapping =
true;
3430 this._adapter.DeleteCommand.Parameters.Add(param);
3431 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3432 param.ParameterName =
"@p6";
3433 param.DbType = global::System.Data.DbType.String;
3434 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3435 param.IsNullable =
true;
3436 param.SourceColumn =
"PRENOM";
3437 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3438 this._adapter.DeleteCommand.Parameters.Add(param);
3439 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3440 param.ParameterName =
"@p7";
3441 param.DbType = global::System.Data.DbType.Int32;
3442 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3443 param.IsNullable =
true;
3444 param.SourceColumn =
"TEL";
3445 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3446 param.SourceColumnNullMapping =
true;
3447 this._adapter.DeleteCommand.Parameters.Add(param);
3448 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3449 param.ParameterName =
"@p8";
3450 param.DbType = global::System.Data.DbType.String;
3451 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3452 param.IsNullable =
true;
3453 param.SourceColumn =
"TEL";
3454 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3455 this._adapter.DeleteCommand.Parameters.Add(param);
3456 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3457 param.ParameterName =
"@p9";
3458 param.DbType = global::System.Data.DbType.Int32;
3459 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3460 param.IsNullable =
true;
3461 param.SourceColumn =
"MAIL";
3462 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3463 param.SourceColumnNullMapping =
true;
3464 this._adapter.DeleteCommand.Parameters.Add(param);
3465 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3466 param.ParameterName =
"@p10";
3467 param.DbType = global::System.Data.DbType.String;
3468 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3469 param.IsNullable =
true;
3470 param.SourceColumn =
"MAIL";
3471 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3472 this._adapter.DeleteCommand.Parameters.Add(param);
3473 this._adapter.InsertCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3474 this._adapter.InsertCommand.Connection = this.Connection;
3475 this._adapter.InsertCommand.CommandText =
"INSERT INTO `personnel` (`IDSERVICE`, `NOM`, `PRENOM`, `TEL`, `MAIL`) VALUES (@p1" +
3476 ", @p2, @p3, @p4, @p5)";
3477 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
3478 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3479 param.ParameterName =
"@p1";
3480 param.DbType = global::System.Data.DbType.Int32;
3481 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3482 param.IsNullable =
true;
3483 param.SourceColumn =
"IDSERVICE";
3484 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3485 this._adapter.InsertCommand.Parameters.Add(param);
3486 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3487 param.ParameterName =
"@p2";
3488 param.DbType = global::System.Data.DbType.String;
3489 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3490 param.IsNullable =
true;
3491 param.SourceColumn =
"NOM";
3492 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3493 this._adapter.InsertCommand.Parameters.Add(param);
3494 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3495 param.ParameterName =
"@p3";
3496 param.DbType = global::System.Data.DbType.String;
3497 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3498 param.IsNullable =
true;
3499 param.SourceColumn =
"PRENOM";
3500 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3501 this._adapter.InsertCommand.Parameters.Add(param);
3502 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3503 param.ParameterName =
"@p4";
3504 param.DbType = global::System.Data.DbType.String;
3505 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3506 param.IsNullable =
true;
3507 param.SourceColumn =
"TEL";
3508 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3509 this._adapter.InsertCommand.Parameters.Add(param);
3510 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3511 param.ParameterName =
"@p5";
3512 param.DbType = global::System.Data.DbType.String;
3513 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3514 param.IsNullable =
true;
3515 param.SourceColumn =
"MAIL";
3516 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3517 this._adapter.InsertCommand.Parameters.Add(param);
3518 this._adapter.UpdateCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
3519 this._adapter.UpdateCommand.Connection = this.Connection;
3520 this._adapter.UpdateCommand.CommandText =
@"UPDATE `personnel` SET `IDSERVICE` = @p1, `NOM` = @p2, `PRENOM` = @p3, `TEL` = @p4, `MAIL` = @p5 WHERE ((`IDPERSONNEL` = @p6) AND (`IDSERVICE` = @p7) AND ((@p8 = 1 AND `NOM` IS NULL) OR (`NOM` = @p9)) AND ((@p10 = 1 AND `PRENOM` IS NULL) OR (`PRENOM` = @p11)) AND ((@p12 = 1 AND `TEL` IS NULL) OR (`TEL` = @p13)) AND ((@p14 = 1 AND `MAIL` IS NULL) OR (`MAIL` = @p15)))";
3521 this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
3522 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3523 param.ParameterName =
"@p1";
3524 param.DbType = global::System.Data.DbType.Int32;
3525 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3526 param.IsNullable =
true;
3527 param.SourceColumn =
"IDSERVICE";
3528 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3529 this._adapter.UpdateCommand.Parameters.Add(param);
3530 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3531 param.ParameterName =
"@p2";
3532 param.DbType = global::System.Data.DbType.String;
3533 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3534 param.IsNullable =
true;
3535 param.SourceColumn =
"NOM";
3536 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3537 this._adapter.UpdateCommand.Parameters.Add(param);
3538 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3539 param.ParameterName =
"@p3";
3540 param.DbType = global::System.Data.DbType.String;
3541 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3542 param.IsNullable =
true;
3543 param.SourceColumn =
"PRENOM";
3544 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3545 this._adapter.UpdateCommand.Parameters.Add(param);
3546 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3547 param.ParameterName =
"@p4";
3548 param.DbType = global::System.Data.DbType.String;
3549 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3550 param.IsNullable =
true;
3551 param.SourceColumn =
"TEL";
3552 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3553 this._adapter.UpdateCommand.Parameters.Add(param);
3554 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3555 param.ParameterName =
"@p5";
3556 param.DbType = global::System.Data.DbType.String;
3557 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3558 param.IsNullable =
true;
3559 param.SourceColumn =
"MAIL";
3560 param.SourceVersion = global::System.Data.DataRowVersion.Current;
3561 this._adapter.UpdateCommand.Parameters.Add(param);
3562 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3563 param.ParameterName =
"@p6";
3564 param.DbType = global::System.Data.DbType.Int32;
3565 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3566 param.IsNullable =
true;
3567 param.SourceColumn =
"IDPERSONNEL";
3568 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3569 this._adapter.UpdateCommand.Parameters.Add(param);
3570 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3571 param.ParameterName =
"@p7";
3572 param.DbType = global::System.Data.DbType.Int32;
3573 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3574 param.IsNullable =
true;
3575 param.SourceColumn =
"IDSERVICE";
3576 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3577 this._adapter.UpdateCommand.Parameters.Add(param);
3578 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3579 param.ParameterName =
"@p8";
3580 param.DbType = global::System.Data.DbType.Int32;
3581 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3582 param.IsNullable =
true;
3583 param.SourceColumn =
"NOM";
3584 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3585 param.SourceColumnNullMapping =
true;
3586 this._adapter.UpdateCommand.Parameters.Add(param);
3587 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3588 param.ParameterName =
"@p9";
3589 param.DbType = global::System.Data.DbType.String;
3590 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3591 param.IsNullable =
true;
3592 param.SourceColumn =
"NOM";
3593 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3594 this._adapter.UpdateCommand.Parameters.Add(param);
3595 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3596 param.ParameterName =
"@p10";
3597 param.DbType = global::System.Data.DbType.Int32;
3598 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3599 param.IsNullable =
true;
3600 param.SourceColumn =
"PRENOM";
3601 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3602 param.SourceColumnNullMapping =
true;
3603 this._adapter.UpdateCommand.Parameters.Add(param);
3604 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3605 param.ParameterName =
"@p11";
3606 param.DbType = global::System.Data.DbType.String;
3607 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3608 param.IsNullable =
true;
3609 param.SourceColumn =
"PRENOM";
3610 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3611 this._adapter.UpdateCommand.Parameters.Add(param);
3612 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3613 param.ParameterName =
"@p12";
3614 param.DbType = global::System.Data.DbType.Int32;
3615 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3616 param.IsNullable =
true;
3617 param.SourceColumn =
"TEL";
3618 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3619 param.SourceColumnNullMapping =
true;
3620 this._adapter.UpdateCommand.Parameters.Add(param);
3621 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3622 param.ParameterName =
"@p13";
3623 param.DbType = global::System.Data.DbType.String;
3624 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3625 param.IsNullable =
true;
3626 param.SourceColumn =
"TEL";
3627 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3628 this._adapter.UpdateCommand.Parameters.Add(param);
3629 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3630 param.ParameterName =
"@p14";
3631 param.DbType = global::System.Data.DbType.Int32;
3632 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
3633 param.IsNullable =
true;
3634 param.SourceColumn =
"MAIL";
3635 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3636 param.SourceColumnNullMapping =
true;
3637 this._adapter.UpdateCommand.Parameters.Add(param);
3638 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
3639 param.ParameterName =
"@p15";
3640 param.DbType = global::System.Data.DbType.String;
3641 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
3642 param.IsNullable =
true;
3643 param.SourceColumn =
"MAIL";
3644 param.SourceVersion = global::System.Data.DataRowVersion.Original;
3645 this._adapter.UpdateCommand.Parameters.Add(param);
3648 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3649 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3650 private void InitConnection() {
3651 this._connection =
new global::MySql.Data.MySqlClient.MySqlConnection();
3652 this._connection.ConnectionString = global::MediaTek.Properties.Settings.Default.projetcnedConnectionString;
3655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3656 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3657 private void InitCommandCollection() {
3658 this._commandCollection =
new global::MySql.Data.MySqlClient.MySqlCommand[1];
3659 this._commandCollection[0] =
new global::MySql.Data.MySqlClient.MySqlCommand();
3660 this._commandCollection[0].Connection = this.Connection;
3661 this._commandCollection[0].CommandText =
"SELECT `IDPERSONNEL`, `IDSERVICE`, `NOM`, `PRENOM`, `TEL`, `MAIL` FROM `personnel" +
3663 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
3666 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3667 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3668 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3669 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill,
true)]
3671 this.Adapter.SelectCommand = this.CommandCollection[0];
3672 if ((this.ClearBeforeFill ==
true)) {
3675 int returnValue = this.Adapter.Fill(dataTable);
3679 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3680 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3681 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3682 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select,
true)]
3684 this.Adapter.SelectCommand = this.CommandCollection[0];
3686 this.Adapter.Fill(dataTable);
3690 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3691 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3692 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3694 return this.Adapter.Update(dataTable);
3697 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3698 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3699 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3701 return this.Adapter.Update(dataSet,
"personnel");
3704 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3705 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3706 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3707 public virtual int Update(global::System.Data.DataRow dataRow) {
3708 return this.Adapter.Update(
new global::System.Data.DataRow[] {
3712 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3713 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3714 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3715 public virtual int Update(global::System.Data.DataRow[] dataRows) {
3716 return this.Adapter.Update(dataRows);
3719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3720 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3721 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3722 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete,
true)]
3723 public virtual int Delete(
int p1,
int p2,
string p4,
string p6,
string p8,
string p10) {
3724 this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
3725 this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(p2));
3727 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(1));
3728 this.Adapter.DeleteCommand.Parameters[3].Value = global::System.DBNull.Value;
3731 this.Adapter.DeleteCommand.Parameters[2].Value = ((object)(0));
3732 this.Adapter.DeleteCommand.Parameters[3].Value = ((string)(p4));
3735 this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(1));
3736 this.Adapter.DeleteCommand.Parameters[5].Value = global::System.DBNull.Value;
3739 this.Adapter.DeleteCommand.Parameters[4].Value = ((object)(0));
3740 this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(p6));
3743 this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(1));
3744 this.Adapter.DeleteCommand.Parameters[7].Value = global::System.DBNull.Value;
3747 this.Adapter.DeleteCommand.Parameters[6].Value = ((object)(0));
3748 this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(p8));
3750 if ((p10 ==
null)) {
3751 this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(1));
3752 this.Adapter.DeleteCommand.Parameters[9].Value = global::System.DBNull.Value;
3755 this.Adapter.DeleteCommand.Parameters[8].Value = ((object)(0));
3756 this.Adapter.DeleteCommand.Parameters[9].Value = ((string)(p10));
3758 global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
3759 if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
3760 != global::System.Data.ConnectionState.Open)) {
3761 this.Adapter.DeleteCommand.Connection.Open();
3764 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
3768 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3769 this.Adapter.DeleteCommand.Connection.Close();
3774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3775 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3776 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3777 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert,
true)]
3778 public virtual int Insert(
int p1,
string p2,
string p3,
string p4,
string p5) {
3779 this.Adapter.InsertCommand.Parameters[0].Value = ((int)(p1));
3781 this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
3784 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
3787 this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value;
3790 this.Adapter.InsertCommand.Parameters[2].Value = ((string)(p3));
3793 this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value;
3796 this.Adapter.InsertCommand.Parameters[3].Value = ((string)(p4));
3799 this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
3802 this.Adapter.InsertCommand.Parameters[4].Value = ((string)(p5));
3804 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
3805 if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
3806 != global::System.Data.ConnectionState.Open)) {
3807 this.Adapter.InsertCommand.Connection.Open();
3810 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
3814 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3815 this.Adapter.InsertCommand.Connection.Close();
3820 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3821 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3822 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3823 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update,
true)]
3824 public virtual int Update(
int p1,
string p2,
string p3,
string p4,
string p5,
int p6,
int p7,
string p9,
string p11,
string p13,
string p15) {
3825 this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(p1));
3827 this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
3830 this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(p2));
3833 this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value;
3836 this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(p3));
3839 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
3842 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
3845 this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
3848 this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(p5));
3850 this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(p6));
3851 this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(p7));
3853 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(1));
3854 this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
3857 this.Adapter.UpdateCommand.Parameters[7].Value = ((object)(0));
3858 this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(p9));
3860 if ((p11 ==
null)) {
3861 this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(1));
3862 this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value;
3865 this.Adapter.UpdateCommand.Parameters[9].Value = ((object)(0));
3866 this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(p11));
3868 if ((p13 ==
null)) {
3869 this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
3870 this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
3873 this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
3874 this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(p13));
3876 if ((p15 ==
null)) {
3877 this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(1));
3878 this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
3881 this.Adapter.UpdateCommand.Parameters[13].Value = ((object)(0));
3882 this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(p15));
3884 global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
3885 if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
3886 != global::System.Data.ConnectionState.Open)) {
3887 this.Adapter.UpdateCommand.Connection.Open();
3890 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
3894 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
3895 this.Adapter.UpdateCommand.Connection.Close();
3904 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
3905 [global::System.ComponentModel.ToolboxItem(
true)]
3906 [global::System.ComponentModel.DataObjectAttribute(
true)]
3907 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
3908 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
3909 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
3912 private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
3914 private global::MySql.Data.MySqlClient.MySqlConnection _connection;
3916 private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
3918 private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
3920 private bool _clearBeforeFill;
3922 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3923 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3925 this.ClearBeforeFill =
true;
3928 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3929 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3930 protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
3932 if ((this._adapter ==
null)) {
3935 return this._adapter;
3939 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3940 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3941 internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
3943 if ((this._connection ==
null)) {
3944 this.InitConnection();
3946 return this._connection;
3949 this._connection = value;
3950 if ((this.Adapter.InsertCommand !=
null)) {
3951 this.Adapter.InsertCommand.Connection = value;
3953 if ((this.Adapter.DeleteCommand !=
null)) {
3954 this.Adapter.DeleteCommand.Connection = value;
3956 if ((this.Adapter.UpdateCommand !=
null)) {
3957 this.Adapter.UpdateCommand.Connection = value;
3959 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
3960 if ((this.CommandCollection[i] !=
null)) {
3961 ((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
3967 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3968 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3969 internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
3971 return this._transaction;
3974 this._transaction = value;
3975 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
3976 this.CommandCollection[i].Transaction = this._transaction;
3978 if (((this.Adapter !=
null)
3979 && (this.Adapter.DeleteCommand !=
null))) {
3980 this.Adapter.DeleteCommand.Transaction = this._transaction;
3982 if (((this.Adapter !=
null)
3983 && (this.Adapter.InsertCommand !=
null))) {
3984 this.Adapter.InsertCommand.Transaction = this._transaction;
3986 if (((this.Adapter !=
null)
3987 && (this.Adapter.UpdateCommand !=
null))) {
3988 this.Adapter.UpdateCommand.Transaction = this._transaction;
3993 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3994 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
3995 protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
3997 if ((this._commandCollection ==
null)) {
3998 this.InitCommandCollection();
4000 return this._commandCollection;
4004 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4005 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4006 public bool ClearBeforeFill {
4008 return this._clearBeforeFill;
4011 this._clearBeforeFill = value;
4015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4016 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4017 private void InitAdapter() {
4018 this._adapter =
new global::MySql.Data.MySqlClient.MySqlDataAdapter();
4019 global::System.Data.Common.DataTableMapping tableMapping =
new global::System.Data.Common.DataTableMapping();
4020 tableMapping.SourceTable =
"Table";
4021 tableMapping.DataSetTable =
"responsable";
4022 tableMapping.ColumnMappings.Add(
"login",
"login");
4023 tableMapping.ColumnMappings.Add(
"pwd",
"pwd");
4024 this._adapter.TableMappings.Add(tableMapping);
4025 this._adapter.InsertCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
4026 this._adapter.InsertCommand.Connection = this.Connection;
4027 this._adapter.InsertCommand.CommandText =
"INSERT INTO `responsable` (`login`, `pwd`) VALUES (@p1, @p2)";
4028 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
4029 global::MySql.Data.MySqlClient.MySqlParameter param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4030 param.ParameterName =
"@p1";
4031 param.DbType = global::System.Data.DbType.String;
4032 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4033 param.IsNullable =
true;
4034 param.SourceColumn =
"login";
4035 param.SourceVersion = global::System.Data.DataRowVersion.Current;
4036 this._adapter.InsertCommand.Parameters.Add(param);
4037 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4038 param.ParameterName =
"@p2";
4039 param.DbType = global::System.Data.DbType.String;
4040 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4041 param.IsNullable =
true;
4042 param.SourceColumn =
"pwd";
4043 param.SourceVersion = global::System.Data.DataRowVersion.Current;
4044 this._adapter.InsertCommand.Parameters.Add(param);
4047 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4048 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4049 private void InitConnection() {
4050 this._connection =
new global::MySql.Data.MySqlClient.MySqlConnection();
4051 this._connection.ConnectionString = global::MediaTek.Properties.Settings.Default.projetcnedConnectionString;
4054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4055 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4056 private void InitCommandCollection() {
4057 this._commandCollection =
new global::MySql.Data.MySqlClient.MySqlCommand[1];
4058 this._commandCollection[0] =
new global::MySql.Data.MySqlClient.MySqlCommand();
4059 this._commandCollection[0].Connection = this.Connection;
4060 this._commandCollection[0].CommandText =
"SELECT `login`, `pwd` FROM `responsable`";
4061 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
4064 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4065 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4066 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4067 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill,
true)]
4069 this.Adapter.SelectCommand = this.CommandCollection[0];
4070 if ((this.ClearBeforeFill ==
true)) {
4073 int returnValue = this.Adapter.Fill(dataTable);
4077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4078 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4079 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4080 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select,
true)]
4082 this.Adapter.SelectCommand = this.CommandCollection[0];
4084 this.Adapter.Fill(dataTable);
4088 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4089 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4090 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4092 return this.Adapter.Update(dataTable);
4095 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4096 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4097 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4099 return this.Adapter.Update(dataSet,
"responsable");
4102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4103 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4104 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4105 public virtual int Update(global::System.Data.DataRow dataRow) {
4106 return this.Adapter.Update(
new global::System.Data.DataRow[] {
4110 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4111 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4112 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4113 public virtual int Update(global::System.Data.DataRow[] dataRows) {
4114 return this.Adapter.Update(dataRows);
4117 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4118 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4119 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4120 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert,
true)]
4121 public virtual int Insert(
string p1,
string p2) {
4123 throw new global::System.ArgumentNullException(
"p1");
4126 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
4129 throw new global::System.ArgumentNullException(
"p2");
4132 this.Adapter.InsertCommand.Parameters[1].Value = ((string)(p2));
4134 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
4135 if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
4136 != global::System.Data.ConnectionState.Open)) {
4137 this.Adapter.InsertCommand.Connection.Open();
4140 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
4144 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
4145 this.Adapter.InsertCommand.Connection.Close();
4154 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
4155 [global::System.ComponentModel.ToolboxItem(
true)]
4156 [global::System.ComponentModel.DataObjectAttribute(
true)]
4157 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
4158 ", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
4159 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4162 private global::MySql.Data.MySqlClient.MySqlDataAdapter _adapter;
4164 private global::MySql.Data.MySqlClient.MySqlConnection _connection;
4166 private global::MySql.Data.MySqlClient.MySqlTransaction _transaction;
4168 private global::MySql.Data.MySqlClient.MySqlCommand[] _commandCollection;
4170 private bool _clearBeforeFill;
4172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4173 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4175 this.ClearBeforeFill =
true;
4178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4179 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4180 protected internal global::MySql.Data.MySqlClient.MySqlDataAdapter Adapter {
4182 if ((this._adapter ==
null)) {
4185 return this._adapter;
4189 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4190 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4191 internal global::MySql.Data.MySqlClient.MySqlConnection Connection {
4193 if ((this._connection ==
null)) {
4194 this.InitConnection();
4196 return this._connection;
4199 this._connection = value;
4200 if ((this.Adapter.InsertCommand !=
null)) {
4201 this.Adapter.InsertCommand.Connection = value;
4203 if ((this.Adapter.DeleteCommand !=
null)) {
4204 this.Adapter.DeleteCommand.Connection = value;
4206 if ((this.Adapter.UpdateCommand !=
null)) {
4207 this.Adapter.UpdateCommand.Connection = value;
4209 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
4210 if ((this.CommandCollection[i] !=
null)) {
4211 ((global::MySql.Data.MySqlClient.MySqlCommand)(this.CommandCollection[i])).Connection = value;
4217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4218 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4219 internal global::MySql.Data.MySqlClient.MySqlTransaction Transaction {
4221 return this._transaction;
4224 this._transaction = value;
4225 for (
int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
4226 this.CommandCollection[i].Transaction = this._transaction;
4228 if (((this.Adapter !=
null)
4229 && (this.Adapter.DeleteCommand !=
null))) {
4230 this.Adapter.DeleteCommand.Transaction = this._transaction;
4232 if (((this.Adapter !=
null)
4233 && (this.Adapter.InsertCommand !=
null))) {
4234 this.Adapter.InsertCommand.Transaction = this._transaction;
4236 if (((this.Adapter !=
null)
4237 && (this.Adapter.UpdateCommand !=
null))) {
4238 this.Adapter.UpdateCommand.Transaction = this._transaction;
4243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4244 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4245 protected global::MySql.Data.MySqlClient.MySqlCommand[] CommandCollection {
4247 if ((this._commandCollection ==
null)) {
4248 this.InitCommandCollection();
4250 return this._commandCollection;
4254 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4255 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4256 public bool ClearBeforeFill {
4258 return this._clearBeforeFill;
4261 this._clearBeforeFill = value;
4265 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4266 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4267 private void InitAdapter() {
4268 this._adapter =
new global::MySql.Data.MySqlClient.MySqlDataAdapter();
4269 global::System.Data.Common.DataTableMapping tableMapping =
new global::System.Data.Common.DataTableMapping();
4270 tableMapping.SourceTable =
"Table";
4271 tableMapping.DataSetTable =
"service";
4272 tableMapping.ColumnMappings.Add(
"IDSERVICE",
"IDSERVICE");
4273 tableMapping.ColumnMappings.Add(
"NOM",
"NOM");
4274 this._adapter.TableMappings.Add(tableMapping);
4275 this._adapter.DeleteCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
4276 this._adapter.DeleteCommand.Connection = this.Connection;
4277 this._adapter.DeleteCommand.CommandText =
"DELETE FROM `service` WHERE ((`IDSERVICE` = @p1) AND ((@p2 = 1 AND `NOM` IS NULL)" +
4278 " OR (`NOM` = @p3)))";
4279 this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
4280 global::MySql.Data.MySqlClient.MySqlParameter param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4281 param.ParameterName =
"@p1";
4282 param.DbType = global::System.Data.DbType.Int32;
4283 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
4284 param.IsNullable =
true;
4285 param.SourceColumn =
"IDSERVICE";
4286 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4287 this._adapter.DeleteCommand.Parameters.Add(param);
4288 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4289 param.ParameterName =
"@p2";
4290 param.DbType = global::System.Data.DbType.Int32;
4291 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
4292 param.IsNullable =
true;
4293 param.SourceColumn =
"NOM";
4294 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4295 param.SourceColumnNullMapping =
true;
4296 this._adapter.DeleteCommand.Parameters.Add(param);
4297 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4298 param.ParameterName =
"@p3";
4299 param.DbType = global::System.Data.DbType.String;
4300 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4301 param.IsNullable =
true;
4302 param.SourceColumn =
"NOM";
4303 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4304 this._adapter.DeleteCommand.Parameters.Add(param);
4305 this._adapter.InsertCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
4306 this._adapter.InsertCommand.Connection = this.Connection;
4307 this._adapter.InsertCommand.CommandText =
"INSERT INTO `service` (`NOM`) VALUES (@p1)";
4308 this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
4309 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4310 param.ParameterName =
"@p1";
4311 param.DbType = global::System.Data.DbType.String;
4312 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4313 param.IsNullable =
true;
4314 param.SourceColumn =
"NOM";
4315 param.SourceVersion = global::System.Data.DataRowVersion.Current;
4316 this._adapter.InsertCommand.Parameters.Add(param);
4317 this._adapter.UpdateCommand =
new global::MySql.Data.MySqlClient.MySqlCommand();
4318 this._adapter.UpdateCommand.Connection = this.Connection;
4319 this._adapter.UpdateCommand.CommandText =
"UPDATE `service` SET `NOM` = @p1 WHERE ((`IDSERVICE` = @p2) AND ((@p3 = 1 AND `NO" +
4320 "M` IS NULL) OR (`NOM` = @p4)))";
4321 this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
4322 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4323 param.ParameterName =
"@p1";
4324 param.DbType = global::System.Data.DbType.String;
4325 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4326 param.IsNullable =
true;
4327 param.SourceColumn =
"NOM";
4328 param.SourceVersion = global::System.Data.DataRowVersion.Current;
4329 this._adapter.UpdateCommand.Parameters.Add(param);
4330 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4331 param.ParameterName =
"@p2";
4332 param.DbType = global::System.Data.DbType.Int32;
4333 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
4334 param.IsNullable =
true;
4335 param.SourceColumn =
"IDSERVICE";
4336 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4337 this._adapter.UpdateCommand.Parameters.Add(param);
4338 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4339 param.ParameterName =
"@p3";
4340 param.DbType = global::System.Data.DbType.Int32;
4341 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.Int32;
4342 param.IsNullable =
true;
4343 param.SourceColumn =
"NOM";
4344 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4345 param.SourceColumnNullMapping =
true;
4346 this._adapter.UpdateCommand.Parameters.Add(param);
4347 param =
new global::MySql.Data.MySqlClient.MySqlParameter();
4348 param.ParameterName =
"@p4";
4349 param.DbType = global::System.Data.DbType.String;
4350 param.MySqlDbType = global::MySql.Data.MySqlClient.MySqlDbType.VarChar;
4351 param.IsNullable =
true;
4352 param.SourceColumn =
"NOM";
4353 param.SourceVersion = global::System.Data.DataRowVersion.Original;
4354 this._adapter.UpdateCommand.Parameters.Add(param);
4357 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4358 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4359 private void InitConnection() {
4360 this._connection =
new global::MySql.Data.MySqlClient.MySqlConnection();
4361 this._connection.ConnectionString = global::MediaTek.Properties.Settings.Default.projetcnedConnectionString;
4364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4365 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4366 private void InitCommandCollection() {
4367 this._commandCollection =
new global::MySql.Data.MySqlClient.MySqlCommand[1];
4368 this._commandCollection[0] =
new global::MySql.Data.MySqlClient.MySqlCommand();
4369 this._commandCollection[0].Connection = this.Connection;
4370 this._commandCollection[0].CommandText =
"SELECT `IDSERVICE`, `NOM` FROM `service`";
4371 this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
4374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4375 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4376 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4377 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill,
true)]
4379 this.Adapter.SelectCommand = this.CommandCollection[0];
4380 if ((this.ClearBeforeFill ==
true)) {
4383 int returnValue = this.Adapter.Fill(dataTable);
4387 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4388 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4389 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4390 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select,
true)]
4392 this.Adapter.SelectCommand = this.CommandCollection[0];
4394 this.Adapter.Fill(dataTable);
4398 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4399 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4400 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4402 return this.Adapter.Update(dataTable);
4405 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4406 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4407 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4409 return this.Adapter.Update(dataSet,
"service");
4412 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4413 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4414 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4415 public virtual int Update(global::System.Data.DataRow dataRow) {
4416 return this.Adapter.Update(
new global::System.Data.DataRow[] {
4420 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4421 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4422 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4423 public virtual int Update(global::System.Data.DataRow[] dataRows) {
4424 return this.Adapter.Update(dataRows);
4427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4428 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4429 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4430 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete,
true)]
4431 public virtual int Delete(
int p1,
string p3) {
4432 this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(p1));
4434 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
4435 this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value;
4438 this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0));
4439 this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(p3));
4441 global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
4442 if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
4443 != global::System.Data.ConnectionState.Open)) {
4444 this.Adapter.DeleteCommand.Connection.Open();
4447 int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
4451 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
4452 this.Adapter.DeleteCommand.Connection.Close();
4457 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4458 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4459 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4460 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert,
true)]
4461 public virtual int Insert(
string p1) {
4463 this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
4466 this.Adapter.InsertCommand.Parameters[0].Value = ((string)(p1));
4468 global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
4469 if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
4470 != global::System.Data.ConnectionState.Open)) {
4471 this.Adapter.InsertCommand.Connection.Open();
4474 int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
4478 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
4479 this.Adapter.InsertCommand.Connection.Close();
4484 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4485 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4486 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapter")]
4487 [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update,
true)]
4488 public virtual int Update(
string p1,
int p2,
string p4) {
4490 this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
4493 this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(p1));
4495 this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(p2));
4497 this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(1));
4498 this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value;
4501 this.Adapter.UpdateCommand.Parameters[2].Value = ((object)(0));
4502 this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(p4));
4504 global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
4505 if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
4506 != global::System.Data.ConnectionState.Open)) {
4507 this.Adapter.UpdateCommand.Connection.Open();
4510 int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
4514 if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
4515 this.Adapter.UpdateCommand.Connection.Close();
4524 [global::System.ComponentModel.DesignerCategoryAttribute(
"code")]
4525 [global::System.ComponentModel.ToolboxItem(
true)]
4526 [global::System.ComponentModel.DesignerAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerDesigner, Microsoft.VSD" +
4527 "esigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
4528 [global::System.ComponentModel.Design.HelpKeywordAttribute(
"vs.data.TableAdapterManager")]
4543 private bool _backupDataSetBeforeUpdate;
4545 private global::System.Data.IDbConnection _connection;
4547 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4548 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4551 return this._updateOrder;
4554 this._updateOrder = value;
4558 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4559 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4560 [global::System.ComponentModel.EditorAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
4561 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
4562 "a",
"System.Drawing.Design.UITypeEditor")]
4565 return this._absenceTableAdapter;
4568 this._absenceTableAdapter = value;
4572 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4573 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4574 [global::System.ComponentModel.EditorAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
4575 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
4576 "a",
"System.Drawing.Design.UITypeEditor")]
4579 return this._motifTableAdapter;
4582 this._motifTableAdapter = value;
4586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4587 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4588 [global::System.ComponentModel.EditorAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
4589 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
4590 "a",
"System.Drawing.Design.UITypeEditor")]
4593 return this._personnelTableAdapter;
4596 this._personnelTableAdapter = value;
4600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4601 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4602 [global::System.ComponentModel.EditorAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
4603 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
4604 "a",
"System.Drawing.Design.UITypeEditor")]
4607 return this._responsableTableAdapter;
4610 this._responsableTableAdapter = value;
4614 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4615 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4616 [global::System.ComponentModel.EditorAttribute(
"Microsoft.VSDesigner.DataSource.Design.TableAdapterManagerPropertyEditor, Microso" +
4617 "ft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3" +
4618 "a",
"System.Drawing.Design.UITypeEditor")]
4621 return this._serviceTableAdapter;
4624 this._serviceTableAdapter = value;
4628 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4629 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4630 public bool BackupDataSetBeforeUpdate {
4632 return this._backupDataSetBeforeUpdate;
4635 this._backupDataSetBeforeUpdate = value;
4639 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4640 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4641 [global::System.ComponentModel.Browsable(
false)]
4642 public global::System.Data.IDbConnection Connection {
4644 if ((this._connection !=
null)) {
4645 return this._connection;
4647 if (((this._absenceTableAdapter !=
null)
4648 && (this._absenceTableAdapter.Connection !=
null))) {
4649 return this._absenceTableAdapter.Connection;
4651 if (((this._motifTableAdapter !=
null)
4652 && (this._motifTableAdapter.Connection !=
null))) {
4653 return this._motifTableAdapter.Connection;
4655 if (((this._personnelTableAdapter !=
null)
4656 && (this._personnelTableAdapter.Connection !=
null))) {
4657 return this._personnelTableAdapter.Connection;
4659 if (((this._responsableTableAdapter !=
null)
4660 && (this._responsableTableAdapter.Connection !=
null))) {
4661 return this._responsableTableAdapter.Connection;
4663 if (((this._serviceTableAdapter !=
null)
4664 && (this._serviceTableAdapter.Connection !=
null))) {
4665 return this._serviceTableAdapter.Connection;
4670 this._connection = value;
4674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4675 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4676 [global::System.ComponentModel.Browsable(
false)]
4677 public int TableAdapterInstanceCount {
4680 if ((this._absenceTableAdapter !=
null)) {
4681 count = (count + 1);
4683 if ((this._motifTableAdapter !=
null)) {
4684 count = (count + 1);
4686 if ((this._personnelTableAdapter !=
null)) {
4687 count = (count + 1);
4689 if ((this._responsableTableAdapter !=
null)) {
4690 count = (count + 1);
4692 if ((this._serviceTableAdapter !=
null)) {
4693 count = (count + 1);
4702 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4703 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4704 private int UpdateUpdatedRows(
projetcnedDataSet dataSet, global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
4706 if ((this._absenceTableAdapter !=
null)) {
4707 global::System.Data.DataRow[] updatedRows = dataSet.absence.Select(
null,
null, global::System.Data.DataViewRowState.ModifiedCurrent);
4709 if (((updatedRows !=
null)
4710 && (0 < updatedRows.Length))) {
4711 result = (result + this._absenceTableAdapter.Update(updatedRows));
4712 allChangedRows.AddRange(updatedRows);
4715 if ((this._motifTableAdapter !=
null)) {
4716 global::System.Data.DataRow[] updatedRows = dataSet.motif.Select(
null,
null, global::System.Data.DataViewRowState.ModifiedCurrent);
4718 if (((updatedRows !=
null)
4719 && (0 < updatedRows.Length))) {
4720 result = (result + this._motifTableAdapter.Update(updatedRows));
4721 allChangedRows.AddRange(updatedRows);
4724 if ((this._personnelTableAdapter !=
null)) {
4725 global::System.Data.DataRow[] updatedRows = dataSet.personnel.Select(
null,
null, global::System.Data.DataViewRowState.ModifiedCurrent);
4727 if (((updatedRows !=
null)
4728 && (0 < updatedRows.Length))) {
4729 result = (result + this._personnelTableAdapter.Update(updatedRows));
4730 allChangedRows.AddRange(updatedRows);
4733 if ((this._responsableTableAdapter !=
null)) {
4734 global::System.Data.DataRow[] updatedRows = dataSet.responsable.Select(
null,
null, global::System.Data.DataViewRowState.ModifiedCurrent);
4736 if (((updatedRows !=
null)
4737 && (0 < updatedRows.Length))) {
4738 result = (result + this._responsableTableAdapter.Update(updatedRows));
4739 allChangedRows.AddRange(updatedRows);
4742 if ((this._serviceTableAdapter !=
null)) {
4743 global::System.Data.DataRow[] updatedRows = dataSet.service.Select(
null,
null, global::System.Data.DataViewRowState.ModifiedCurrent);
4745 if (((updatedRows !=
null)
4746 && (0 < updatedRows.Length))) {
4747 result = (result + this._serviceTableAdapter.Update(updatedRows));
4748 allChangedRows.AddRange(updatedRows);
4757 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4758 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4761 if ((this._absenceTableAdapter !=
null)) {
4762 global::System.Data.DataRow[] addedRows = dataSet.absence.Select(
null,
null, global::System.Data.DataViewRowState.Added);
4763 if (((addedRows !=
null)
4764 && (0 < addedRows.Length))) {
4765 result = (result + this._absenceTableAdapter.Update(addedRows));
4766 allAddedRows.AddRange(addedRows);
4769 if ((this._motifTableAdapter !=
null)) {
4770 global::System.Data.DataRow[] addedRows = dataSet.motif.Select(
null,
null, global::System.Data.DataViewRowState.Added);
4771 if (((addedRows !=
null)
4772 && (0 < addedRows.Length))) {
4773 result = (result + this._motifTableAdapter.Update(addedRows));
4774 allAddedRows.AddRange(addedRows);
4777 if ((this._personnelTableAdapter !=
null)) {
4778 global::System.Data.DataRow[] addedRows = dataSet.personnel.Select(
null,
null, global::System.Data.DataViewRowState.Added);
4779 if (((addedRows !=
null)
4780 && (0 < addedRows.Length))) {
4781 result = (result + this._personnelTableAdapter.Update(addedRows));
4782 allAddedRows.AddRange(addedRows);
4785 if ((this._responsableTableAdapter !=
null)) {
4786 global::System.Data.DataRow[] addedRows = dataSet.responsable.Select(
null,
null, global::System.Data.DataViewRowState.Added);
4787 if (((addedRows !=
null)
4788 && (0 < addedRows.Length))) {
4789 result = (result + this._responsableTableAdapter.Update(addedRows));
4790 allAddedRows.AddRange(addedRows);
4793 if ((this._serviceTableAdapter !=
null)) {
4794 global::System.Data.DataRow[] addedRows = dataSet.service.Select(
null,
null, global::System.Data.DataViewRowState.Added);
4795 if (((addedRows !=
null)
4796 && (0 < addedRows.Length))) {
4797 result = (result + this._serviceTableAdapter.Update(addedRows));
4798 allAddedRows.AddRange(addedRows);
4807 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4808 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4811 if ((this._serviceTableAdapter !=
null)) {
4812 global::System.Data.DataRow[] deletedRows = dataSet.service.Select(
null,
null, global::System.Data.DataViewRowState.Deleted);
4813 if (((deletedRows !=
null)
4814 && (0 < deletedRows.Length))) {
4815 result = (result + this._serviceTableAdapter.Update(deletedRows));
4816 allChangedRows.AddRange(deletedRows);
4819 if ((this._responsableTableAdapter !=
null)) {
4820 global::System.Data.DataRow[] deletedRows = dataSet.responsable.Select(
null,
null, global::System.Data.DataViewRowState.Deleted);
4821 if (((deletedRows !=
null)
4822 && (0 < deletedRows.Length))) {
4823 result = (result + this._responsableTableAdapter.Update(deletedRows));
4824 allChangedRows.AddRange(deletedRows);
4827 if ((this._personnelTableAdapter !=
null)) {
4828 global::System.Data.DataRow[] deletedRows = dataSet.personnel.Select(
null,
null, global::System.Data.DataViewRowState.Deleted);
4829 if (((deletedRows !=
null)
4830 && (0 < deletedRows.Length))) {
4831 result = (result + this._personnelTableAdapter.Update(deletedRows));
4832 allChangedRows.AddRange(deletedRows);
4835 if ((this._motifTableAdapter !=
null)) {
4836 global::System.Data.DataRow[] deletedRows = dataSet.motif.Select(
null,
null, global::System.Data.DataViewRowState.Deleted);
4837 if (((deletedRows !=
null)
4838 && (0 < deletedRows.Length))) {
4839 result = (result + this._motifTableAdapter.Update(deletedRows));
4840 allChangedRows.AddRange(deletedRows);
4843 if ((this._absenceTableAdapter !=
null)) {
4844 global::System.Data.DataRow[] deletedRows = dataSet.absence.Select(
null,
null, global::System.Data.DataViewRowState.Deleted);
4845 if (((deletedRows !=
null)
4846 && (0 < deletedRows.Length))) {
4847 result = (result + this._absenceTableAdapter.Update(deletedRows));
4848 allChangedRows.AddRange(deletedRows);
4857 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4858 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4859 private global::System.Data.DataRow[]
GetRealUpdatedRows(global::System.Data.DataRow[] updatedRows, global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows) {
4860 if (((updatedRows ==
null)
4861 || (updatedRows.Length < 1))) {
4864 if (((allAddedRows ==
null)
4865 || (allAddedRows.Count < 1))) {
4868 global::System.Collections.Generic.List<global::System.Data.DataRow> realUpdatedRows =
new global::System.Collections.Generic.List<global::System.Data.DataRow>();
4869 for (
int i = 0; (i < updatedRows.Length); i = (i + 1)) {
4870 global::System.Data.DataRow row = updatedRows[i];
4871 if ((allAddedRows.Contains(row) ==
false)) {
4872 realUpdatedRows.Add(row);
4875 return realUpdatedRows.ToArray();
4881 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4882 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
4884 if ((dataSet ==
null)) {
4885 throw new global::System.ArgumentNullException(
"dataSet");
4887 if ((dataSet.HasChanges() ==
false)) {
4890 if (((this._absenceTableAdapter !=
null)
4891 && (this.MatchTableAdapterConnection(this._absenceTableAdapter.Connection) ==
false))) {
4892 throw new global::System.ArgumentException(
"Tous les TableAdapters managés par un TableAdapterManager doivent utiliser la mêm" +
4893 "e chaîne de connexion.");
4895 if (((this._motifTableAdapter !=
null)
4896 && (this.MatchTableAdapterConnection(this._motifTableAdapter.Connection) ==
false))) {
4897 throw new global::System.ArgumentException(
"Tous les TableAdapters managés par un TableAdapterManager doivent utiliser la mêm" +
4898 "e chaîne de connexion.");
4900 if (((this._personnelTableAdapter !=
null)
4901 && (this.MatchTableAdapterConnection(this._personnelTableAdapter.Connection) ==
false))) {
4902 throw new global::System.ArgumentException(
"Tous les TableAdapters managés par un TableAdapterManager doivent utiliser la mêm" +
4903 "e chaîne de connexion.");
4905 if (((this._responsableTableAdapter !=
null)
4906 && (this.MatchTableAdapterConnection(this._responsableTableAdapter.Connection) ==
false))) {
4907 throw new global::System.ArgumentException(
"Tous les TableAdapters managés par un TableAdapterManager doivent utiliser la mêm" +
4908 "e chaîne de connexion.");
4910 if (((this._serviceTableAdapter !=
null)
4911 && (this.MatchTableAdapterConnection(this._serviceTableAdapter.Connection) ==
false))) {
4912 throw new global::System.ArgumentException(
"Tous les TableAdapters managés par un TableAdapterManager doivent utiliser la mêm" +
4913 "e chaîne de connexion.");
4915 global::System.Data.IDbConnection workConnection = this.Connection;
4916 if ((workConnection ==
null)) {
4917 throw new global::System.ApplicationException(
"TableAdapterManager ne contient pas d\'informations de connexion. Définissez chaqu" +
4918 "e propriété TableAdapterManager TableAdapter à une instance valide de TableAdapt" +
4921 bool workConnOpened =
false;
4922 if (((workConnection.State & global::System.Data.ConnectionState.Broken)
4923 == global::System.Data.ConnectionState.Broken)) {
4924 workConnection.Close();
4926 if ((workConnection.State == global::System.Data.ConnectionState.Closed)) {
4927 workConnection.Open();
4928 workConnOpened =
true;
4930 global::System.Data.IDbTransaction workTransaction = workConnection.BeginTransaction();
4931 if ((workTransaction ==
null)) {
4932 throw new global::System.ApplicationException(
"La transaction ne peut pas commencer. La connexion de données actuelle ne prend p" +
4933 "as en charge les transactions ou l\'état actuel n\'autorise pas le début de la tra" +
4936 global::System.Collections.Generic.List<global::System.Data.DataRow> allChangedRows =
new global::System.Collections.Generic.List<global::System.Data.DataRow>();
4937 global::System.Collections.Generic.List<global::System.Data.DataRow> allAddedRows =
new global::System.Collections.Generic.List<global::System.Data.DataRow>();
4938 global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter> adaptersWithAcceptChangesDuringUpdate =
new global::System.Collections.Generic.List<global::System.Data.Common.DataAdapter>();
4939 global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection> revertConnections =
new global::System.Collections.Generic.Dictionary<object, global::System.Data.IDbConnection>();
4941 global::System.Data.DataSet backupDataSet =
null;
4942 if (this.BackupDataSetBeforeUpdate) {
4943 backupDataSet =
new global::System.Data.DataSet();
4944 backupDataSet.Merge(dataSet);
4949 if ((this._absenceTableAdapter !=
null)) {
4950 revertConnections.Add(this._absenceTableAdapter, this._absenceTableAdapter.Connection);
4951 this._absenceTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
4952 this._absenceTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
4953 if (this._absenceTableAdapter.Adapter.AcceptChangesDuringUpdate) {
4954 this._absenceTableAdapter.Adapter.AcceptChangesDuringUpdate =
false;
4955 adaptersWithAcceptChangesDuringUpdate.Add(this._absenceTableAdapter.Adapter);
4958 if ((this._motifTableAdapter !=
null)) {
4959 revertConnections.Add(this._motifTableAdapter, this._motifTableAdapter.Connection);
4960 this._motifTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
4961 this._motifTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
4962 if (this._motifTableAdapter.Adapter.AcceptChangesDuringUpdate) {
4963 this._motifTableAdapter.Adapter.AcceptChangesDuringUpdate =
false;
4964 adaptersWithAcceptChangesDuringUpdate.Add(this._motifTableAdapter.Adapter);
4967 if ((this._personnelTableAdapter !=
null)) {
4968 revertConnections.Add(this._personnelTableAdapter, this._personnelTableAdapter.Connection);
4969 this._personnelTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
4970 this._personnelTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
4971 if (this._personnelTableAdapter.Adapter.AcceptChangesDuringUpdate) {
4972 this._personnelTableAdapter.Adapter.AcceptChangesDuringUpdate =
false;
4973 adaptersWithAcceptChangesDuringUpdate.Add(this._personnelTableAdapter.Adapter);
4976 if ((this._responsableTableAdapter !=
null)) {
4977 revertConnections.Add(this._responsableTableAdapter, this._responsableTableAdapter.Connection);
4978 this._responsableTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
4979 this._responsableTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
4980 if (this._responsableTableAdapter.Adapter.AcceptChangesDuringUpdate) {
4981 this._responsableTableAdapter.Adapter.AcceptChangesDuringUpdate =
false;
4982 adaptersWithAcceptChangesDuringUpdate.Add(this._responsableTableAdapter.Adapter);
4985 if ((this._serviceTableAdapter !=
null)) {
4986 revertConnections.Add(this._serviceTableAdapter, this._serviceTableAdapter.Connection);
4987 this._serviceTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(workConnection));
4988 this._serviceTableAdapter.Transaction = ((global::MySql.Data.MySqlClient.MySqlTransaction)(workTransaction));
4989 if (this._serviceTableAdapter.Adapter.AcceptChangesDuringUpdate) {
4990 this._serviceTableAdapter.Adapter.AcceptChangesDuringUpdate =
false;
4991 adaptersWithAcceptChangesDuringUpdate.Add(this._serviceTableAdapter.Adapter);
4998 result = (result + this.
UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
5003 result = (result + this.
UpdateUpdatedRows(dataSet, allChangedRows, allAddedRows));
5009 workTransaction.Commit();
5010 if ((0 < allAddedRows.Count)) {
5011 global::System.Data.DataRow[] rows =
new System.Data.DataRow[allAddedRows.Count];
5012 allAddedRows.CopyTo(rows);
5013 for (
int i = 0; (i < rows.Length); i = (i + 1)) {
5014 global::System.Data.DataRow row = rows[i];
5015 row.AcceptChanges();
5018 if ((0 < allChangedRows.Count)) {
5019 global::System.Data.DataRow[] rows =
new System.Data.DataRow[allChangedRows.Count];
5020 allChangedRows.CopyTo(rows);
5021 for (
int i = 0; (i < rows.Length); i = (i + 1)) {
5022 global::System.Data.DataRow row = rows[i];
5023 row.AcceptChanges();
5027 catch (global::System.Exception ex) {
5028 workTransaction.Rollback();
5030 if (this.BackupDataSetBeforeUpdate) {
5031 global::System.Diagnostics.Debug.Assert((backupDataSet !=
null));
5033 dataSet.Merge(backupDataSet);
5036 if ((0 < allAddedRows.Count)) {
5037 global::System.Data.DataRow[] rows =
new System.Data.DataRow[allAddedRows.Count];
5038 allAddedRows.CopyTo(rows);
5039 for (
int i = 0; (i < rows.Length); i = (i + 1)) {
5040 global::System.Data.DataRow row = rows[i];
5041 row.AcceptChanges();
5049 if (workConnOpened) {
5050 workConnection.Close();
5052 if ((this._absenceTableAdapter !=
null)) {
5053 this._absenceTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._absenceTableAdapter]));
5054 this._absenceTableAdapter.Transaction =
null;
5056 if ((this._motifTableAdapter !=
null)) {
5057 this._motifTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._motifTableAdapter]));
5058 this._motifTableAdapter.Transaction =
null;
5060 if ((this._personnelTableAdapter !=
null)) {
5061 this._personnelTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._personnelTableAdapter]));
5062 this._personnelTableAdapter.Transaction =
null;
5064 if ((this._responsableTableAdapter !=
null)) {
5065 this._responsableTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._responsableTableAdapter]));
5066 this._responsableTableAdapter.Transaction =
null;
5068 if ((this._serviceTableAdapter !=
null)) {
5069 this._serviceTableAdapter.Connection = ((global::MySql.Data.MySqlClient.MySqlConnection)(revertConnections[this._serviceTableAdapter]));
5070 this._serviceTableAdapter.Transaction =
null;
5072 if ((0 < adaptersWithAcceptChangesDuringUpdate.Count)) {
5073 global::System.Data.Common.DataAdapter[] adapters =
new System.Data.Common.DataAdapter[adaptersWithAcceptChangesDuringUpdate.Count];
5074 adaptersWithAcceptChangesDuringUpdate.CopyTo(adapters);
5075 for (
int i = 0; (i < adapters.Length); i = (i + 1)) {
5076 global::System.Data.Common.DataAdapter adapter = adapters[i];
5077 adapter.AcceptChangesDuringUpdate =
true;
5084 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5085 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5086 protected virtual void SortSelfReferenceRows(global::System.Data.DataRow[] rows, global::System.Data.DataRelation relation,
bool childFirst) {
5087 global::System.Array.Sort<global::System.Data.DataRow>(rows,
new SelfReferenceComparer(relation, childFirst));
5090 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5091 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5092 protected virtual bool MatchTableAdapterConnection(global::System.Data.IDbConnection inputConnection) {
5093 if ((this._connection !=
null)) {
5096 if (((this.Connection ==
null)
5097 || (inputConnection ==
null))) {
5100 if (
string.Equals(this.Connection.ConnectionString, inputConnection.ConnectionString, global::System.StringComparison.Ordinal)) {
5109 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5112 InsertUpdateDelete = 0,
5114 UpdateInsertDelete = 1,
5120 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5121 private class SelfReferenceComparer : object, global::System.Collections.Generic.IComparer<global::System.Data.DataRow> {
5123 private global::System.Data.DataRelation _relation;
5125 private int _childFirst;
5127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5128 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5130 this._relation = relation;
5132 this._childFirst = -1;
5135 this._childFirst = 1;
5139 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5140 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5141 private global::System.Data.DataRow GetRoot(global::System.Data.DataRow row, out
int distance) {
5142 global::System.Diagnostics.Debug.Assert((row !=
null));
5143 global::System.Data.DataRow root = row;
5146 global::System.Collections.Generic.IDictionary<global::System.Data.DataRow, global::System.Data.DataRow> traversedRows =
new global::System.Collections.Generic.Dictionary<global::System.Data.DataRow, global::System.Data.DataRow>();
5147 traversedRows[row] = row;
5149 global::System.Data.DataRow parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
5152 && (traversedRows.ContainsKey(parent) ==
false));
5154 distance = (distance + 1);
5156 traversedRows[parent] = parent;
5157 parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Default);
5160 if ((distance == 0)) {
5161 traversedRows.Clear();
5162 traversedRows[row] = row;
5163 parent = row.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
5166 && (traversedRows.ContainsKey(parent) ==
false));
5168 distance = (distance + 1);
5170 traversedRows[parent] = parent;
5171 parent = parent.GetParentRow(this._relation, global::System.Data.DataRowVersion.Original);
5178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5179 [global::System.CodeDom.Compiler.GeneratedCodeAttribute(
"System.Data.Design.TypedDataSetGenerator",
"16.0.0.0")]
5180 public int Compare(global::System.Data.DataRow row1, global::System.Data.DataRow row2) {
5181 if (
object.ReferenceEquals(row1, row2)) {
5184 if ((row1 ==
null)) {
5187 if ((row2 ==
null)) {
5192 global::System.Data.DataRow root1 = this.GetRoot(row1, out distance1);
5195 global::System.Data.DataRow root2 = this.GetRoot(row2, out distance2);
5197 if (
object.ReferenceEquals(root1, root2)) {
5198 return (this._childFirst * distance1.CompareTo(distance2));
5201 global::System.Diagnostics.Debug.Assert(((root1.Table !=
null)
5202 && (root2.Table !=
null)));
5203 if ((root1.Table.Rows.IndexOf(root1) < root2.Table.Rows.IndexOf(root2))) {
5215#pragma warning restore 1591