//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:2.0.50727.1433 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ #pragma warning disable 1591 namespace BazaZamowien { /// ///Represents a strongly typed in-memory cache of data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedDataSetSchema")] [global::System.Xml.Serialization.XmlRootAttribute("PREMIEDataSet")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.DataSet")] public partial class PREMIEDataSet : global::System.Data.DataSet { private EMailsBodyDataTable tableEMailsBody; private LOGOSDataTable tableLOGOS; private PREMIE2DataTable tablePREMIE2; private CurrentEMailBodyDataTable tableCurrentEMailBody; private Interface_PracownicyDataTable tableInterface_Pracownicy; private Interface_TytulyDataTable tableInterface_Tytuly; private KierownicyDataTable tableKierownicy; private Premie_EMailDataDataTable tablePremie_EMailData; private Premie_LastMonthBezEMailiDataTable tablePremie_LastMonthBezEMaili; private PREMIE_MIESIECZNIEDataTable tablePREMIE_MIESIECZNIE; private PREMIE_PRACOWNIKDataTable tablePREMIE_PRACOWNIK; private PREMIE_ROCZNIEDataTable tablePREMIE_ROCZNIE; private view_CT_PracownicyDataTable tableview_CT_Pracownicy; private view_Pracownicy_DzialDataTable tableview_Pracownicy_Dzial; private view_Pracownicy_PodwladniDataTable tableview_Pracownicy_Podwladni; private view_Pracownicy_WpisaniDataTable tableview_Pracownicy_Wpisani; private view_Pracownicy_WszyscyDataTable tableview_Pracownicy_Wszyscy; private view_Pracownicy_Wszyscy_With_NameDataTable tableview_Pracownicy_Wszyscy_With_Name; private Interface_Pracownicy2DataTable tableInterface_Pracownicy2; private WspolczynnikiDataTable tableWspolczynniki; private UsersDataTable tableUsers; private GrupyDataTable tableGrupy; private DzialyDataTable tableDzialy; private GrupaDzialDataTable tableGrupaDzial; private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIEDataSet() { this.BeginInit(); this.InitClass(); global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); base.Tables.CollectionChanged += schemaChangedHandler; base.Relations.CollectionChanged += schemaChangedHandler; this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected PREMIEDataSet(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context, false) { if ((this.IsBinarySerialized(info, context) == true)) { this.InitVars(false); global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler1 = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); this.Tables.CollectionChanged += schemaChangedHandler1; this.Relations.CollectionChanged += schemaChangedHandler1; return; } string strSchema = ((string)(info.GetValue("XmlSchema", typeof(string)))); if ((this.DetermineSchemaSerializationMode(info, context) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); if ((ds.Tables["EMailsBody"] != null)) { base.Tables.Add(new EMailsBodyDataTable(ds.Tables["EMailsBody"])); } if ((ds.Tables["LOGOS"] != null)) { base.Tables.Add(new LOGOSDataTable(ds.Tables["LOGOS"])); } if ((ds.Tables["PREMIE2"] != null)) { base.Tables.Add(new PREMIE2DataTable(ds.Tables["PREMIE2"])); } if ((ds.Tables["CurrentEMailBody"] != null)) { base.Tables.Add(new CurrentEMailBodyDataTable(ds.Tables["CurrentEMailBody"])); } if ((ds.Tables["Interface_Pracownicy"] != null)) { base.Tables.Add(new Interface_PracownicyDataTable(ds.Tables["Interface_Pracownicy"])); } if ((ds.Tables["Interface_Tytuly"] != null)) { base.Tables.Add(new Interface_TytulyDataTable(ds.Tables["Interface_Tytuly"])); } if ((ds.Tables["Kierownicy"] != null)) { base.Tables.Add(new KierownicyDataTable(ds.Tables["Kierownicy"])); } if ((ds.Tables["Premie_EMailData"] != null)) { base.Tables.Add(new Premie_EMailDataDataTable(ds.Tables["Premie_EMailData"])); } if ((ds.Tables["Premie_LastMonthBezEMaili"] != null)) { base.Tables.Add(new Premie_LastMonthBezEMailiDataTable(ds.Tables["Premie_LastMonthBezEMaili"])); } if ((ds.Tables["PREMIE_MIESIECZNIE"] != null)) { base.Tables.Add(new PREMIE_MIESIECZNIEDataTable(ds.Tables["PREMIE_MIESIECZNIE"])); } if ((ds.Tables["PREMIE_PRACOWNIK"] != null)) { base.Tables.Add(new PREMIE_PRACOWNIKDataTable(ds.Tables["PREMIE_PRACOWNIK"])); } if ((ds.Tables["PREMIE_ROCZNIE"] != null)) { base.Tables.Add(new PREMIE_ROCZNIEDataTable(ds.Tables["PREMIE_ROCZNIE"])); } if ((ds.Tables["view_CT_Pracownicy"] != null)) { base.Tables.Add(new view_CT_PracownicyDataTable(ds.Tables["view_CT_Pracownicy"])); } if ((ds.Tables["view_Pracownicy_Dzial"] != null)) { base.Tables.Add(new view_Pracownicy_DzialDataTable(ds.Tables["view_Pracownicy_Dzial"])); } if ((ds.Tables["view_Pracownicy_Podwladni"] != null)) { base.Tables.Add(new view_Pracownicy_PodwladniDataTable(ds.Tables["view_Pracownicy_Podwladni"])); } if ((ds.Tables["view_Pracownicy_Wpisani"] != null)) { base.Tables.Add(new view_Pracownicy_WpisaniDataTable(ds.Tables["view_Pracownicy_Wpisani"])); } if ((ds.Tables["view_Pracownicy_Wszyscy"] != null)) { base.Tables.Add(new view_Pracownicy_WszyscyDataTable(ds.Tables["view_Pracownicy_Wszyscy"])); } if ((ds.Tables["view_Pracownicy_Wszyscy_With_Name"] != null)) { base.Tables.Add(new view_Pracownicy_Wszyscy_With_NameDataTable(ds.Tables["view_Pracownicy_Wszyscy_With_Name"])); } if ((ds.Tables["Interface_Pracownicy2"] != null)) { base.Tables.Add(new Interface_Pracownicy2DataTable(ds.Tables["Interface_Pracownicy2"])); } if ((ds.Tables["Wspolczynniki"] != null)) { base.Tables.Add(new WspolczynnikiDataTable(ds.Tables["Wspolczynniki"])); } if ((ds.Tables["Users"] != null)) { base.Tables.Add(new UsersDataTable(ds.Tables["Users"])); } if ((ds.Tables["Grupy"] != null)) { base.Tables.Add(new GrupyDataTable(ds.Tables["Grupy"])); } if ((ds.Tables["Dzialy"] != null)) { base.Tables.Add(new DzialyDataTable(ds.Tables["Dzialy"])); } if ((ds.Tables["GrupaDzial"] != null)) { base.Tables.Add(new GrupaDzialDataTable(ds.Tables["GrupaDzial"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); this.InitVars(); } else { this.ReadXmlSchema(new global::System.Xml.XmlTextReader(new global::System.IO.StringReader(strSchema))); } this.GetSerializationData(info, context); global::System.ComponentModel.CollectionChangeEventHandler schemaChangedHandler = new global::System.ComponentModel.CollectionChangeEventHandler(this.SchemaChanged); base.Tables.CollectionChanged += schemaChangedHandler; this.Relations.CollectionChanged += schemaChangedHandler; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public EMailsBodyDataTable EMailsBody { get { return this.tableEMailsBody; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public LOGOSDataTable LOGOS { get { return this.tableLOGOS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public PREMIE2DataTable PREMIE2 { get { return this.tablePREMIE2; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public CurrentEMailBodyDataTable CurrentEMailBody { get { return this.tableCurrentEMailBody; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public Interface_PracownicyDataTable Interface_Pracownicy { get { return this.tableInterface_Pracownicy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public Interface_TytulyDataTable Interface_Tytuly { get { return this.tableInterface_Tytuly; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public KierownicyDataTable Kierownicy { get { return this.tableKierownicy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public Premie_EMailDataDataTable Premie_EMailData { get { return this.tablePremie_EMailData; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public Premie_LastMonthBezEMailiDataTable Premie_LastMonthBezEMaili { get { return this.tablePremie_LastMonthBezEMaili; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public PREMIE_MIESIECZNIEDataTable PREMIE_MIESIECZNIE { get { return this.tablePREMIE_MIESIECZNIE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public PREMIE_PRACOWNIKDataTable PREMIE_PRACOWNIK { get { return this.tablePREMIE_PRACOWNIK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public PREMIE_ROCZNIEDataTable PREMIE_ROCZNIE { get { return this.tablePREMIE_ROCZNIE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_CT_PracownicyDataTable view_CT_Pracownicy { get { return this.tableview_CT_Pracownicy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_Pracownicy_DzialDataTable view_Pracownicy_Dzial { get { return this.tableview_Pracownicy_Dzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_Pracownicy_PodwladniDataTable view_Pracownicy_Podwladni { get { return this.tableview_Pracownicy_Podwladni; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_Pracownicy_WpisaniDataTable view_Pracownicy_Wpisani { get { return this.tableview_Pracownicy_Wpisani; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_Pracownicy_WszyscyDataTable view_Pracownicy_Wszyscy { get { return this.tableview_Pracownicy_Wszyscy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public view_Pracownicy_Wszyscy_With_NameDataTable view_Pracownicy_Wszyscy_With_Name { get { return this.tableview_Pracownicy_Wszyscy_With_Name; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public Interface_Pracownicy2DataTable Interface_Pracownicy2 { get { return this.tableInterface_Pracownicy2; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public WspolczynnikiDataTable Wspolczynniki { get { return this.tableWspolczynniki; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public UsersDataTable Users { get { return this.tableUsers; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public GrupyDataTable Grupy { get { return this.tableGrupy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public DzialyDataTable Dzialy { get { return this.tableDzialy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] [global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)] public GrupaDzialDataTable GrupaDzial { get { return this.tableGrupaDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.BrowsableAttribute(true)] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Visible)] public override global::System.Data.SchemaSerializationMode SchemaSerializationMode { get { return this._schemaSerializationMode; } set { this._schemaSerializationMode = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataTableCollection Tables { get { return base.Tables; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.DesignerSerializationVisibilityAttribute(global::System.ComponentModel.DesignerSerializationVisibility.Hidden)] public new global::System.Data.DataRelationCollection Relations { get { return base.Relations; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void InitializeDerivedDataSet() { this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataSet Clone() { PREMIEDataSet cln = ((PREMIEDataSet)(base.Clone())); cln.InitVars(); cln.SchemaSerializationMode = this.SchemaSerializationMode; return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override bool ShouldSerializeTables() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override bool ShouldSerializeRelations() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void ReadXmlSerializable(global::System.Xml.XmlReader reader) { if ((this.DetermineSchemaSerializationMode(reader) == global::System.Data.SchemaSerializationMode.IncludeSchema)) { this.Reset(); global::System.Data.DataSet ds = new global::System.Data.DataSet(); ds.ReadXml(reader); if ((ds.Tables["EMailsBody"] != null)) { base.Tables.Add(new EMailsBodyDataTable(ds.Tables["EMailsBody"])); } if ((ds.Tables["LOGOS"] != null)) { base.Tables.Add(new LOGOSDataTable(ds.Tables["LOGOS"])); } if ((ds.Tables["PREMIE2"] != null)) { base.Tables.Add(new PREMIE2DataTable(ds.Tables["PREMIE2"])); } if ((ds.Tables["CurrentEMailBody"] != null)) { base.Tables.Add(new CurrentEMailBodyDataTable(ds.Tables["CurrentEMailBody"])); } if ((ds.Tables["Interface_Pracownicy"] != null)) { base.Tables.Add(new Interface_PracownicyDataTable(ds.Tables["Interface_Pracownicy"])); } if ((ds.Tables["Interface_Tytuly"] != null)) { base.Tables.Add(new Interface_TytulyDataTable(ds.Tables["Interface_Tytuly"])); } if ((ds.Tables["Kierownicy"] != null)) { base.Tables.Add(new KierownicyDataTable(ds.Tables["Kierownicy"])); } if ((ds.Tables["Premie_EMailData"] != null)) { base.Tables.Add(new Premie_EMailDataDataTable(ds.Tables["Premie_EMailData"])); } if ((ds.Tables["Premie_LastMonthBezEMaili"] != null)) { base.Tables.Add(new Premie_LastMonthBezEMailiDataTable(ds.Tables["Premie_LastMonthBezEMaili"])); } if ((ds.Tables["PREMIE_MIESIECZNIE"] != null)) { base.Tables.Add(new PREMIE_MIESIECZNIEDataTable(ds.Tables["PREMIE_MIESIECZNIE"])); } if ((ds.Tables["PREMIE_PRACOWNIK"] != null)) { base.Tables.Add(new PREMIE_PRACOWNIKDataTable(ds.Tables["PREMIE_PRACOWNIK"])); } if ((ds.Tables["PREMIE_ROCZNIE"] != null)) { base.Tables.Add(new PREMIE_ROCZNIEDataTable(ds.Tables["PREMIE_ROCZNIE"])); } if ((ds.Tables["view_CT_Pracownicy"] != null)) { base.Tables.Add(new view_CT_PracownicyDataTable(ds.Tables["view_CT_Pracownicy"])); } if ((ds.Tables["view_Pracownicy_Dzial"] != null)) { base.Tables.Add(new view_Pracownicy_DzialDataTable(ds.Tables["view_Pracownicy_Dzial"])); } if ((ds.Tables["view_Pracownicy_Podwladni"] != null)) { base.Tables.Add(new view_Pracownicy_PodwladniDataTable(ds.Tables["view_Pracownicy_Podwladni"])); } if ((ds.Tables["view_Pracownicy_Wpisani"] != null)) { base.Tables.Add(new view_Pracownicy_WpisaniDataTable(ds.Tables["view_Pracownicy_Wpisani"])); } if ((ds.Tables["view_Pracownicy_Wszyscy"] != null)) { base.Tables.Add(new view_Pracownicy_WszyscyDataTable(ds.Tables["view_Pracownicy_Wszyscy"])); } if ((ds.Tables["view_Pracownicy_Wszyscy_With_Name"] != null)) { base.Tables.Add(new view_Pracownicy_Wszyscy_With_NameDataTable(ds.Tables["view_Pracownicy_Wszyscy_With_Name"])); } if ((ds.Tables["Interface_Pracownicy2"] != null)) { base.Tables.Add(new Interface_Pracownicy2DataTable(ds.Tables["Interface_Pracownicy2"])); } if ((ds.Tables["Wspolczynniki"] != null)) { base.Tables.Add(new WspolczynnikiDataTable(ds.Tables["Wspolczynniki"])); } if ((ds.Tables["Users"] != null)) { base.Tables.Add(new UsersDataTable(ds.Tables["Users"])); } if ((ds.Tables["Grupy"] != null)) { base.Tables.Add(new GrupyDataTable(ds.Tables["Grupy"])); } if ((ds.Tables["Dzialy"] != null)) { base.Tables.Add(new DzialyDataTable(ds.Tables["Dzialy"])); } if ((ds.Tables["GrupaDzial"] != null)) { base.Tables.Add(new GrupaDzialDataTable(ds.Tables["GrupaDzial"])); } this.DataSetName = ds.DataSetName; this.Prefix = ds.Prefix; this.Namespace = ds.Namespace; this.Locale = ds.Locale; this.CaseSensitive = ds.CaseSensitive; this.EnforceConstraints = ds.EnforceConstraints; this.Merge(ds, false, global::System.Data.MissingSchemaAction.Add); this.InitVars(); } else { this.ReadXml(reader); this.InitVars(); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Xml.Schema.XmlSchema GetSchemaSerializable() { global::System.IO.MemoryStream stream = new global::System.IO.MemoryStream(); this.WriteXmlSchema(new global::System.Xml.XmlTextWriter(stream, null)); stream.Position = 0; return global::System.Xml.Schema.XmlSchema.Read(new global::System.Xml.XmlTextReader(stream), null); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.InitVars(true); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars(bool initTable) { this.tableEMailsBody = ((EMailsBodyDataTable)(base.Tables["EMailsBody"])); if ((initTable == true)) { if ((this.tableEMailsBody != null)) { this.tableEMailsBody.InitVars(); } } this.tableLOGOS = ((LOGOSDataTable)(base.Tables["LOGOS"])); if ((initTable == true)) { if ((this.tableLOGOS != null)) { this.tableLOGOS.InitVars(); } } this.tablePREMIE2 = ((PREMIE2DataTable)(base.Tables["PREMIE2"])); if ((initTable == true)) { if ((this.tablePREMIE2 != null)) { this.tablePREMIE2.InitVars(); } } this.tableCurrentEMailBody = ((CurrentEMailBodyDataTable)(base.Tables["CurrentEMailBody"])); if ((initTable == true)) { if ((this.tableCurrentEMailBody != null)) { this.tableCurrentEMailBody.InitVars(); } } this.tableInterface_Pracownicy = ((Interface_PracownicyDataTable)(base.Tables["Interface_Pracownicy"])); if ((initTable == true)) { if ((this.tableInterface_Pracownicy != null)) { this.tableInterface_Pracownicy.InitVars(); } } this.tableInterface_Tytuly = ((Interface_TytulyDataTable)(base.Tables["Interface_Tytuly"])); if ((initTable == true)) { if ((this.tableInterface_Tytuly != null)) { this.tableInterface_Tytuly.InitVars(); } } this.tableKierownicy = ((KierownicyDataTable)(base.Tables["Kierownicy"])); if ((initTable == true)) { if ((this.tableKierownicy != null)) { this.tableKierownicy.InitVars(); } } this.tablePremie_EMailData = ((Premie_EMailDataDataTable)(base.Tables["Premie_EMailData"])); if ((initTable == true)) { if ((this.tablePremie_EMailData != null)) { this.tablePremie_EMailData.InitVars(); } } this.tablePremie_LastMonthBezEMaili = ((Premie_LastMonthBezEMailiDataTable)(base.Tables["Premie_LastMonthBezEMaili"])); if ((initTable == true)) { if ((this.tablePremie_LastMonthBezEMaili != null)) { this.tablePremie_LastMonthBezEMaili.InitVars(); } } this.tablePREMIE_MIESIECZNIE = ((PREMIE_MIESIECZNIEDataTable)(base.Tables["PREMIE_MIESIECZNIE"])); if ((initTable == true)) { if ((this.tablePREMIE_MIESIECZNIE != null)) { this.tablePREMIE_MIESIECZNIE.InitVars(); } } this.tablePREMIE_PRACOWNIK = ((PREMIE_PRACOWNIKDataTable)(base.Tables["PREMIE_PRACOWNIK"])); if ((initTable == true)) { if ((this.tablePREMIE_PRACOWNIK != null)) { this.tablePREMIE_PRACOWNIK.InitVars(); } } this.tablePREMIE_ROCZNIE = ((PREMIE_ROCZNIEDataTable)(base.Tables["PREMIE_ROCZNIE"])); if ((initTable == true)) { if ((this.tablePREMIE_ROCZNIE != null)) { this.tablePREMIE_ROCZNIE.InitVars(); } } this.tableview_CT_Pracownicy = ((view_CT_PracownicyDataTable)(base.Tables["view_CT_Pracownicy"])); if ((initTable == true)) { if ((this.tableview_CT_Pracownicy != null)) { this.tableview_CT_Pracownicy.InitVars(); } } this.tableview_Pracownicy_Dzial = ((view_Pracownicy_DzialDataTable)(base.Tables["view_Pracownicy_Dzial"])); if ((initTable == true)) { if ((this.tableview_Pracownicy_Dzial != null)) { this.tableview_Pracownicy_Dzial.InitVars(); } } this.tableview_Pracownicy_Podwladni = ((view_Pracownicy_PodwladniDataTable)(base.Tables["view_Pracownicy_Podwladni"])); if ((initTable == true)) { if ((this.tableview_Pracownicy_Podwladni != null)) { this.tableview_Pracownicy_Podwladni.InitVars(); } } this.tableview_Pracownicy_Wpisani = ((view_Pracownicy_WpisaniDataTable)(base.Tables["view_Pracownicy_Wpisani"])); if ((initTable == true)) { if ((this.tableview_Pracownicy_Wpisani != null)) { this.tableview_Pracownicy_Wpisani.InitVars(); } } this.tableview_Pracownicy_Wszyscy = ((view_Pracownicy_WszyscyDataTable)(base.Tables["view_Pracownicy_Wszyscy"])); if ((initTable == true)) { if ((this.tableview_Pracownicy_Wszyscy != null)) { this.tableview_Pracownicy_Wszyscy.InitVars(); } } this.tableview_Pracownicy_Wszyscy_With_Name = ((view_Pracownicy_Wszyscy_With_NameDataTable)(base.Tables["view_Pracownicy_Wszyscy_With_Name"])); if ((initTable == true)) { if ((this.tableview_Pracownicy_Wszyscy_With_Name != null)) { this.tableview_Pracownicy_Wszyscy_With_Name.InitVars(); } } this.tableInterface_Pracownicy2 = ((Interface_Pracownicy2DataTable)(base.Tables["Interface_Pracownicy2"])); if ((initTable == true)) { if ((this.tableInterface_Pracownicy2 != null)) { this.tableInterface_Pracownicy2.InitVars(); } } this.tableWspolczynniki = ((WspolczynnikiDataTable)(base.Tables["Wspolczynniki"])); if ((initTable == true)) { if ((this.tableWspolczynniki != null)) { this.tableWspolczynniki.InitVars(); } } this.tableUsers = ((UsersDataTable)(base.Tables["Users"])); if ((initTable == true)) { if ((this.tableUsers != null)) { this.tableUsers.InitVars(); } } this.tableGrupy = ((GrupyDataTable)(base.Tables["Grupy"])); if ((initTable == true)) { if ((this.tableGrupy != null)) { this.tableGrupy.InitVars(); } } this.tableDzialy = ((DzialyDataTable)(base.Tables["Dzialy"])); if ((initTable == true)) { if ((this.tableDzialy != null)) { this.tableDzialy.InitVars(); } } this.tableGrupaDzial = ((GrupaDzialDataTable)(base.Tables["GrupaDzial"])); if ((initTable == true)) { if ((this.tableGrupaDzial != null)) { this.tableGrupaDzial.InitVars(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.DataSetName = "PREMIEDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/PREMIEDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableEMailsBody = new EMailsBodyDataTable(); base.Tables.Add(this.tableEMailsBody); this.tableLOGOS = new LOGOSDataTable(); base.Tables.Add(this.tableLOGOS); this.tablePREMIE2 = new PREMIE2DataTable(); base.Tables.Add(this.tablePREMIE2); this.tableCurrentEMailBody = new CurrentEMailBodyDataTable(); base.Tables.Add(this.tableCurrentEMailBody); this.tableInterface_Pracownicy = new Interface_PracownicyDataTable(); base.Tables.Add(this.tableInterface_Pracownicy); this.tableInterface_Tytuly = new Interface_TytulyDataTable(); base.Tables.Add(this.tableInterface_Tytuly); this.tableKierownicy = new KierownicyDataTable(); base.Tables.Add(this.tableKierownicy); this.tablePremie_EMailData = new Premie_EMailDataDataTable(); base.Tables.Add(this.tablePremie_EMailData); this.tablePremie_LastMonthBezEMaili = new Premie_LastMonthBezEMailiDataTable(); base.Tables.Add(this.tablePremie_LastMonthBezEMaili); this.tablePREMIE_MIESIECZNIE = new PREMIE_MIESIECZNIEDataTable(); base.Tables.Add(this.tablePREMIE_MIESIECZNIE); this.tablePREMIE_PRACOWNIK = new PREMIE_PRACOWNIKDataTable(); base.Tables.Add(this.tablePREMIE_PRACOWNIK); this.tablePREMIE_ROCZNIE = new PREMIE_ROCZNIEDataTable(); base.Tables.Add(this.tablePREMIE_ROCZNIE); this.tableview_CT_Pracownicy = new view_CT_PracownicyDataTable(); base.Tables.Add(this.tableview_CT_Pracownicy); this.tableview_Pracownicy_Dzial = new view_Pracownicy_DzialDataTable(); base.Tables.Add(this.tableview_Pracownicy_Dzial); this.tableview_Pracownicy_Podwladni = new view_Pracownicy_PodwladniDataTable(); base.Tables.Add(this.tableview_Pracownicy_Podwladni); this.tableview_Pracownicy_Wpisani = new view_Pracownicy_WpisaniDataTable(); base.Tables.Add(this.tableview_Pracownicy_Wpisani); this.tableview_Pracownicy_Wszyscy = new view_Pracownicy_WszyscyDataTable(); base.Tables.Add(this.tableview_Pracownicy_Wszyscy); this.tableview_Pracownicy_Wszyscy_With_Name = new view_Pracownicy_Wszyscy_With_NameDataTable(); base.Tables.Add(this.tableview_Pracownicy_Wszyscy_With_Name); this.tableInterface_Pracownicy2 = new Interface_Pracownicy2DataTable(); base.Tables.Add(this.tableInterface_Pracownicy2); this.tableWspolczynniki = new WspolczynnikiDataTable(); base.Tables.Add(this.tableWspolczynniki); this.tableUsers = new UsersDataTable(); base.Tables.Add(this.tableUsers); this.tableGrupy = new GrupyDataTable(); base.Tables.Add(this.tableGrupy); this.tableDzialy = new DzialyDataTable(); base.Tables.Add(this.tableDzialy); this.tableGrupaDzial = new GrupaDzialDataTable(); base.Tables.Add(this.tableGrupaDzial); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeEMailsBody() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeLOGOS() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePREMIE2() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeCurrentEMailBody() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeInterface_Pracownicy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeInterface_Tytuly() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeKierownicy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePremie_EMailData() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePremie_LastMonthBezEMaili() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePREMIE_MIESIECZNIE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePREMIE_PRACOWNIK() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializePREMIE_ROCZNIE() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_CT_Pracownicy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_Pracownicy_Dzial() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_Pracownicy_Podwladni() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_Pracownicy_Wpisani() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_Pracownicy_Wszyscy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeview_Pracownicy_Wszyscy_With_Name() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeInterface_Pracownicy2() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeWspolczynniki() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeUsers() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeGrupy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeDzialy() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private bool ShouldSerializeGrupaDzial() { return false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) { if ((e.Action == global::System.ComponentModel.CollectionChangeAction.Remove)) { this.InitVars(); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedDataSetSchema(global::System.Xml.Schema.XmlSchemaSet xs) { PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); global::System.Xml.Schema.XmlSchemaAny any = new global::System.Xml.Schema.XmlSchemaAny(); any.Namespace = ds.Namespace; sequence.Items.Add(any); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } public delegate void EMailsBodyRowChangeEventHandler(object sender, EMailsBodyRowChangeEvent e); public delegate void LOGOSRowChangeEventHandler(object sender, LOGOSRowChangeEvent e); public delegate void PREMIE2RowChangeEventHandler(object sender, PREMIE2RowChangeEvent e); public delegate void CurrentEMailBodyRowChangeEventHandler(object sender, CurrentEMailBodyRowChangeEvent e); public delegate void Interface_PracownicyRowChangeEventHandler(object sender, Interface_PracownicyRowChangeEvent e); public delegate void Interface_TytulyRowChangeEventHandler(object sender, Interface_TytulyRowChangeEvent e); public delegate void KierownicyRowChangeEventHandler(object sender, KierownicyRowChangeEvent e); public delegate void Premie_EMailDataRowChangeEventHandler(object sender, Premie_EMailDataRowChangeEvent e); public delegate void Premie_LastMonthBezEMailiRowChangeEventHandler(object sender, Premie_LastMonthBezEMailiRowChangeEvent e); public delegate void PREMIE_MIESIECZNIERowChangeEventHandler(object sender, PREMIE_MIESIECZNIERowChangeEvent e); public delegate void PREMIE_PRACOWNIKRowChangeEventHandler(object sender, PREMIE_PRACOWNIKRowChangeEvent e); public delegate void PREMIE_ROCZNIERowChangeEventHandler(object sender, PREMIE_ROCZNIERowChangeEvent e); public delegate void view_CT_PracownicyRowChangeEventHandler(object sender, view_CT_PracownicyRowChangeEvent e); public delegate void view_Pracownicy_DzialRowChangeEventHandler(object sender, view_Pracownicy_DzialRowChangeEvent e); public delegate void view_Pracownicy_PodwladniRowChangeEventHandler(object sender, view_Pracownicy_PodwladniRowChangeEvent e); public delegate void view_Pracownicy_WpisaniRowChangeEventHandler(object sender, view_Pracownicy_WpisaniRowChangeEvent e); public delegate void view_Pracownicy_WszyscyRowChangeEventHandler(object sender, view_Pracownicy_WszyscyRowChangeEvent e); public delegate void view_Pracownicy_Wszyscy_With_NameRowChangeEventHandler(object sender, view_Pracownicy_Wszyscy_With_NameRowChangeEvent e); public delegate void Interface_Pracownicy2RowChangeEventHandler(object sender, Interface_Pracownicy2RowChangeEvent e); public delegate void WspolczynnikiRowChangeEventHandler(object sender, WspolczynnikiRowChangeEvent e); public delegate void UsersRowChangeEventHandler(object sender, UsersRowChangeEvent e); public delegate void GrupyRowChangeEventHandler(object sender, GrupyRowChangeEvent e); public delegate void DzialyRowChangeEventHandler(object sender, DzialyRowChangeEvent e); public delegate void GrupaDzialRowChangeEventHandler(object sender, GrupaDzialRowChangeEvent e); /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class EMailsBodyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnOd; private global::System.Data.DataColumn columnTemat; private global::System.Data.DataColumn columnBody; private global::System.Data.DataColumn columnTematBad; private global::System.Data.DataColumn columnBodyBad; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyDataTable() { this.TableName = "EMailsBody"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal EMailsBodyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected EMailsBodyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OdColumn { get { return this.columnOd; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TematColumn { get { return this.columnTemat; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BodyColumn { get { return this.columnBody; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TematBadColumn { get { return this.columnTematBad; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BodyBadColumn { get { return this.columnBodyBad; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRow this[int index] { get { return ((EMailsBodyRow)(this.Rows[index])); } } public event EMailsBodyRowChangeEventHandler EMailsBodyRowChanging; public event EMailsBodyRowChangeEventHandler EMailsBodyRowChanged; public event EMailsBodyRowChangeEventHandler EMailsBodyRowDeleting; public event EMailsBodyRowChangeEventHandler EMailsBodyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddEMailsBodyRow(EMailsBodyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRow AddEMailsBodyRow(string Od, string Temat, string Body, string TematBad, string BodyBad) { EMailsBodyRow rowEMailsBodyRow = ((EMailsBodyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, Od, Temat, Body, TematBad, BodyBad}; rowEMailsBodyRow.ItemArray = columnValuesArray; this.Rows.Add(rowEMailsBodyRow); return rowEMailsBodyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRow FindByIDE(int IDE) { return ((EMailsBodyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { EMailsBodyDataTable cln = ((EMailsBodyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new EMailsBodyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnOd = base.Columns["Od"]; this.columnTemat = base.Columns["Temat"]; this.columnBody = base.Columns["Body"]; this.columnTematBad = base.Columns["TematBad"]; this.columnBodyBad = base.Columns["BodyBad"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnOd = new global::System.Data.DataColumn("Od", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOd); this.columnTemat = new global::System.Data.DataColumn("Temat", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTemat); this.columnBody = new global::System.Data.DataColumn("Body", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBody); this.columnTematBad = new global::System.Data.DataColumn("TematBad", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTematBad); this.columnBodyBad = new global::System.Data.DataColumn("BodyBad", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBodyBad); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnOd.MaxLength = 200; this.columnTemat.MaxLength = 200; this.columnBody.MaxLength = 1073741823; this.columnTematBad.MaxLength = 200; this.columnBodyBad.MaxLength = 1073741823; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRow NewEMailsBodyRow() { return ((EMailsBodyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new EMailsBodyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(EMailsBodyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.EMailsBodyRowChanged != null)) { this.EMailsBodyRowChanged(this, new EMailsBodyRowChangeEvent(((EMailsBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.EMailsBodyRowChanging != null)) { this.EMailsBodyRowChanging(this, new EMailsBodyRowChangeEvent(((EMailsBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.EMailsBodyRowDeleted != null)) { this.EMailsBodyRowDeleted(this, new EMailsBodyRowChangeEvent(((EMailsBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.EMailsBodyRowDeleting != null)) { this.EMailsBodyRowDeleting(this, new EMailsBodyRowChangeEvent(((EMailsBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveEMailsBodyRow(EMailsBodyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "EMailsBodyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class LOGOSDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnLogoGS; private global::System.Data.DataColumn columnLogoAMT; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSDataTable() { this.TableName = "LOGOS"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal LOGOSDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected LOGOSDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn LogoGSColumn { get { return this.columnLogoGS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn LogoAMTColumn { get { return this.columnLogoAMT; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRow this[int index] { get { return ((LOGOSRow)(this.Rows[index])); } } public event LOGOSRowChangeEventHandler LOGOSRowChanging; public event LOGOSRowChangeEventHandler LOGOSRowChanged; public event LOGOSRowChangeEventHandler LOGOSRowDeleting; public event LOGOSRowChangeEventHandler LOGOSRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddLOGOSRow(LOGOSRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRow AddLOGOSRow(byte[] LogoGS, byte[] LogoAMT) { LOGOSRow rowLOGOSRow = ((LOGOSRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, LogoGS, LogoAMT}; rowLOGOSRow.ItemArray = columnValuesArray; this.Rows.Add(rowLOGOSRow); return rowLOGOSRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRow FindByIDE(int IDE) { return ((LOGOSRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { LOGOSDataTable cln = ((LOGOSDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new LOGOSDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnLogoGS = base.Columns["LogoGS"]; this.columnLogoAMT = base.Columns["LogoAMT"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnLogoGS = new global::System.Data.DataColumn("LogoGS", typeof(byte[]), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLogoGS); this.columnLogoAMT = new global::System.Data.DataColumn("LogoAMT", typeof(byte[]), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLogoAMT); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRow NewLOGOSRow() { return ((LOGOSRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new LOGOSRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(LOGOSRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.LOGOSRowChanged != null)) { this.LOGOSRowChanged(this, new LOGOSRowChangeEvent(((LOGOSRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.LOGOSRowChanging != null)) { this.LOGOSRowChanging(this, new LOGOSRowChangeEvent(((LOGOSRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.LOGOSRowDeleted != null)) { this.LOGOSRowDeleted(this, new LOGOSRowChangeEvent(((LOGOSRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.LOGOSRowDeleting != null)) { this.LOGOSRowDeleting(this, new LOGOSRowChangeEvent(((LOGOSRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveLOGOSRow(LOGOSRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "LOGOSDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class PREMIE2DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnID; private global::System.Data.DataColumn columnROK; private global::System.Data.DataColumn columnMIESIAC; private global::System.Data.DataColumn columnNAME; private global::System.Data.DataColumn columnDZIAL; private global::System.Data.DataColumn columnOPIS; private global::System.Data.DataColumn columnIL; private global::System.Data.DataColumn columnWYCENA; private global::System.Data.DataColumn columnNETTO; private global::System.Data.DataColumn columnBRUTTO; private global::System.Data.DataColumn columnBB; private global::System.Data.DataColumn columndata_wprowadzenia; private global::System.Data.DataColumn columnwprowadzil; private global::System.Data.DataColumn columndata_modyfikacji; private global::System.Data.DataColumn columnzmodyfikowal; private global::System.Data.DataColumn columnIDEPracownika; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2DataTable() { this.TableName = "PREMIE2"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE2DataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected PREMIE2DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDColumn { get { return this.columnID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ROKColumn { get { return this.columnROK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn MIESIACColumn { get { return this.columnMIESIAC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NAMEColumn { get { return this.columnNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn DZIALColumn { get { return this.columnDZIAL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OPISColumn { get { return this.columnOPIS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ILColumn { get { return this.columnIL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn WYCENAColumn { get { return this.columnWYCENA; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NETTOColumn { get { return this.columnNETTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BRUTTOColumn { get { return this.columnBRUTTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BBColumn { get { return this.columnBB; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn data_wprowadzeniaColumn { get { return this.columndata_wprowadzenia; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn wprowadzilColumn { get { return this.columnwprowadzil; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn data_modyfikacjiColumn { get { return this.columndata_modyfikacji; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn zmodyfikowalColumn { get { return this.columnzmodyfikowal; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEPracownikaColumn { get { return this.columnIDEPracownika; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2Row this[int index] { get { return ((PREMIE2Row)(this.Rows[index])); } } public event PREMIE2RowChangeEventHandler PREMIE2RowChanging; public event PREMIE2RowChangeEventHandler PREMIE2RowChanged; public event PREMIE2RowChangeEventHandler PREMIE2RowDeleting; public event PREMIE2RowChangeEventHandler PREMIE2RowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPREMIE2Row(PREMIE2Row row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2Row AddPREMIE2Row(double ROK, double MIESIAC, string NAME, string DZIAL, string OPIS, double IL, decimal WYCENA, decimal NETTO, decimal BRUTTO, decimal BB, System.DateTime data_wprowadzenia, string wprowadzil, System.DateTime data_modyfikacji, string zmodyfikowal, int IDEPracownika) { PREMIE2Row rowPREMIE2Row = ((PREMIE2Row)(this.NewRow())); object[] columnValuesArray = new object[] { null, ROK, MIESIAC, NAME, DZIAL, OPIS, IL, WYCENA, NETTO, BRUTTO, BB, data_wprowadzenia, wprowadzil, data_modyfikacji, zmodyfikowal, IDEPracownika}; rowPREMIE2Row.ItemArray = columnValuesArray; this.Rows.Add(rowPREMIE2Row); return rowPREMIE2Row; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2Row FindByID(int ID) { return ((PREMIE2Row)(this.Rows.Find(new object[] { ID}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { PREMIE2DataTable cln = ((PREMIE2DataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new PREMIE2DataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnID = base.Columns["ID"]; this.columnROK = base.Columns["ROK"]; this.columnMIESIAC = base.Columns["MIESIAC"]; this.columnNAME = base.Columns["NAME"]; this.columnDZIAL = base.Columns["DZIAL"]; this.columnOPIS = base.Columns["OPIS"]; this.columnIL = base.Columns["IL"]; this.columnWYCENA = base.Columns["WYCENA"]; this.columnNETTO = base.Columns["NETTO"]; this.columnBRUTTO = base.Columns["BRUTTO"]; this.columnBB = base.Columns["BB"]; this.columndata_wprowadzenia = base.Columns["data_wprowadzenia"]; this.columnwprowadzil = base.Columns["wprowadzil"]; this.columndata_modyfikacji = base.Columns["data_modyfikacji"]; this.columnzmodyfikowal = base.Columns["zmodyfikowal"]; this.columnIDEPracownika = base.Columns["IDEPracownika"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnID); this.columnROK = new global::System.Data.DataColumn("ROK", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnROK); this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMIESIAC); this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNAME); this.columnDZIAL = new global::System.Data.DataColumn("DZIAL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDZIAL); this.columnOPIS = new global::System.Data.DataColumn("OPIS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOPIS); this.columnIL = new global::System.Data.DataColumn("IL", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIL); this.columnWYCENA = new global::System.Data.DataColumn("WYCENA", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnWYCENA); this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNETTO); this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBRUTTO); this.columnBB = new global::System.Data.DataColumn("BB", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBB); this.columndata_wprowadzenia = new global::System.Data.DataColumn("data_wprowadzenia", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndata_wprowadzenia); this.columnwprowadzil = new global::System.Data.DataColumn("wprowadzil", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnwprowadzil); this.columndata_modyfikacji = new global::System.Data.DataColumn("data_modyfikacji", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndata_modyfikacji); this.columnzmodyfikowal = new global::System.Data.DataColumn("zmodyfikowal", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnzmodyfikowal); this.columnIDEPracownika = new global::System.Data.DataColumn("IDEPracownika", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEPracownika); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnID}, true)); this.columnID.AutoIncrement = true; this.columnID.AllowDBNull = false; this.columnID.ReadOnly = true; this.columnID.Unique = true; this.columnNAME.MaxLength = 255; this.columnDZIAL.MaxLength = 255; this.columnOPIS.MaxLength = 255; this.columnwprowadzil.MaxLength = 50; this.columnzmodyfikowal.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2Row NewPREMIE2Row() { return ((PREMIE2Row)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new PREMIE2Row(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(PREMIE2Row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.PREMIE2RowChanged != null)) { this.PREMIE2RowChanged(this, new PREMIE2RowChangeEvent(((PREMIE2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.PREMIE2RowChanging != null)) { this.PREMIE2RowChanging(this, new PREMIE2RowChangeEvent(((PREMIE2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.PREMIE2RowDeleted != null)) { this.PREMIE2RowDeleted(this, new PREMIE2RowChangeEvent(((PREMIE2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.PREMIE2RowDeleting != null)) { this.PREMIE2RowDeleting(this, new PREMIE2RowChangeEvent(((PREMIE2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePREMIE2Row(PREMIE2Row row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "PREMIE2DataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class CurrentEMailBodyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnOd; private global::System.Data.DataColumn columnTemat; private global::System.Data.DataColumn columnBody; private global::System.Data.DataColumn columnTematBad; private global::System.Data.DataColumn columnBodyBad; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyDataTable() { this.TableName = "CurrentEMailBody"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal CurrentEMailBodyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected CurrentEMailBodyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OdColumn { get { return this.columnOd; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TematColumn { get { return this.columnTemat; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BodyColumn { get { return this.columnBody; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TematBadColumn { get { return this.columnTematBad; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BodyBadColumn { get { return this.columnBodyBad; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRow this[int index] { get { return ((CurrentEMailBodyRow)(this.Rows[index])); } } public event CurrentEMailBodyRowChangeEventHandler CurrentEMailBodyRowChanging; public event CurrentEMailBodyRowChangeEventHandler CurrentEMailBodyRowChanged; public event CurrentEMailBodyRowChangeEventHandler CurrentEMailBodyRowDeleting; public event CurrentEMailBodyRowChangeEventHandler CurrentEMailBodyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddCurrentEMailBodyRow(CurrentEMailBodyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRow AddCurrentEMailBodyRow(string Od, string Temat, string Body, string TematBad, string BodyBad) { CurrentEMailBodyRow rowCurrentEMailBodyRow = ((CurrentEMailBodyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, Od, Temat, Body, TematBad, BodyBad}; rowCurrentEMailBodyRow.ItemArray = columnValuesArray; this.Rows.Add(rowCurrentEMailBodyRow); return rowCurrentEMailBodyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRow FindByIDE(int IDE) { return ((CurrentEMailBodyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { CurrentEMailBodyDataTable cln = ((CurrentEMailBodyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new CurrentEMailBodyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnOd = base.Columns["Od"]; this.columnTemat = base.Columns["Temat"]; this.columnBody = base.Columns["Body"]; this.columnTematBad = base.Columns["TematBad"]; this.columnBodyBad = base.Columns["BodyBad"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnOd = new global::System.Data.DataColumn("Od", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOd); this.columnTemat = new global::System.Data.DataColumn("Temat", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTemat); this.columnBody = new global::System.Data.DataColumn("Body", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBody); this.columnTematBad = new global::System.Data.DataColumn("TematBad", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTematBad); this.columnBodyBad = new global::System.Data.DataColumn("BodyBad", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBodyBad); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnOd.MaxLength = 200; this.columnTemat.MaxLength = 200; this.columnBody.MaxLength = 1073741823; this.columnTematBad.MaxLength = 200; this.columnBodyBad.MaxLength = 1073741823; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRow NewCurrentEMailBodyRow() { return ((CurrentEMailBodyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new CurrentEMailBodyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(CurrentEMailBodyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.CurrentEMailBodyRowChanged != null)) { this.CurrentEMailBodyRowChanged(this, new CurrentEMailBodyRowChangeEvent(((CurrentEMailBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.CurrentEMailBodyRowChanging != null)) { this.CurrentEMailBodyRowChanging(this, new CurrentEMailBodyRowChangeEvent(((CurrentEMailBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.CurrentEMailBodyRowDeleted != null)) { this.CurrentEMailBodyRowDeleted(this, new CurrentEMailBodyRowChangeEvent(((CurrentEMailBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.CurrentEMailBodyRowDeleting != null)) { this.CurrentEMailBodyRowDeleting(this, new CurrentEMailBodyRowChangeEvent(((CurrentEMailBodyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveCurrentEMailBodyRow(CurrentEMailBodyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "CurrentEMailBodyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class Interface_PracownicyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnImie; private global::System.Data.DataColumn columnNazwisko; private global::System.Data.DataColumn columnEMail; private global::System.Data.DataColumn columnSQLLogins; private global::System.Data.DataColumn columnIDEPracownicy; private global::System.Data.DataColumn columnOsoba; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyDataTable() { this.TableName = "Interface_Pracownicy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_PracownicyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected Interface_PracownicyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ImieColumn { get { return this.columnImie; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NazwiskoColumn { get { return this.columnNazwisko; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn EMailColumn { get { return this.columnEMail; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn SQLLoginsColumn { get { return this.columnSQLLogins; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEPracownicyColumn { get { return this.columnIDEPracownicy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OsobaColumn { get { return this.columnOsoba; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyRow this[int index] { get { return ((Interface_PracownicyRow)(this.Rows[index])); } } public event Interface_PracownicyRowChangeEventHandler Interface_PracownicyRowChanging; public event Interface_PracownicyRowChangeEventHandler Interface_PracownicyRowChanged; public event Interface_PracownicyRowChangeEventHandler Interface_PracownicyRowDeleting; public event Interface_PracownicyRowChangeEventHandler Interface_PracownicyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddInterface_PracownicyRow(Interface_PracownicyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyRow AddInterface_PracownicyRow(string Imie, string Nazwisko, string EMail, string SQLLogins, int IDEPracownicy, string Osoba) { Interface_PracownicyRow rowInterface_PracownicyRow = ((Interface_PracownicyRow)(this.NewRow())); object[] columnValuesArray = new object[] { Imie, Nazwisko, EMail, SQLLogins, IDEPracownicy, Osoba}; rowInterface_PracownicyRow.ItemArray = columnValuesArray; this.Rows.Add(rowInterface_PracownicyRow); return rowInterface_PracownicyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { Interface_PracownicyDataTable cln = ((Interface_PracownicyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new Interface_PracownicyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnImie = base.Columns["Imie"]; this.columnNazwisko = base.Columns["Nazwisko"]; this.columnEMail = base.Columns["EMail"]; this.columnSQLLogins = base.Columns["SQLLogins"]; this.columnIDEPracownicy = base.Columns["IDEPracownicy"]; this.columnOsoba = base.Columns["Osoba"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnImie = new global::System.Data.DataColumn("Imie", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnImie); this.columnNazwisko = new global::System.Data.DataColumn("Nazwisko", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNazwisko); this.columnEMail = new global::System.Data.DataColumn("EMail", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMail); this.columnSQLLogins = new global::System.Data.DataColumn("SQLLogins", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSQLLogins); this.columnIDEPracownicy = new global::System.Data.DataColumn("IDEPracownicy", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEPracownicy); this.columnOsoba = new global::System.Data.DataColumn("Osoba", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOsoba); this.columnImie.MaxLength = 50; this.columnNazwisko.MaxLength = 50; this.columnEMail.MaxLength = 250; this.columnSQLLogins.MaxLength = 250; this.columnIDEPracownicy.AllowDBNull = false; this.columnOsoba.MaxLength = 255; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyRow NewInterface_PracownicyRow() { return ((Interface_PracownicyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new Interface_PracownicyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(Interface_PracownicyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.Interface_PracownicyRowChanged != null)) { this.Interface_PracownicyRowChanged(this, new Interface_PracownicyRowChangeEvent(((Interface_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.Interface_PracownicyRowChanging != null)) { this.Interface_PracownicyRowChanging(this, new Interface_PracownicyRowChangeEvent(((Interface_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.Interface_PracownicyRowDeleted != null)) { this.Interface_PracownicyRowDeleted(this, new Interface_PracownicyRowChangeEvent(((Interface_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.Interface_PracownicyRowDeleting != null)) { this.Interface_PracownicyRowDeleting(this, new Interface_PracownicyRowChangeEvent(((Interface_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveInterface_PracownicyRow(Interface_PracownicyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "Interface_PracownicyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class Interface_TytulyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnTYTUL; private global::System.Data.DataColumn columnOPIS; private global::System.Data.DataColumn columnISSN; private global::System.Data.DataColumn columnNR_INDEX; private global::System.Data.DataColumn columnLOGO; private global::System.Data.DataColumn columnSWW; private global::System.Data.DataColumn columnJM; private global::System.Data.DataColumn columnVat; private global::System.Data.DataColumn columnCena; private global::System.Data.DataColumn columnPKWiU; private global::System.Data.DataColumn columnGrzbiety; private global::System.Data.DataColumn columnAktywny; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyDataTable() { this.TableName = "Interface_Tytuly"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_TytulyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected Interface_TytulyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TYTULColumn { get { return this.columnTYTUL; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OPISColumn { get { return this.columnOPIS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ISSNColumn { get { return this.columnISSN; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NR_INDEXColumn { get { return this.columnNR_INDEX; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn LOGOColumn { get { return this.columnLOGO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn SWWColumn { get { return this.columnSWW; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn JMColumn { get { return this.columnJM; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn VatColumn { get { return this.columnVat; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn CenaColumn { get { return this.columnCena; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn PKWiUColumn { get { return this.columnPKWiU; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn GrzbietyColumn { get { return this.columnGrzbiety; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn AktywnyColumn { get { return this.columnAktywny; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRow this[int index] { get { return ((Interface_TytulyRow)(this.Rows[index])); } } public event Interface_TytulyRowChangeEventHandler Interface_TytulyRowChanging; public event Interface_TytulyRowChangeEventHandler Interface_TytulyRowChanged; public event Interface_TytulyRowChangeEventHandler Interface_TytulyRowDeleting; public event Interface_TytulyRowChangeEventHandler Interface_TytulyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddInterface_TytulyRow(Interface_TytulyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRow AddInterface_TytulyRow(string TYTUL, string OPIS, string ISSN, string NR_INDEX, byte[] LOGO, string SWW, string JM, string Vat, decimal Cena, string PKWiU, short Grzbiety, short Aktywny) { Interface_TytulyRow rowInterface_TytulyRow = ((Interface_TytulyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, TYTUL, OPIS, ISSN, NR_INDEX, LOGO, SWW, JM, Vat, Cena, PKWiU, Grzbiety, Aktywny}; rowInterface_TytulyRow.ItemArray = columnValuesArray; this.Rows.Add(rowInterface_TytulyRow); return rowInterface_TytulyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRow FindByIDE(int IDE) { return ((Interface_TytulyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { Interface_TytulyDataTable cln = ((Interface_TytulyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new Interface_TytulyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnTYTUL = base.Columns["TYTUL"]; this.columnOPIS = base.Columns["OPIS"]; this.columnISSN = base.Columns["ISSN"]; this.columnNR_INDEX = base.Columns["NR_INDEX"]; this.columnLOGO = base.Columns["LOGO"]; this.columnSWW = base.Columns["SWW"]; this.columnJM = base.Columns["JM"]; this.columnVat = base.Columns["Vat"]; this.columnCena = base.Columns["Cena"]; this.columnPKWiU = base.Columns["PKWiU"]; this.columnGrzbiety = base.Columns["Grzbiety"]; this.columnAktywny = base.Columns["Aktywny"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnTYTUL = new global::System.Data.DataColumn("TYTUL", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTYTUL); this.columnOPIS = new global::System.Data.DataColumn("OPIS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOPIS); this.columnISSN = new global::System.Data.DataColumn("ISSN", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnISSN); this.columnNR_INDEX = new global::System.Data.DataColumn("NR_INDEX", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNR_INDEX); this.columnLOGO = new global::System.Data.DataColumn("LOGO", typeof(byte[]), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLOGO); this.columnSWW = new global::System.Data.DataColumn("SWW", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSWW); this.columnJM = new global::System.Data.DataColumn("JM", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnJM); this.columnVat = new global::System.Data.DataColumn("Vat", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnVat); this.columnCena = new global::System.Data.DataColumn("Cena", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnCena); this.columnPKWiU = new global::System.Data.DataColumn("PKWiU", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnPKWiU); this.columnGrzbiety = new global::System.Data.DataColumn("Grzbiety", typeof(short), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnGrzbiety); this.columnAktywny = new global::System.Data.DataColumn("Aktywny", typeof(short), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAktywny); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnTYTUL.MaxLength = 64; this.columnOPIS.MaxLength = 64; this.columnISSN.MaxLength = 16; this.columnNR_INDEX.MaxLength = 16; this.columnSWW.MaxLength = 16; this.columnJM.MaxLength = 16; this.columnVat.MaxLength = 8; this.columnPKWiU.MaxLength = 32; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRow NewInterface_TytulyRow() { return ((Interface_TytulyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new Interface_TytulyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(Interface_TytulyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.Interface_TytulyRowChanged != null)) { this.Interface_TytulyRowChanged(this, new Interface_TytulyRowChangeEvent(((Interface_TytulyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.Interface_TytulyRowChanging != null)) { this.Interface_TytulyRowChanging(this, new Interface_TytulyRowChangeEvent(((Interface_TytulyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.Interface_TytulyRowDeleted != null)) { this.Interface_TytulyRowDeleted(this, new Interface_TytulyRowChangeEvent(((Interface_TytulyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.Interface_TytulyRowDeleting != null)) { this.Interface_TytulyRowDeleting(this, new Interface_TytulyRowChangeEvent(((Interface_TytulyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveInterface_TytulyRow(Interface_TytulyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "Interface_TytulyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class KierownicyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnIDEPracownik; private global::System.Data.DataColumn columnIDEDzial; private global::System.Data.DataColumn columnIDEOddzial; private global::System.Data.DataColumn columnTytul; private global::System.Data.DataColumn columnAktywny; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyDataTable() { this.TableName = "Kierownicy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal KierownicyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected KierownicyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEPracownikColumn { get { return this.columnIDEPracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEDzialColumn { get { return this.columnIDEDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEOddzialColumn { get { return this.columnIDEOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn TytulColumn { get { return this.columnTytul; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn AktywnyColumn { get { return this.columnAktywny; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRow this[int index] { get { return ((KierownicyRow)(this.Rows[index])); } } public event KierownicyRowChangeEventHandler KierownicyRowChanging; public event KierownicyRowChangeEventHandler KierownicyRowChanged; public event KierownicyRowChangeEventHandler KierownicyRowDeleting; public event KierownicyRowChangeEventHandler KierownicyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddKierownicyRow(KierownicyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRow AddKierownicyRow(int IDEPracownik, int IDEDzial, int IDEOddzial, string Tytul, short Aktywny) { KierownicyRow rowKierownicyRow = ((KierownicyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, IDEPracownik, IDEDzial, IDEOddzial, Tytul, Aktywny}; rowKierownicyRow.ItemArray = columnValuesArray; this.Rows.Add(rowKierownicyRow); return rowKierownicyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRow FindByIDE(int IDE) { return ((KierownicyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { KierownicyDataTable cln = ((KierownicyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new KierownicyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnIDEPracownik = base.Columns["IDEPracownik"]; this.columnIDEDzial = base.Columns["IDEDzial"]; this.columnIDEOddzial = base.Columns["IDEOddzial"]; this.columnTytul = base.Columns["Tytul"]; this.columnAktywny = base.Columns["Aktywny"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnIDEPracownik = new global::System.Data.DataColumn("IDEPracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEPracownik); this.columnIDEDzial = new global::System.Data.DataColumn("IDEDzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEDzial); this.columnIDEOddzial = new global::System.Data.DataColumn("IDEOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEOddzial); this.columnTytul = new global::System.Data.DataColumn("Tytul", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnTytul); this.columnAktywny = new global::System.Data.DataColumn("Aktywny", typeof(short), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnAktywny); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnTytul.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRow NewKierownicyRow() { return ((KierownicyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new KierownicyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(KierownicyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.KierownicyRowChanged != null)) { this.KierownicyRowChanged(this, new KierownicyRowChangeEvent(((KierownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.KierownicyRowChanging != null)) { this.KierownicyRowChanging(this, new KierownicyRowChangeEvent(((KierownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.KierownicyRowDeleted != null)) { this.KierownicyRowDeleted(this, new KierownicyRowChangeEvent(((KierownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.KierownicyRowDeleting != null)) { this.KierownicyRowDeleting(this, new KierownicyRowChangeEvent(((KierownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveKierownicyRow(KierownicyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "KierownicyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class Premie_EMailDataDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnID; private global::System.Data.DataColumn columnROK; private global::System.Data.DataColumn columnMIESIAC; private global::System.Data.DataColumn columnNAME; private global::System.Data.DataColumn columnOPIS; private global::System.Data.DataColumn columnNETTO; private global::System.Data.DataColumn columnBrutto; private global::System.Data.DataColumn columnEMail; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataDataTable() { this.TableName = "Premie_EMailData"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Premie_EMailDataDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected Premie_EMailDataDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDColumn { get { return this.columnID; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ROKColumn { get { return this.columnROK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn MIESIACColumn { get { return this.columnMIESIAC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NAMEColumn { get { return this.columnNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OPISColumn { get { return this.columnOPIS; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NETTOColumn { get { return this.columnNETTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BruttoColumn { get { return this.columnBrutto; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn EMailColumn { get { return this.columnEMail; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataRow this[int index] { get { return ((Premie_EMailDataRow)(this.Rows[index])); } } public event Premie_EMailDataRowChangeEventHandler Premie_EMailDataRowChanging; public event Premie_EMailDataRowChangeEventHandler Premie_EMailDataRowChanged; public event Premie_EMailDataRowChangeEventHandler Premie_EMailDataRowDeleting; public event Premie_EMailDataRowChangeEventHandler Premie_EMailDataRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPremie_EMailDataRow(Premie_EMailDataRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataRow AddPremie_EMailDataRow(double ROK, double MIESIAC, string NAME, string OPIS, decimal NETTO, decimal Brutto, string EMail) { Premie_EMailDataRow rowPremie_EMailDataRow = ((Premie_EMailDataRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ROK, MIESIAC, NAME, OPIS, NETTO, Brutto, EMail}; rowPremie_EMailDataRow.ItemArray = columnValuesArray; this.Rows.Add(rowPremie_EMailDataRow); return rowPremie_EMailDataRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { Premie_EMailDataDataTable cln = ((Premie_EMailDataDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new Premie_EMailDataDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnID = base.Columns["ID"]; this.columnROK = base.Columns["ROK"]; this.columnMIESIAC = base.Columns["MIESIAC"]; this.columnNAME = base.Columns["NAME"]; this.columnOPIS = base.Columns["OPIS"]; this.columnNETTO = base.Columns["NETTO"]; this.columnBrutto = base.Columns["Brutto"]; this.columnEMail = base.Columns["EMail"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnID = new global::System.Data.DataColumn("ID", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnID); this.columnROK = new global::System.Data.DataColumn("ROK", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnROK); this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMIESIAC); this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNAME); this.columnOPIS = new global::System.Data.DataColumn("OPIS", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOPIS); this.columnNETTO = new global::System.Data.DataColumn("NETTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNETTO); this.columnBrutto = new global::System.Data.DataColumn("Brutto", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBrutto); this.columnEMail = new global::System.Data.DataColumn("EMail", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMail); this.columnID.AutoIncrement = true; this.columnID.AllowDBNull = false; this.columnID.ReadOnly = true; this.columnNAME.MaxLength = 255; this.columnOPIS.MaxLength = 255; this.columnEMail.MaxLength = 250; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataRow NewPremie_EMailDataRow() { return ((Premie_EMailDataRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new Premie_EMailDataRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(Premie_EMailDataRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.Premie_EMailDataRowChanged != null)) { this.Premie_EMailDataRowChanged(this, new Premie_EMailDataRowChangeEvent(((Premie_EMailDataRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.Premie_EMailDataRowChanging != null)) { this.Premie_EMailDataRowChanging(this, new Premie_EMailDataRowChangeEvent(((Premie_EMailDataRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.Premie_EMailDataRowDeleted != null)) { this.Premie_EMailDataRowDeleted(this, new Premie_EMailDataRowChangeEvent(((Premie_EMailDataRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.Premie_EMailDataRowDeleting != null)) { this.Premie_EMailDataRowDeleting(this, new Premie_EMailDataRowChangeEvent(((Premie_EMailDataRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePremie_EMailDataRow(Premie_EMailDataRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "Premie_EMailDataDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class Premie_LastMonthBezEMailiDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnROK; private global::System.Data.DataColumn columnMIESIAC; private global::System.Data.DataColumn columnNAME; private global::System.Data.DataColumn columnEMail; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiDataTable() { this.TableName = "Premie_LastMonthBezEMaili"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Premie_LastMonthBezEMailiDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected Premie_LastMonthBezEMailiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ROKColumn { get { return this.columnROK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn MIESIACColumn { get { return this.columnMIESIAC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NAMEColumn { get { return this.columnNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn EMailColumn { get { return this.columnEMail; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiRow this[int index] { get { return ((Premie_LastMonthBezEMailiRow)(this.Rows[index])); } } public event Premie_LastMonthBezEMailiRowChangeEventHandler Premie_LastMonthBezEMailiRowChanging; public event Premie_LastMonthBezEMailiRowChangeEventHandler Premie_LastMonthBezEMailiRowChanged; public event Premie_LastMonthBezEMailiRowChangeEventHandler Premie_LastMonthBezEMailiRowDeleting; public event Premie_LastMonthBezEMailiRowChangeEventHandler Premie_LastMonthBezEMailiRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPremie_LastMonthBezEMailiRow(Premie_LastMonthBezEMailiRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiRow AddPremie_LastMonthBezEMailiRow(double ROK, double MIESIAC, string NAME, string EMail) { Premie_LastMonthBezEMailiRow rowPremie_LastMonthBezEMailiRow = ((Premie_LastMonthBezEMailiRow)(this.NewRow())); object[] columnValuesArray = new object[] { ROK, MIESIAC, NAME, EMail}; rowPremie_LastMonthBezEMailiRow.ItemArray = columnValuesArray; this.Rows.Add(rowPremie_LastMonthBezEMailiRow); return rowPremie_LastMonthBezEMailiRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { Premie_LastMonthBezEMailiDataTable cln = ((Premie_LastMonthBezEMailiDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new Premie_LastMonthBezEMailiDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnROK = base.Columns["ROK"]; this.columnMIESIAC = base.Columns["MIESIAC"]; this.columnNAME = base.Columns["NAME"]; this.columnEMail = base.Columns["EMail"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnROK = new global::System.Data.DataColumn("ROK", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnROK); this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMIESIAC); this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNAME); this.columnEMail = new global::System.Data.DataColumn("EMail", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnEMail); this.columnNAME.MaxLength = 255; this.columnEMail.MaxLength = 250; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiRow NewPremie_LastMonthBezEMailiRow() { return ((Premie_LastMonthBezEMailiRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new Premie_LastMonthBezEMailiRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(Premie_LastMonthBezEMailiRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.Premie_LastMonthBezEMailiRowChanged != null)) { this.Premie_LastMonthBezEMailiRowChanged(this, new Premie_LastMonthBezEMailiRowChangeEvent(((Premie_LastMonthBezEMailiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.Premie_LastMonthBezEMailiRowChanging != null)) { this.Premie_LastMonthBezEMailiRowChanging(this, new Premie_LastMonthBezEMailiRowChangeEvent(((Premie_LastMonthBezEMailiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.Premie_LastMonthBezEMailiRowDeleted != null)) { this.Premie_LastMonthBezEMailiRowDeleted(this, new Premie_LastMonthBezEMailiRowChangeEvent(((Premie_LastMonthBezEMailiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.Premie_LastMonthBezEMailiRowDeleting != null)) { this.Premie_LastMonthBezEMailiRowDeleting(this, new Premie_LastMonthBezEMailiRowChangeEvent(((Premie_LastMonthBezEMailiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePremie_LastMonthBezEMailiRow(Premie_LastMonthBezEMailiRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "Premie_LastMonthBezEMailiDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class PREMIE_MIESIECZNIEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnROK; private global::System.Data.DataColumn columnMIESIAC; private global::System.Data.DataColumn columnILOSC; private global::System.Data.DataColumn columnBRUTTO; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIEDataTable() { this.TableName = "PREMIE_MIESIECZNIE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_MIESIECZNIEDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected PREMIE_MIESIECZNIEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ROKColumn { get { return this.columnROK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn MIESIACColumn { get { return this.columnMIESIAC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ILOSCColumn { get { return this.columnILOSC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BRUTTOColumn { get { return this.columnBRUTTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIERow this[int index] { get { return ((PREMIE_MIESIECZNIERow)(this.Rows[index])); } } public event PREMIE_MIESIECZNIERowChangeEventHandler PREMIE_MIESIECZNIERowChanging; public event PREMIE_MIESIECZNIERowChangeEventHandler PREMIE_MIESIECZNIERowChanged; public event PREMIE_MIESIECZNIERowChangeEventHandler PREMIE_MIESIECZNIERowDeleting; public event PREMIE_MIESIECZNIERowChangeEventHandler PREMIE_MIESIECZNIERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPREMIE_MIESIECZNIERow(PREMIE_MIESIECZNIERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIERow AddPREMIE_MIESIECZNIERow(double ROK, double MIESIAC, int ILOSC, decimal BRUTTO) { PREMIE_MIESIECZNIERow rowPREMIE_MIESIECZNIERow = ((PREMIE_MIESIECZNIERow)(this.NewRow())); object[] columnValuesArray = new object[] { ROK, MIESIAC, ILOSC, BRUTTO}; rowPREMIE_MIESIECZNIERow.ItemArray = columnValuesArray; this.Rows.Add(rowPREMIE_MIESIECZNIERow); return rowPREMIE_MIESIECZNIERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { PREMIE_MIESIECZNIEDataTable cln = ((PREMIE_MIESIECZNIEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new PREMIE_MIESIECZNIEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnROK = base.Columns["ROK"]; this.columnMIESIAC = base.Columns["MIESIAC"]; this.columnILOSC = base.Columns["ILOSC"]; this.columnBRUTTO = base.Columns["BRUTTO"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnROK = new global::System.Data.DataColumn("ROK", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnROK); this.columnMIESIAC = new global::System.Data.DataColumn("MIESIAC", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnMIESIAC); this.columnILOSC = new global::System.Data.DataColumn("ILOSC", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnILOSC); this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBRUTTO); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIERow NewPREMIE_MIESIECZNIERow() { return ((PREMIE_MIESIECZNIERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new PREMIE_MIESIECZNIERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(PREMIE_MIESIECZNIERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.PREMIE_MIESIECZNIERowChanged != null)) { this.PREMIE_MIESIECZNIERowChanged(this, new PREMIE_MIESIECZNIERowChangeEvent(((PREMIE_MIESIECZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.PREMIE_MIESIECZNIERowChanging != null)) { this.PREMIE_MIESIECZNIERowChanging(this, new PREMIE_MIESIECZNIERowChangeEvent(((PREMIE_MIESIECZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.PREMIE_MIESIECZNIERowDeleted != null)) { this.PREMIE_MIESIECZNIERowDeleted(this, new PREMIE_MIESIECZNIERowChangeEvent(((PREMIE_MIESIECZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.PREMIE_MIESIECZNIERowDeleting != null)) { this.PREMIE_MIESIECZNIERowDeleting(this, new PREMIE_MIESIECZNIERowChangeEvent(((PREMIE_MIESIECZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePREMIE_MIESIECZNIERow(PREMIE_MIESIECZNIERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "PREMIE_MIESIECZNIEDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class PREMIE_PRACOWNIKDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnNAME; private global::System.Data.DataColumn columnILOSC; private global::System.Data.DataColumn columnBRUTTO; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKDataTable() { this.TableName = "PREMIE_PRACOWNIK"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_PRACOWNIKDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected PREMIE_PRACOWNIKDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NAMEColumn { get { return this.columnNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ILOSCColumn { get { return this.columnILOSC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BRUTTOColumn { get { return this.columnBRUTTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKRow this[int index] { get { return ((PREMIE_PRACOWNIKRow)(this.Rows[index])); } } public event PREMIE_PRACOWNIKRowChangeEventHandler PREMIE_PRACOWNIKRowChanging; public event PREMIE_PRACOWNIKRowChangeEventHandler PREMIE_PRACOWNIKRowChanged; public event PREMIE_PRACOWNIKRowChangeEventHandler PREMIE_PRACOWNIKRowDeleting; public event PREMIE_PRACOWNIKRowChangeEventHandler PREMIE_PRACOWNIKRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPREMIE_PRACOWNIKRow(PREMIE_PRACOWNIKRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKRow AddPREMIE_PRACOWNIKRow(string NAME, int ILOSC, decimal BRUTTO) { PREMIE_PRACOWNIKRow rowPREMIE_PRACOWNIKRow = ((PREMIE_PRACOWNIKRow)(this.NewRow())); object[] columnValuesArray = new object[] { NAME, ILOSC, BRUTTO}; rowPREMIE_PRACOWNIKRow.ItemArray = columnValuesArray; this.Rows.Add(rowPREMIE_PRACOWNIKRow); return rowPREMIE_PRACOWNIKRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { PREMIE_PRACOWNIKDataTable cln = ((PREMIE_PRACOWNIKDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new PREMIE_PRACOWNIKDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnNAME = base.Columns["NAME"]; this.columnILOSC = base.Columns["ILOSC"]; this.columnBRUTTO = base.Columns["BRUTTO"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNAME); this.columnILOSC = new global::System.Data.DataColumn("ILOSC", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnILOSC); this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBRUTTO); this.columnNAME.MaxLength = 255; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKRow NewPREMIE_PRACOWNIKRow() { return ((PREMIE_PRACOWNIKRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new PREMIE_PRACOWNIKRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(PREMIE_PRACOWNIKRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.PREMIE_PRACOWNIKRowChanged != null)) { this.PREMIE_PRACOWNIKRowChanged(this, new PREMIE_PRACOWNIKRowChangeEvent(((PREMIE_PRACOWNIKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.PREMIE_PRACOWNIKRowChanging != null)) { this.PREMIE_PRACOWNIKRowChanging(this, new PREMIE_PRACOWNIKRowChangeEvent(((PREMIE_PRACOWNIKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.PREMIE_PRACOWNIKRowDeleted != null)) { this.PREMIE_PRACOWNIKRowDeleted(this, new PREMIE_PRACOWNIKRowChangeEvent(((PREMIE_PRACOWNIKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.PREMIE_PRACOWNIKRowDeleting != null)) { this.PREMIE_PRACOWNIKRowDeleting(this, new PREMIE_PRACOWNIKRowChangeEvent(((PREMIE_PRACOWNIKRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePREMIE_PRACOWNIKRow(PREMIE_PRACOWNIKRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "PREMIE_PRACOWNIKDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class PREMIE_ROCZNIEDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnROK; private global::System.Data.DataColumn columnILOSC; private global::System.Data.DataColumn columnBRUTTO; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIEDataTable() { this.TableName = "PREMIE_ROCZNIE"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_ROCZNIEDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected PREMIE_ROCZNIEDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ROKColumn { get { return this.columnROK; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ILOSCColumn { get { return this.columnILOSC; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn BRUTTOColumn { get { return this.columnBRUTTO; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIERow this[int index] { get { return ((PREMIE_ROCZNIERow)(this.Rows[index])); } } public event PREMIE_ROCZNIERowChangeEventHandler PREMIE_ROCZNIERowChanging; public event PREMIE_ROCZNIERowChangeEventHandler PREMIE_ROCZNIERowChanged; public event PREMIE_ROCZNIERowChangeEventHandler PREMIE_ROCZNIERowDeleting; public event PREMIE_ROCZNIERowChangeEventHandler PREMIE_ROCZNIERowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddPREMIE_ROCZNIERow(PREMIE_ROCZNIERow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIERow AddPREMIE_ROCZNIERow(double ROK, int ILOSC, decimal BRUTTO) { PREMIE_ROCZNIERow rowPREMIE_ROCZNIERow = ((PREMIE_ROCZNIERow)(this.NewRow())); object[] columnValuesArray = new object[] { ROK, ILOSC, BRUTTO}; rowPREMIE_ROCZNIERow.ItemArray = columnValuesArray; this.Rows.Add(rowPREMIE_ROCZNIERow); return rowPREMIE_ROCZNIERow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { PREMIE_ROCZNIEDataTable cln = ((PREMIE_ROCZNIEDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new PREMIE_ROCZNIEDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnROK = base.Columns["ROK"]; this.columnILOSC = base.Columns["ILOSC"]; this.columnBRUTTO = base.Columns["BRUTTO"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnROK = new global::System.Data.DataColumn("ROK", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnROK); this.columnILOSC = new global::System.Data.DataColumn("ILOSC", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnILOSC); this.columnBRUTTO = new global::System.Data.DataColumn("BRUTTO", typeof(decimal), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnBRUTTO); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIERow NewPREMIE_ROCZNIERow() { return ((PREMIE_ROCZNIERow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new PREMIE_ROCZNIERow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(PREMIE_ROCZNIERow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.PREMIE_ROCZNIERowChanged != null)) { this.PREMIE_ROCZNIERowChanged(this, new PREMIE_ROCZNIERowChangeEvent(((PREMIE_ROCZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.PREMIE_ROCZNIERowChanging != null)) { this.PREMIE_ROCZNIERowChanging(this, new PREMIE_ROCZNIERowChangeEvent(((PREMIE_ROCZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.PREMIE_ROCZNIERowDeleted != null)) { this.PREMIE_ROCZNIERowDeleted(this, new PREMIE_ROCZNIERowChangeEvent(((PREMIE_ROCZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.PREMIE_ROCZNIERowDeleting != null)) { this.PREMIE_ROCZNIERowDeleting(this, new PREMIE_ROCZNIERowChangeEvent(((PREMIE_ROCZNIERow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemovePREMIE_ROCZNIERow(PREMIE_ROCZNIERow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "PREMIE_ROCZNIEDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_CT_PracownicyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnidePracownik; private global::System.Data.DataColumn columnideKierownik; private global::System.Data.DataColumn columnIdedzial; private global::System.Data.DataColumn columnIdeOddzial; private global::System.Data.DataColumn columnDzial; private global::System.Data.DataColumn columnOddzial; private global::System.Data.DataColumn columnSQLLogins; private global::System.Data.DataColumn columnImie; private global::System.Data.DataColumn columnNazwisko; private global::System.Data.DataColumn columnKierownikImie; private global::System.Data.DataColumn columnKierownikNazwisko; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyDataTable() { this.TableName = "view_CT_Pracownicy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_CT_PracownicyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_CT_PracownicyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn idePracownikColumn { get { return this.columnidePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideKierownikColumn { get { return this.columnideKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdedzialColumn { get { return this.columnIdedzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdeOddzialColumn { get { return this.columnIdeOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn DzialColumn { get { return this.columnDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OddzialColumn { get { return this.columnOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn SQLLoginsColumn { get { return this.columnSQLLogins; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ImieColumn { get { return this.columnImie; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NazwiskoColumn { get { return this.columnNazwisko; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn KierownikImieColumn { get { return this.columnKierownikImie; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn KierownikNazwiskoColumn { get { return this.columnKierownikNazwisko; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyRow this[int index] { get { return ((view_CT_PracownicyRow)(this.Rows[index])); } } public event view_CT_PracownicyRowChangeEventHandler view_CT_PracownicyRowChanging; public event view_CT_PracownicyRowChangeEventHandler view_CT_PracownicyRowChanged; public event view_CT_PracownicyRowChangeEventHandler view_CT_PracownicyRowDeleting; public event view_CT_PracownicyRowChangeEventHandler view_CT_PracownicyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_CT_PracownicyRow(view_CT_PracownicyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyRow Addview_CT_PracownicyRow(int ideKierownik, int Idedzial, int IdeOddzial, string Dzial, string Oddzial, string SQLLogins, string Imie, string Nazwisko, string KierownikImie, string KierownikNazwisko) { view_CT_PracownicyRow rowview_CT_PracownicyRow = ((view_CT_PracownicyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ideKierownik, Idedzial, IdeOddzial, Dzial, Oddzial, SQLLogins, Imie, Nazwisko, KierownikImie, KierownikNazwisko}; rowview_CT_PracownicyRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_CT_PracownicyRow); return rowview_CT_PracownicyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_CT_PracownicyDataTable cln = ((view_CT_PracownicyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_CT_PracownicyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnidePracownik = base.Columns["idePracownik"]; this.columnideKierownik = base.Columns["ideKierownik"]; this.columnIdedzial = base.Columns["Idedzial"]; this.columnIdeOddzial = base.Columns["IdeOddzial"]; this.columnDzial = base.Columns["Dzial"]; this.columnOddzial = base.Columns["Oddzial"]; this.columnSQLLogins = base.Columns["SQLLogins"]; this.columnImie = base.Columns["Imie"]; this.columnNazwisko = base.Columns["Nazwisko"]; this.columnKierownikImie = base.Columns["KierownikImie"]; this.columnKierownikNazwisko = base.Columns["KierownikNazwisko"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnidePracownik = new global::System.Data.DataColumn("idePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidePracownik); this.columnideKierownik = new global::System.Data.DataColumn("ideKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideKierownik); this.columnIdedzial = new global::System.Data.DataColumn("Idedzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdedzial); this.columnIdeOddzial = new global::System.Data.DataColumn("IdeOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdeOddzial); this.columnDzial = new global::System.Data.DataColumn("Dzial", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDzial); this.columnOddzial = new global::System.Data.DataColumn("Oddzial", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOddzial); this.columnSQLLogins = new global::System.Data.DataColumn("SQLLogins", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnSQLLogins); this.columnImie = new global::System.Data.DataColumn("Imie", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnImie); this.columnNazwisko = new global::System.Data.DataColumn("Nazwisko", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNazwisko); this.columnKierownikImie = new global::System.Data.DataColumn("KierownikImie", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnKierownikImie); this.columnKierownikNazwisko = new global::System.Data.DataColumn("KierownikNazwisko", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnKierownikNazwisko); this.columnidePracownik.AutoIncrement = true; this.columnidePracownik.AllowDBNull = false; this.columnidePracownik.ReadOnly = true; this.columnDzial.MaxLength = 50; this.columnOddzial.MaxLength = 32; this.columnSQLLogins.MaxLength = 250; this.columnImie.MaxLength = 50; this.columnNazwisko.MaxLength = 50; this.columnKierownikImie.MaxLength = 50; this.columnKierownikNazwisko.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyRow Newview_CT_PracownicyRow() { return ((view_CT_PracownicyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_CT_PracownicyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_CT_PracownicyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_CT_PracownicyRowChanged != null)) { this.view_CT_PracownicyRowChanged(this, new view_CT_PracownicyRowChangeEvent(((view_CT_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_CT_PracownicyRowChanging != null)) { this.view_CT_PracownicyRowChanging(this, new view_CT_PracownicyRowChangeEvent(((view_CT_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_CT_PracownicyRowDeleted != null)) { this.view_CT_PracownicyRowDeleted(this, new view_CT_PracownicyRowChangeEvent(((view_CT_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_CT_PracownicyRowDeleting != null)) { this.view_CT_PracownicyRowDeleting(this, new view_CT_PracownicyRowChangeEvent(((view_CT_PracownicyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_CT_PracownicyRow(view_CT_PracownicyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_CT_PracownicyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_Pracownicy_DzialDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnidePracownik; private global::System.Data.DataColumn columnideKierownik; private global::System.Data.DataColumn columnIdedzial; private global::System.Data.DataColumn columnIdeOddzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialDataTable() { this.TableName = "view_Pracownicy_Dzial"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_DzialDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_Pracownicy_DzialDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn idePracownikColumn { get { return this.columnidePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideKierownikColumn { get { return this.columnideKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdedzialColumn { get { return this.columnIdedzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdeOddzialColumn { get { return this.columnIdeOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialRow this[int index] { get { return ((view_Pracownicy_DzialRow)(this.Rows[index])); } } public event view_Pracownicy_DzialRowChangeEventHandler view_Pracownicy_DzialRowChanging; public event view_Pracownicy_DzialRowChangeEventHandler view_Pracownicy_DzialRowChanged; public event view_Pracownicy_DzialRowChangeEventHandler view_Pracownicy_DzialRowDeleting; public event view_Pracownicy_DzialRowChangeEventHandler view_Pracownicy_DzialRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_Pracownicy_DzialRow(view_Pracownicy_DzialRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialRow Addview_Pracownicy_DzialRow(int ideKierownik, int Idedzial, int IdeOddzial) { view_Pracownicy_DzialRow rowview_Pracownicy_DzialRow = ((view_Pracownicy_DzialRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ideKierownik, Idedzial, IdeOddzial}; rowview_Pracownicy_DzialRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_Pracownicy_DzialRow); return rowview_Pracownicy_DzialRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_Pracownicy_DzialDataTable cln = ((view_Pracownicy_DzialDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_Pracownicy_DzialDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnidePracownik = base.Columns["idePracownik"]; this.columnideKierownik = base.Columns["ideKierownik"]; this.columnIdedzial = base.Columns["Idedzial"]; this.columnIdeOddzial = base.Columns["IdeOddzial"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnidePracownik = new global::System.Data.DataColumn("idePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidePracownik); this.columnideKierownik = new global::System.Data.DataColumn("ideKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideKierownik); this.columnIdedzial = new global::System.Data.DataColumn("Idedzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdedzial); this.columnIdeOddzial = new global::System.Data.DataColumn("IdeOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdeOddzial); this.columnidePracownik.AutoIncrement = true; this.columnidePracownik.AllowDBNull = false; this.columnidePracownik.ReadOnly = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialRow Newview_Pracownicy_DzialRow() { return ((view_Pracownicy_DzialRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_Pracownicy_DzialRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_Pracownicy_DzialRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_Pracownicy_DzialRowChanged != null)) { this.view_Pracownicy_DzialRowChanged(this, new view_Pracownicy_DzialRowChangeEvent(((view_Pracownicy_DzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_Pracownicy_DzialRowChanging != null)) { this.view_Pracownicy_DzialRowChanging(this, new view_Pracownicy_DzialRowChangeEvent(((view_Pracownicy_DzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_Pracownicy_DzialRowDeleted != null)) { this.view_Pracownicy_DzialRowDeleted(this, new view_Pracownicy_DzialRowChangeEvent(((view_Pracownicy_DzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_Pracownicy_DzialRowDeleting != null)) { this.view_Pracownicy_DzialRowDeleting(this, new view_Pracownicy_DzialRowChangeEvent(((view_Pracownicy_DzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_Pracownicy_DzialRow(view_Pracownicy_DzialRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_Pracownicy_DzialDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_Pracownicy_PodwladniDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIdePracownik; private global::System.Data.DataColumn columnIdeKierownik; private global::System.Data.DataColumn columnideDzial; private global::System.Data.DataColumn columnideOddzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniDataTable() { this.TableName = "view_Pracownicy_Podwladni"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_PodwladniDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_Pracownicy_PodwladniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdePracownikColumn { get { return this.columnIdePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdeKierownikColumn { get { return this.columnIdeKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideDzialColumn { get { return this.columnideDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideOddzialColumn { get { return this.columnideOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRow this[int index] { get { return ((view_Pracownicy_PodwladniRow)(this.Rows[index])); } } public event view_Pracownicy_PodwladniRowChangeEventHandler view_Pracownicy_PodwladniRowChanging; public event view_Pracownicy_PodwladniRowChangeEventHandler view_Pracownicy_PodwladniRowChanged; public event view_Pracownicy_PodwladniRowChangeEventHandler view_Pracownicy_PodwladniRowDeleting; public event view_Pracownicy_PodwladniRowChangeEventHandler view_Pracownicy_PodwladniRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_Pracownicy_PodwladniRow(view_Pracownicy_PodwladniRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRow Addview_Pracownicy_PodwladniRow(int IdePracownik, int IdeKierownik, int ideDzial, int ideOddzial) { view_Pracownicy_PodwladniRow rowview_Pracownicy_PodwladniRow = ((view_Pracownicy_PodwladniRow)(this.NewRow())); object[] columnValuesArray = new object[] { IdePracownik, IdeKierownik, ideDzial, ideOddzial}; rowview_Pracownicy_PodwladniRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_Pracownicy_PodwladniRow); return rowview_Pracownicy_PodwladniRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRow FindByIdePracownikIdeKierownik(int IdePracownik, int IdeKierownik) { return ((view_Pracownicy_PodwladniRow)(this.Rows.Find(new object[] { IdePracownik, IdeKierownik}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_Pracownicy_PodwladniDataTable cln = ((view_Pracownicy_PodwladniDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_Pracownicy_PodwladniDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIdePracownik = base.Columns["IdePracownik"]; this.columnIdeKierownik = base.Columns["IdeKierownik"]; this.columnideDzial = base.Columns["ideDzial"]; this.columnideOddzial = base.Columns["ideOddzial"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIdePracownik = new global::System.Data.DataColumn("IdePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdePracownik); this.columnIdeKierownik = new global::System.Data.DataColumn("IdeKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdeKierownik); this.columnideDzial = new global::System.Data.DataColumn("ideDzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideDzial); this.columnideOddzial = new global::System.Data.DataColumn("ideOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideOddzial); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIdePracownik, this.columnIdeKierownik}, true)); this.columnIdePracownik.AllowDBNull = false; this.columnIdeKierownik.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRow Newview_Pracownicy_PodwladniRow() { return ((view_Pracownicy_PodwladniRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_Pracownicy_PodwladniRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_Pracownicy_PodwladniRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_Pracownicy_PodwladniRowChanged != null)) { this.view_Pracownicy_PodwladniRowChanged(this, new view_Pracownicy_PodwladniRowChangeEvent(((view_Pracownicy_PodwladniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_Pracownicy_PodwladniRowChanging != null)) { this.view_Pracownicy_PodwladniRowChanging(this, new view_Pracownicy_PodwladniRowChangeEvent(((view_Pracownicy_PodwladniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_Pracownicy_PodwladniRowDeleted != null)) { this.view_Pracownicy_PodwladniRowDeleted(this, new view_Pracownicy_PodwladniRowChangeEvent(((view_Pracownicy_PodwladniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_Pracownicy_PodwladniRowDeleting != null)) { this.view_Pracownicy_PodwladniRowDeleting(this, new view_Pracownicy_PodwladniRowChangeEvent(((view_Pracownicy_PodwladniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_Pracownicy_PodwladniRow(view_Pracownicy_PodwladniRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_Pracownicy_PodwladniDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_Pracownicy_WpisaniDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnidePracownik; private global::System.Data.DataColumn columnideKierownik; private global::System.Data.DataColumn columnideDzial; private global::System.Data.DataColumn columnideOddzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniDataTable() { this.TableName = "view_Pracownicy_Wpisani"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_WpisaniDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_Pracownicy_WpisaniDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn idePracownikColumn { get { return this.columnidePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideKierownikColumn { get { return this.columnideKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideDzialColumn { get { return this.columnideDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideOddzialColumn { get { return this.columnideOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniRow this[int index] { get { return ((view_Pracownicy_WpisaniRow)(this.Rows[index])); } } public event view_Pracownicy_WpisaniRowChangeEventHandler view_Pracownicy_WpisaniRowChanging; public event view_Pracownicy_WpisaniRowChangeEventHandler view_Pracownicy_WpisaniRowChanged; public event view_Pracownicy_WpisaniRowChangeEventHandler view_Pracownicy_WpisaniRowDeleting; public event view_Pracownicy_WpisaniRowChangeEventHandler view_Pracownicy_WpisaniRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_Pracownicy_WpisaniRow(view_Pracownicy_WpisaniRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniRow Addview_Pracownicy_WpisaniRow(int idePracownik, int ideKierownik, int ideDzial, int ideOddzial) { view_Pracownicy_WpisaniRow rowview_Pracownicy_WpisaniRow = ((view_Pracownicy_WpisaniRow)(this.NewRow())); object[] columnValuesArray = new object[] { idePracownik, ideKierownik, ideDzial, ideOddzial}; rowview_Pracownicy_WpisaniRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_Pracownicy_WpisaniRow); return rowview_Pracownicy_WpisaniRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_Pracownicy_WpisaniDataTable cln = ((view_Pracownicy_WpisaniDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_Pracownicy_WpisaniDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnidePracownik = base.Columns["idePracownik"]; this.columnideKierownik = base.Columns["ideKierownik"]; this.columnideDzial = base.Columns["ideDzial"]; this.columnideOddzial = base.Columns["ideOddzial"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnidePracownik = new global::System.Data.DataColumn("idePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidePracownik); this.columnideKierownik = new global::System.Data.DataColumn("ideKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideKierownik); this.columnideDzial = new global::System.Data.DataColumn("ideDzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideDzial); this.columnideOddzial = new global::System.Data.DataColumn("ideOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideOddzial); this.columnideKierownik.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniRow Newview_Pracownicy_WpisaniRow() { return ((view_Pracownicy_WpisaniRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_Pracownicy_WpisaniRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_Pracownicy_WpisaniRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_Pracownicy_WpisaniRowChanged != null)) { this.view_Pracownicy_WpisaniRowChanged(this, new view_Pracownicy_WpisaniRowChangeEvent(((view_Pracownicy_WpisaniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_Pracownicy_WpisaniRowChanging != null)) { this.view_Pracownicy_WpisaniRowChanging(this, new view_Pracownicy_WpisaniRowChangeEvent(((view_Pracownicy_WpisaniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_Pracownicy_WpisaniRowDeleted != null)) { this.view_Pracownicy_WpisaniRowDeleted(this, new view_Pracownicy_WpisaniRowChangeEvent(((view_Pracownicy_WpisaniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_Pracownicy_WpisaniRowDeleting != null)) { this.view_Pracownicy_WpisaniRowDeleting(this, new view_Pracownicy_WpisaniRowChangeEvent(((view_Pracownicy_WpisaniRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_Pracownicy_WpisaniRow(view_Pracownicy_WpisaniRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_Pracownicy_WpisaniDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_Pracownicy_WszyscyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnidePracownik; private global::System.Data.DataColumn columnideKierownik; private global::System.Data.DataColumn columnIdedzial; private global::System.Data.DataColumn columnIdeOddzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyDataTable() { this.TableName = "view_Pracownicy_Wszyscy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_WszyscyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_Pracownicy_WszyscyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn idePracownikColumn { get { return this.columnidePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideKierownikColumn { get { return this.columnideKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdedzialColumn { get { return this.columnIdedzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IdeOddzialColumn { get { return this.columnIdeOddzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyRow this[int index] { get { return ((view_Pracownicy_WszyscyRow)(this.Rows[index])); } } public event view_Pracownicy_WszyscyRowChangeEventHandler view_Pracownicy_WszyscyRowChanging; public event view_Pracownicy_WszyscyRowChangeEventHandler view_Pracownicy_WszyscyRowChanged; public event view_Pracownicy_WszyscyRowChangeEventHandler view_Pracownicy_WszyscyRowDeleting; public event view_Pracownicy_WszyscyRowChangeEventHandler view_Pracownicy_WszyscyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_Pracownicy_WszyscyRow(view_Pracownicy_WszyscyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyRow Addview_Pracownicy_WszyscyRow(int idePracownik, int ideKierownik, int Idedzial, int IdeOddzial) { view_Pracownicy_WszyscyRow rowview_Pracownicy_WszyscyRow = ((view_Pracownicy_WszyscyRow)(this.NewRow())); object[] columnValuesArray = new object[] { idePracownik, ideKierownik, Idedzial, IdeOddzial}; rowview_Pracownicy_WszyscyRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_Pracownicy_WszyscyRow); return rowview_Pracownicy_WszyscyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_Pracownicy_WszyscyDataTable cln = ((view_Pracownicy_WszyscyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_Pracownicy_WszyscyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnidePracownik = base.Columns["idePracownik"]; this.columnideKierownik = base.Columns["ideKierownik"]; this.columnIdedzial = base.Columns["Idedzial"]; this.columnIdeOddzial = base.Columns["IdeOddzial"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnidePracownik = new global::System.Data.DataColumn("idePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidePracownik); this.columnideKierownik = new global::System.Data.DataColumn("ideKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideKierownik); this.columnIdedzial = new global::System.Data.DataColumn("Idedzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdedzial); this.columnIdeOddzial = new global::System.Data.DataColumn("IdeOddzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIdeOddzial); this.columnidePracownik.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyRow Newview_Pracownicy_WszyscyRow() { return ((view_Pracownicy_WszyscyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_Pracownicy_WszyscyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_Pracownicy_WszyscyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_Pracownicy_WszyscyRowChanged != null)) { this.view_Pracownicy_WszyscyRowChanged(this, new view_Pracownicy_WszyscyRowChangeEvent(((view_Pracownicy_WszyscyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_Pracownicy_WszyscyRowChanging != null)) { this.view_Pracownicy_WszyscyRowChanging(this, new view_Pracownicy_WszyscyRowChangeEvent(((view_Pracownicy_WszyscyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_Pracownicy_WszyscyRowDeleted != null)) { this.view_Pracownicy_WszyscyRowDeleted(this, new view_Pracownicy_WszyscyRowChangeEvent(((view_Pracownicy_WszyscyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_Pracownicy_WszyscyRowDeleting != null)) { this.view_Pracownicy_WszyscyRowDeleting(this, new view_Pracownicy_WszyscyRowChangeEvent(((view_Pracownicy_WszyscyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_Pracownicy_WszyscyRow(view_Pracownicy_WszyscyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_Pracownicy_WszyscyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class view_Pracownicy_Wszyscy_With_NameDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnidePracownik; private global::System.Data.DataColumn columnideKierownik; private global::System.Data.DataColumn columnname; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameDataTable() { this.TableName = "view_Pracownicy_Wszyscy_With_Name"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_Wszyscy_With_NameDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected view_Pracownicy_Wszyscy_With_NameDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn idePracownikColumn { get { return this.columnidePracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn ideKierownikColumn { get { return this.columnideKierownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn nameColumn { get { return this.columnname; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameRow this[int index] { get { return ((view_Pracownicy_Wszyscy_With_NameRow)(this.Rows[index])); } } public event view_Pracownicy_Wszyscy_With_NameRowChangeEventHandler view_Pracownicy_Wszyscy_With_NameRowChanging; public event view_Pracownicy_Wszyscy_With_NameRowChangeEventHandler view_Pracownicy_Wszyscy_With_NameRowChanged; public event view_Pracownicy_Wszyscy_With_NameRowChangeEventHandler view_Pracownicy_Wszyscy_With_NameRowDeleting; public event view_Pracownicy_Wszyscy_With_NameRowChangeEventHandler view_Pracownicy_Wszyscy_With_NameRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Addview_Pracownicy_Wszyscy_With_NameRow(view_Pracownicy_Wszyscy_With_NameRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameRow Addview_Pracownicy_Wszyscy_With_NameRow(int idePracownik, int ideKierownik, string name) { view_Pracownicy_Wszyscy_With_NameRow rowview_Pracownicy_Wszyscy_With_NameRow = ((view_Pracownicy_Wszyscy_With_NameRow)(this.NewRow())); object[] columnValuesArray = new object[] { idePracownik, ideKierownik, name}; rowview_Pracownicy_Wszyscy_With_NameRow.ItemArray = columnValuesArray; this.Rows.Add(rowview_Pracownicy_Wszyscy_With_NameRow); return rowview_Pracownicy_Wszyscy_With_NameRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { view_Pracownicy_Wszyscy_With_NameDataTable cln = ((view_Pracownicy_Wszyscy_With_NameDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new view_Pracownicy_Wszyscy_With_NameDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnidePracownik = base.Columns["idePracownik"]; this.columnideKierownik = base.Columns["ideKierownik"]; this.columnname = base.Columns["name"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnidePracownik = new global::System.Data.DataColumn("idePracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnidePracownik); this.columnideKierownik = new global::System.Data.DataColumn("ideKierownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnideKierownik); this.columnname = new global::System.Data.DataColumn("name", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnname); this.columnidePracownik.AllowDBNull = false; this.columnname.ReadOnly = true; this.columnname.MaxLength = 101; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameRow Newview_Pracownicy_Wszyscy_With_NameRow() { return ((view_Pracownicy_Wszyscy_With_NameRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new view_Pracownicy_Wszyscy_With_NameRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(view_Pracownicy_Wszyscy_With_NameRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.view_Pracownicy_Wszyscy_With_NameRowChanged != null)) { this.view_Pracownicy_Wszyscy_With_NameRowChanged(this, new view_Pracownicy_Wszyscy_With_NameRowChangeEvent(((view_Pracownicy_Wszyscy_With_NameRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.view_Pracownicy_Wszyscy_With_NameRowChanging != null)) { this.view_Pracownicy_Wszyscy_With_NameRowChanging(this, new view_Pracownicy_Wszyscy_With_NameRowChangeEvent(((view_Pracownicy_Wszyscy_With_NameRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.view_Pracownicy_Wszyscy_With_NameRowDeleted != null)) { this.view_Pracownicy_Wszyscy_With_NameRowDeleted(this, new view_Pracownicy_Wszyscy_With_NameRowChangeEvent(((view_Pracownicy_Wszyscy_With_NameRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.view_Pracownicy_Wszyscy_With_NameRowDeleting != null)) { this.view_Pracownicy_Wszyscy_With_NameRowDeleting(this, new view_Pracownicy_Wszyscy_With_NameRowChangeEvent(((view_Pracownicy_Wszyscy_With_NameRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Removeview_Pracownicy_Wszyscy_With_NameRow(view_Pracownicy_Wszyscy_With_NameRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "view_Pracownicy_Wszyscy_With_NameDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class Interface_Pracownicy2DataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDEPracownika; private global::System.Data.DataColumn columnNAME; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2DataTable() { this.TableName = "Interface_Pracownicy2"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_Pracownicy2DataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected Interface_Pracownicy2DataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEPracownikaColumn { get { return this.columnIDEPracownika; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NAMEColumn { get { return this.columnNAME; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2Row this[int index] { get { return ((Interface_Pracownicy2Row)(this.Rows[index])); } } public event Interface_Pracownicy2RowChangeEventHandler Interface_Pracownicy2RowChanging; public event Interface_Pracownicy2RowChangeEventHandler Interface_Pracownicy2RowChanged; public event Interface_Pracownicy2RowChangeEventHandler Interface_Pracownicy2RowDeleting; public event Interface_Pracownicy2RowChangeEventHandler Interface_Pracownicy2RowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddInterface_Pracownicy2Row(Interface_Pracownicy2Row row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2Row AddInterface_Pracownicy2Row(int IDEPracownika, string NAME) { Interface_Pracownicy2Row rowInterface_Pracownicy2Row = ((Interface_Pracownicy2Row)(this.NewRow())); object[] columnValuesArray = new object[] { IDEPracownika, NAME}; rowInterface_Pracownicy2Row.ItemArray = columnValuesArray; this.Rows.Add(rowInterface_Pracownicy2Row); return rowInterface_Pracownicy2Row; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { Interface_Pracownicy2DataTable cln = ((Interface_Pracownicy2DataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new Interface_Pracownicy2DataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDEPracownika = base.Columns["IDEPracownika"]; this.columnNAME = base.Columns["NAME"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDEPracownika = new global::System.Data.DataColumn("IDEPracownika", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEPracownika); this.columnNAME = new global::System.Data.DataColumn("NAME", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNAME); this.columnIDEPracownika.AllowDBNull = false; this.columnNAME.MaxLength = 255; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2Row NewInterface_Pracownicy2Row() { return ((Interface_Pracownicy2Row)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new Interface_Pracownicy2Row(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(Interface_Pracownicy2Row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.Interface_Pracownicy2RowChanged != null)) { this.Interface_Pracownicy2RowChanged(this, new Interface_Pracownicy2RowChangeEvent(((Interface_Pracownicy2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.Interface_Pracownicy2RowChanging != null)) { this.Interface_Pracownicy2RowChanging(this, new Interface_Pracownicy2RowChangeEvent(((Interface_Pracownicy2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.Interface_Pracownicy2RowDeleted != null)) { this.Interface_Pracownicy2RowDeleted(this, new Interface_Pracownicy2RowChangeEvent(((Interface_Pracownicy2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.Interface_Pracownicy2RowDeleting != null)) { this.Interface_Pracownicy2RowDeleting(this, new Interface_Pracownicy2RowChangeEvent(((Interface_Pracownicy2Row)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveInterface_Pracownicy2Row(Interface_Pracownicy2Row row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "Interface_Pracownicy2DataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class WspolczynnikiDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columndata; private global::System.Data.DataColumn columnemerytalne; private global::System.Data.DataColumn columnrentowe; private global::System.Data.DataColumn columnchorobowe; private global::System.Data.DataColumn columnzdrowotne1; private global::System.Data.DataColumn columnzdrowotne2; private global::System.Data.DataColumn columnpodatek; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiDataTable() { this.TableName = "Wspolczynniki"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal WspolczynnikiDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected WspolczynnikiDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn dataColumn { get { return this.columndata; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn emerytalneColumn { get { return this.columnemerytalne; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn rentoweColumn { get { return this.columnrentowe; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn choroboweColumn { get { return this.columnchorobowe; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn zdrowotne1Column { get { return this.columnzdrowotne1; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn zdrowotne2Column { get { return this.columnzdrowotne2; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn podatekColumn { get { return this.columnpodatek; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRow this[int index] { get { return ((WspolczynnikiRow)(this.Rows[index])); } } public event WspolczynnikiRowChangeEventHandler WspolczynnikiRowChanging; public event WspolczynnikiRowChangeEventHandler WspolczynnikiRowChanged; public event WspolczynnikiRowChangeEventHandler WspolczynnikiRowDeleting; public event WspolczynnikiRowChangeEventHandler WspolczynnikiRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddWspolczynnikiRow(WspolczynnikiRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRow AddWspolczynnikiRow(System.DateTime data, double emerytalne, double rentowe, double chorobowe, double zdrowotne1, double zdrowotne2, double podatek) { WspolczynnikiRow rowWspolczynnikiRow = ((WspolczynnikiRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, data, emerytalne, rentowe, chorobowe, zdrowotne1, zdrowotne2, podatek}; rowWspolczynnikiRow.ItemArray = columnValuesArray; this.Rows.Add(rowWspolczynnikiRow); return rowWspolczynnikiRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRow FindByIDE(int IDE) { return ((WspolczynnikiRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { WspolczynnikiDataTable cln = ((WspolczynnikiDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new WspolczynnikiDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columndata = base.Columns["data"]; this.columnemerytalne = base.Columns["emerytalne"]; this.columnrentowe = base.Columns["rentowe"]; this.columnchorobowe = base.Columns["chorobowe"]; this.columnzdrowotne1 = base.Columns["zdrowotne1"]; this.columnzdrowotne2 = base.Columns["zdrowotne2"]; this.columnpodatek = base.Columns["podatek"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columndata = new global::System.Data.DataColumn("data", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columndata); this.columnemerytalne = new global::System.Data.DataColumn("emerytalne", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnemerytalne); this.columnrentowe = new global::System.Data.DataColumn("rentowe", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnrentowe); this.columnchorobowe = new global::System.Data.DataColumn("chorobowe", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnchorobowe); this.columnzdrowotne1 = new global::System.Data.DataColumn("zdrowotne1", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnzdrowotne1); this.columnzdrowotne2 = new global::System.Data.DataColumn("zdrowotne2", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnzdrowotne2); this.columnpodatek = new global::System.Data.DataColumn("podatek", typeof(double), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnpodatek); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnemerytalne.AllowDBNull = false; this.columnemerytalne.DefaultValue = ((double)(0)); this.columnrentowe.AllowDBNull = false; this.columnrentowe.DefaultValue = ((double)(0)); this.columnchorobowe.AllowDBNull = false; this.columnchorobowe.DefaultValue = ((double)(0)); this.columnzdrowotne1.AllowDBNull = false; this.columnzdrowotne1.DefaultValue = ((double)(0)); this.columnzdrowotne2.AllowDBNull = false; this.columnzdrowotne2.DefaultValue = ((double)(0)); this.columnpodatek.AllowDBNull = false; this.columnpodatek.DefaultValue = ((double)(0)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRow NewWspolczynnikiRow() { return ((WspolczynnikiRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new WspolczynnikiRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(WspolczynnikiRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.WspolczynnikiRowChanged != null)) { this.WspolczynnikiRowChanged(this, new WspolczynnikiRowChangeEvent(((WspolczynnikiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.WspolczynnikiRowChanging != null)) { this.WspolczynnikiRowChanging(this, new WspolczynnikiRowChangeEvent(((WspolczynnikiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.WspolczynnikiRowDeleted != null)) { this.WspolczynnikiRowDeleted(this, new WspolczynnikiRowChangeEvent(((WspolczynnikiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.WspolczynnikiRowDeleting != null)) { this.WspolczynnikiRowDeleting(this, new WspolczynnikiRowChangeEvent(((WspolczynnikiRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveWspolczynnikiRow(WspolczynnikiRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "WspolczynnikiDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class UsersDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnLogin; private global::System.Data.DataColumn columnIDEPracownik; private global::System.Data.DataColumn columnIDEGrupa; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersDataTable() { this.TableName = "Users"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal UsersDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected UsersDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn LoginColumn { get { return this.columnLogin; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEPracownikColumn { get { return this.columnIDEPracownik; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEGrupaColumn { get { return this.columnIDEGrupa; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRow this[int index] { get { return ((UsersRow)(this.Rows[index])); } } public event UsersRowChangeEventHandler UsersRowChanging; public event UsersRowChangeEventHandler UsersRowChanged; public event UsersRowChangeEventHandler UsersRowDeleting; public event UsersRowChangeEventHandler UsersRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddUsersRow(UsersRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRow AddUsersRow(string Login, int IDEPracownik, int IDEGrupa) { UsersRow rowUsersRow = ((UsersRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, Login, IDEPracownik, IDEGrupa}; rowUsersRow.ItemArray = columnValuesArray; this.Rows.Add(rowUsersRow); return rowUsersRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRow FindByIDE(int IDE) { return ((UsersRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { UsersDataTable cln = ((UsersDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new UsersDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnLogin = base.Columns["Login"]; this.columnIDEPracownik = base.Columns["IDEPracownik"]; this.columnIDEGrupa = base.Columns["IDEGrupa"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnLogin = new global::System.Data.DataColumn("Login", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnLogin); this.columnIDEPracownik = new global::System.Data.DataColumn("IDEPracownik", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEPracownik); this.columnIDEGrupa = new global::System.Data.DataColumn("IDEGrupa", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEGrupa); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnLogin.AllowDBNull = false; this.columnLogin.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRow NewUsersRow() { return ((UsersRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new UsersRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(UsersRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.UsersRowChanged != null)) { this.UsersRowChanged(this, new UsersRowChangeEvent(((UsersRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.UsersRowChanging != null)) { this.UsersRowChanging(this, new UsersRowChangeEvent(((UsersRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.UsersRowDeleted != null)) { this.UsersRowDeleted(this, new UsersRowChangeEvent(((UsersRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.UsersRowDeleting != null)) { this.UsersRowDeleting(this, new UsersRowChangeEvent(((UsersRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveUsersRow(UsersRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "UsersDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class GrupyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnNazwaGrupy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyDataTable() { this.TableName = "Grupy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal GrupyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected GrupyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn NazwaGrupyColumn { get { return this.columnNazwaGrupy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRow this[int index] { get { return ((GrupyRow)(this.Rows[index])); } } public event GrupyRowChangeEventHandler GrupyRowChanging; public event GrupyRowChangeEventHandler GrupyRowChanged; public event GrupyRowChangeEventHandler GrupyRowDeleting; public event GrupyRowChangeEventHandler GrupyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddGrupyRow(GrupyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRow AddGrupyRow(string NazwaGrupy) { GrupyRow rowGrupyRow = ((GrupyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, NazwaGrupy}; rowGrupyRow.ItemArray = columnValuesArray; this.Rows.Add(rowGrupyRow); return rowGrupyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRow FindByIDE(int IDE) { return ((GrupyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { GrupyDataTable cln = ((GrupyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new GrupyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnNazwaGrupy = base.Columns["NazwaGrupy"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnNazwaGrupy = new global::System.Data.DataColumn("NazwaGrupy", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnNazwaGrupy); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnNazwaGrupy.MaxLength = 50; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRow NewGrupyRow() { return ((GrupyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new GrupyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(GrupyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.GrupyRowChanged != null)) { this.GrupyRowChanged(this, new GrupyRowChangeEvent(((GrupyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.GrupyRowChanging != null)) { this.GrupyRowChanging(this, new GrupyRowChangeEvent(((GrupyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.GrupyRowDeleted != null)) { this.GrupyRowDeleted(this, new GrupyRowChangeEvent(((GrupyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.GrupyRowDeleting != null)) { this.GrupyRowDeleting(this, new GrupyRowChangeEvent(((GrupyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveGrupyRow(GrupyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "GrupyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class DzialyDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDE; private global::System.Data.DataColumn columnDzial; private global::System.Data.DataColumn columnOpis; private global::System.Data.DataColumn columnRoz; private global::System.Data.DataColumn columnFor_WWW; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyDataTable() { this.TableName = "Dzialy"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal DzialyDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected DzialyDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEColumn { get { return this.columnIDE; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn DzialColumn { get { return this.columnDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn OpisColumn { get { return this.columnOpis; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn RozColumn { get { return this.columnRoz; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn For_WWWColumn { get { return this.columnFor_WWW; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRow this[int index] { get { return ((DzialyRow)(this.Rows[index])); } } public event DzialyRowChangeEventHandler DzialyRowChanging; public event DzialyRowChangeEventHandler DzialyRowChanged; public event DzialyRowChangeEventHandler DzialyRowDeleting; public event DzialyRowChangeEventHandler DzialyRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddDzialyRow(DzialyRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRow AddDzialyRow(string Dzial, string Opis, string Roz, short For_WWW) { DzialyRow rowDzialyRow = ((DzialyRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, Dzial, Opis, Roz, For_WWW}; rowDzialyRow.ItemArray = columnValuesArray; this.Rows.Add(rowDzialyRow); return rowDzialyRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRow FindByIDE(int IDE) { return ((DzialyRow)(this.Rows.Find(new object[] { IDE}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { DzialyDataTable cln = ((DzialyDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new DzialyDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDE = base.Columns["IDE"]; this.columnDzial = base.Columns["Dzial"]; this.columnOpis = base.Columns["Opis"]; this.columnRoz = base.Columns["Roz"]; this.columnFor_WWW = base.Columns["For_WWW"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDE = new global::System.Data.DataColumn("IDE", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDE); this.columnDzial = new global::System.Data.DataColumn("Dzial", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnDzial); this.columnOpis = new global::System.Data.DataColumn("Opis", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnOpis); this.columnRoz = new global::System.Data.DataColumn("Roz", typeof(string), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnRoz); this.columnFor_WWW = new global::System.Data.DataColumn("For_WWW", typeof(short), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnFor_WWW); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDE}, true)); this.columnIDE.AutoIncrement = true; this.columnIDE.AllowDBNull = false; this.columnIDE.ReadOnly = true; this.columnIDE.Unique = true; this.columnDzial.MaxLength = 50; this.columnOpis.MaxLength = 250; this.columnRoz.MaxLength = 8; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRow NewDzialyRow() { return ((DzialyRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new DzialyRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(DzialyRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.DzialyRowChanged != null)) { this.DzialyRowChanged(this, new DzialyRowChangeEvent(((DzialyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.DzialyRowChanging != null)) { this.DzialyRowChanging(this, new DzialyRowChangeEvent(((DzialyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.DzialyRowDeleted != null)) { this.DzialyRowDeleted(this, new DzialyRowChangeEvent(((DzialyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.DzialyRowDeleting != null)) { this.DzialyRowDeleting(this, new DzialyRowChangeEvent(((DzialyRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveDzialyRow(DzialyRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "DzialyDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents the strongly named DataTable class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.Serializable()] [global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")] public partial class GrupaDzialDataTable : global::System.Data.DataTable, global::System.Collections.IEnumerable { private global::System.Data.DataColumn columnIDEGrupy; private global::System.Data.DataColumn columnIDEDzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialDataTable() { this.TableName = "GrupaDzial"; this.BeginInit(); this.InitClass(); this.EndInit(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal GrupaDzialDataTable(global::System.Data.DataTable table) { this.TableName = table.TableName; if ((table.CaseSensitive != table.DataSet.CaseSensitive)) { this.CaseSensitive = table.CaseSensitive; } if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) { this.Locale = table.Locale; } if ((table.Namespace != table.DataSet.Namespace)) { this.Namespace = table.Namespace; } this.Prefix = table.Prefix; this.MinimumCapacity = table.MinimumCapacity; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected GrupaDzialDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) : base(info, context) { this.InitVars(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEGrupyColumn { get { return this.columnIDEGrupy; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataColumn IDEDzialColumn { get { return this.columnIDEDzial; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Browsable(false)] public int Count { get { return this.Rows.Count; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRow this[int index] { get { return ((GrupaDzialRow)(this.Rows[index])); } } public event GrupaDzialRowChangeEventHandler GrupaDzialRowChanging; public event GrupaDzialRowChangeEventHandler GrupaDzialRowChanged; public event GrupaDzialRowChangeEventHandler GrupaDzialRowDeleting; public event GrupaDzialRowChangeEventHandler GrupaDzialRowDeleted; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void AddGrupaDzialRow(GrupaDzialRow row) { this.Rows.Add(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRow AddGrupaDzialRow(int IDEGrupy, int IDEDzial) { GrupaDzialRow rowGrupaDzialRow = ((GrupaDzialRow)(this.NewRow())); object[] columnValuesArray = new object[] { IDEGrupy, IDEDzial}; rowGrupaDzialRow.ItemArray = columnValuesArray; this.Rows.Add(rowGrupaDzialRow); return rowGrupaDzialRow; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRow FindByIDEGrupyIDEDzial(int IDEGrupy, int IDEDzial) { return ((GrupaDzialRow)(this.Rows.Find(new object[] { IDEGrupy, IDEDzial}))); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public virtual global::System.Collections.IEnumerator GetEnumerator() { return this.Rows.GetEnumerator(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public override global::System.Data.DataTable Clone() { GrupaDzialDataTable cln = ((GrupaDzialDataTable)(base.Clone())); cln.InitVars(); return cln; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataTable CreateInstance() { return new GrupaDzialDataTable(); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal void InitVars() { this.columnIDEGrupy = base.Columns["IDEGrupy"]; this.columnIDEDzial = base.Columns["IDEDzial"]; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitClass() { this.columnIDEGrupy = new global::System.Data.DataColumn("IDEGrupy", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEGrupy); this.columnIDEDzial = new global::System.Data.DataColumn("IDEDzial", typeof(int), null, global::System.Data.MappingType.Element); base.Columns.Add(this.columnIDEDzial); this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] { this.columnIDEGrupy, this.columnIDEDzial}, true)); this.columnIDEGrupy.AllowDBNull = false; this.columnIDEDzial.AllowDBNull = false; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRow NewGrupaDzialRow() { return ((GrupaDzialRow)(this.NewRow())); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) { return new GrupaDzialRow(builder); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override global::System.Type GetRowType() { return typeof(GrupaDzialRow); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanged(e); if ((this.GrupaDzialRowChanged != null)) { this.GrupaDzialRowChanged(this, new GrupaDzialRowChangeEvent(((GrupaDzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) { base.OnRowChanging(e); if ((this.GrupaDzialRowChanging != null)) { this.GrupaDzialRowChanging(this, new GrupaDzialRowChangeEvent(((GrupaDzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleted(e); if ((this.GrupaDzialRowDeleted != null)) { this.GrupaDzialRowDeleted(this, new GrupaDzialRowChangeEvent(((GrupaDzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) { base.OnRowDeleting(e); if ((this.GrupaDzialRowDeleting != null)) { this.GrupaDzialRowDeleting(this, new GrupaDzialRowChangeEvent(((GrupaDzialRow)(e.Row)), e.Action)); } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void RemoveGrupaDzialRow(GrupaDzialRow row) { this.Rows.Remove(row); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) { global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType(); global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence(); PREMIEDataSet ds = new PREMIEDataSet(); global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny(); any1.Namespace = "http://www.w3.org/2001/XMLSchema"; any1.MinOccurs = new decimal(0); any1.MaxOccurs = decimal.MaxValue; any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any1); global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny(); any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1"; any2.MinOccurs = new decimal(1); any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax; sequence.Items.Add(any2); global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute1.Name = "namespace"; attribute1.FixedValue = ds.Namespace; type.Attributes.Add(attribute1); global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute(); attribute2.Name = "tableTypeName"; attribute2.FixedValue = "GrupaDzialDataTable"; type.Attributes.Add(attribute2); type.Particle = sequence; global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable(); if (xs.Contains(dsSchema.TargetNamespace)) { global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream(); global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream(); try { global::System.Xml.Schema.XmlSchema schema = null; dsSchema.Write(s1); for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) { schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current)); s2.SetLength(0); schema.Write(s2); if ((s1.Length == s2.Length)) { s1.Position = 0; s2.Position = 0; for (; ((s1.Position != s1.Length) && (s1.ReadByte() == s2.ReadByte())); ) { ; } if ((s1.Position == s1.Length)) { return type; } } } } finally { if ((s1 != null)) { s1.Close(); } if ((s2 != null)) { s2.Close(); } } } xs.Add(dsSchema); return type; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class EMailsBodyRow : global::System.Data.DataRow { private EMailsBodyDataTable tableEMailsBody; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal EMailsBodyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableEMailsBody = ((EMailsBodyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableEMailsBody.IDEColumn])); } set { this[this.tableEMailsBody.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Od { get { try { return ((string)(this[this.tableEMailsBody.OdColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Od\' in table \'EMailsBody\' is DBNull.", e); } } set { this[this.tableEMailsBody.OdColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Temat { get { try { return ((string)(this[this.tableEMailsBody.TematColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Temat\' in table \'EMailsBody\' is DBNull.", e); } } set { this[this.tableEMailsBody.TematColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Body { get { try { return ((string)(this[this.tableEMailsBody.BodyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Body\' in table \'EMailsBody\' is DBNull.", e); } } set { this[this.tableEMailsBody.BodyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string TematBad { get { try { return ((string)(this[this.tableEMailsBody.TematBadColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TematBad\' in table \'EMailsBody\' is DBNull.", e); } } set { this[this.tableEMailsBody.TematBadColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string BodyBad { get { try { return ((string)(this[this.tableEMailsBody.BodyBadColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BodyBad\' in table \'EMailsBody\' is DBNull.", e); } } set { this[this.tableEMailsBody.BodyBadColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOdNull() { return this.IsNull(this.tableEMailsBody.OdColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOdNull() { this[this.tableEMailsBody.OdColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTematNull() { return this.IsNull(this.tableEMailsBody.TematColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTematNull() { this[this.tableEMailsBody.TematColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBodyNull() { return this.IsNull(this.tableEMailsBody.BodyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBodyNull() { this[this.tableEMailsBody.BodyColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTematBadNull() { return this.IsNull(this.tableEMailsBody.TematBadColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTematBadNull() { this[this.tableEMailsBody.TematBadColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBodyBadNull() { return this.IsNull(this.tableEMailsBody.BodyBadColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBodyBadNull() { this[this.tableEMailsBody.BodyBadColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class LOGOSRow : global::System.Data.DataRow { private LOGOSDataTable tableLOGOS; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal LOGOSRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLOGOS = ((LOGOSDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableLOGOS.IDEColumn])); } set { this[this.tableLOGOS.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public byte[] LogoGS { get { try { return ((byte[])(this[this.tableLOGOS.LogoGSColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LogoGS\' in table \'LOGOS\' is DBNull.", e); } } set { this[this.tableLOGOS.LogoGSColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public byte[] LogoAMT { get { try { return ((byte[])(this[this.tableLOGOS.LogoAMTColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LogoAMT\' in table \'LOGOS\' is DBNull.", e); } } set { this[this.tableLOGOS.LogoAMTColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsLogoGSNull() { return this.IsNull(this.tableLOGOS.LogoGSColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetLogoGSNull() { this[this.tableLOGOS.LogoGSColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsLogoAMTNull() { return this.IsNull(this.tableLOGOS.LogoAMTColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetLogoAMTNull() { this[this.tableLOGOS.LogoAMTColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class PREMIE2Row : global::System.Data.DataRow { private PREMIE2DataTable tablePREMIE2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE2Row(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePREMIE2 = ((PREMIE2DataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ID { get { return ((int)(this[this.tablePREMIE2.IDColumn])); } set { this[this.tablePREMIE2.IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double ROK { get { try { return ((double)(this[this.tablePREMIE2.ROKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.ROKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double MIESIAC { get { try { return ((double)(this[this.tablePREMIE2.MIESIACColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.MIESIACColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NAME { get { try { return ((string)(this[this.tablePREMIE2.NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NAME\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string DZIAL { get { try { return ((string)(this[this.tablePREMIE2.DZIALColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'DZIAL\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.DZIALColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string OPIS { get { try { return ((string)(this[this.tablePREMIE2.OPISColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OPIS\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.OPISColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double IL { get { try { return ((double)(this[this.tablePREMIE2.ILColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IL\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.ILColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal WYCENA { get { try { return ((decimal)(this[this.tablePREMIE2.WYCENAColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'WYCENA\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.WYCENAColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal NETTO { get { try { return ((decimal)(this[this.tablePREMIE2.NETTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.NETTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal BRUTTO { get { try { return ((decimal)(this[this.tablePREMIE2.BRUTTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.BRUTTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal BB { get { try { return ((decimal)(this[this.tablePREMIE2.BBColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BB\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.BBColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public System.DateTime data_wprowadzenia { get { try { return ((global::System.DateTime)(this[this.tablePREMIE2.data_wprowadzeniaColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'data_wprowadzenia\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.data_wprowadzeniaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string wprowadzil { get { try { return ((string)(this[this.tablePREMIE2.wprowadzilColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'wprowadzil\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.wprowadzilColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public System.DateTime data_modyfikacji { get { try { return ((global::System.DateTime)(this[this.tablePREMIE2.data_modyfikacjiColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'data_modyfikacji\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.data_modyfikacjiColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string zmodyfikowal { get { try { return ((string)(this[this.tablePREMIE2.zmodyfikowalColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'zmodyfikowal\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.zmodyfikowalColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEPracownika { get { try { return ((int)(this[this.tablePREMIE2.IDEPracownikaColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEPracownika\' in table \'PREMIE2\' is DBNull.", e); } } set { this[this.tablePREMIE2.IDEPracownikaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsROKNull() { return this.IsNull(this.tablePREMIE2.ROKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetROKNull() { this[this.tablePREMIE2.ROKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsMIESIACNull() { return this.IsNull(this.tablePREMIE2.MIESIACColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetMIESIACNull() { this[this.tablePREMIE2.MIESIACColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNAMENull() { return this.IsNull(this.tablePREMIE2.NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNAMENull() { this[this.tablePREMIE2.NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsDZIALNull() { return this.IsNull(this.tablePREMIE2.DZIALColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetDZIALNull() { this[this.tablePREMIE2.DZIALColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOPISNull() { return this.IsNull(this.tablePREMIE2.OPISColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOPISNull() { this[this.tablePREMIE2.OPISColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsILNull() { return this.IsNull(this.tablePREMIE2.ILColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetILNull() { this[this.tablePREMIE2.ILColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsWYCENANull() { return this.IsNull(this.tablePREMIE2.WYCENAColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetWYCENANull() { this[this.tablePREMIE2.WYCENAColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNETTONull() { return this.IsNull(this.tablePREMIE2.NETTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNETTONull() { this[this.tablePREMIE2.NETTOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBRUTTONull() { return this.IsNull(this.tablePREMIE2.BRUTTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBRUTTONull() { this[this.tablePREMIE2.BRUTTOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBBNull() { return this.IsNull(this.tablePREMIE2.BBColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBBNull() { this[this.tablePREMIE2.BBColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool Isdata_wprowadzeniaNull() { return this.IsNull(this.tablePREMIE2.data_wprowadzeniaColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Setdata_wprowadzeniaNull() { this[this.tablePREMIE2.data_wprowadzeniaColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IswprowadzilNull() { return this.IsNull(this.tablePREMIE2.wprowadzilColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetwprowadzilNull() { this[this.tablePREMIE2.wprowadzilColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool Isdata_modyfikacjiNull() { return this.IsNull(this.tablePREMIE2.data_modyfikacjiColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void Setdata_modyfikacjiNull() { this[this.tablePREMIE2.data_modyfikacjiColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IszmodyfikowalNull() { return this.IsNull(this.tablePREMIE2.zmodyfikowalColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetzmodyfikowalNull() { this[this.tablePREMIE2.zmodyfikowalColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEPracownikaNull() { return this.IsNull(this.tablePREMIE2.IDEPracownikaColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEPracownikaNull() { this[this.tablePREMIE2.IDEPracownikaColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class CurrentEMailBodyRow : global::System.Data.DataRow { private CurrentEMailBodyDataTable tableCurrentEMailBody; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal CurrentEMailBodyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableCurrentEMailBody = ((CurrentEMailBodyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableCurrentEMailBody.IDEColumn])); } set { this[this.tableCurrentEMailBody.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Od { get { try { return ((string)(this[this.tableCurrentEMailBody.OdColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Od\' in table \'CurrentEMailBody\' is DBNull.", e); } } set { this[this.tableCurrentEMailBody.OdColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Temat { get { try { return ((string)(this[this.tableCurrentEMailBody.TematColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Temat\' in table \'CurrentEMailBody\' is DBNull.", e); } } set { this[this.tableCurrentEMailBody.TematColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Body { get { try { return ((string)(this[this.tableCurrentEMailBody.BodyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Body\' in table \'CurrentEMailBody\' is DBNull.", e); } } set { this[this.tableCurrentEMailBody.BodyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string TematBad { get { try { return ((string)(this[this.tableCurrentEMailBody.TematBadColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TematBad\' in table \'CurrentEMailBody\' is DBNull.", e); } } set { this[this.tableCurrentEMailBody.TematBadColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string BodyBad { get { try { return ((string)(this[this.tableCurrentEMailBody.BodyBadColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BodyBad\' in table \'CurrentEMailBody\' is DBNull.", e); } } set { this[this.tableCurrentEMailBody.BodyBadColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOdNull() { return this.IsNull(this.tableCurrentEMailBody.OdColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOdNull() { this[this.tableCurrentEMailBody.OdColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTematNull() { return this.IsNull(this.tableCurrentEMailBody.TematColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTematNull() { this[this.tableCurrentEMailBody.TematColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBodyNull() { return this.IsNull(this.tableCurrentEMailBody.BodyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBodyNull() { this[this.tableCurrentEMailBody.BodyColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTematBadNull() { return this.IsNull(this.tableCurrentEMailBody.TematBadColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTematBadNull() { this[this.tableCurrentEMailBody.TematBadColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBodyBadNull() { return this.IsNull(this.tableCurrentEMailBody.BodyBadColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBodyBadNull() { this[this.tableCurrentEMailBody.BodyBadColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class Interface_PracownicyRow : global::System.Data.DataRow { private Interface_PracownicyDataTable tableInterface_Pracownicy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_PracownicyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableInterface_Pracownicy = ((Interface_PracownicyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Imie { get { try { return ((string)(this[this.tableInterface_Pracownicy.ImieColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Imie\' in table \'Interface_Pracownicy\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy.ImieColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Nazwisko { get { try { return ((string)(this[this.tableInterface_Pracownicy.NazwiskoColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Nazwisko\' in table \'Interface_Pracownicy\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy.NazwiskoColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string EMail { get { try { return ((string)(this[this.tableInterface_Pracownicy.EMailColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMail\' in table \'Interface_Pracownicy\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy.EMailColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string SQLLogins { get { try { return ((string)(this[this.tableInterface_Pracownicy.SQLLoginsColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SQLLogins\' in table \'Interface_Pracownicy\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy.SQLLoginsColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEPracownicy { get { return ((int)(this[this.tableInterface_Pracownicy.IDEPracownicyColumn])); } set { this[this.tableInterface_Pracownicy.IDEPracownicyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Osoba { get { try { return ((string)(this[this.tableInterface_Pracownicy.OsobaColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Osoba\' in table \'Interface_Pracownicy\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy.OsobaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsImieNull() { return this.IsNull(this.tableInterface_Pracownicy.ImieColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetImieNull() { this[this.tableInterface_Pracownicy.ImieColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNazwiskoNull() { return this.IsNull(this.tableInterface_Pracownicy.NazwiskoColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNazwiskoNull() { this[this.tableInterface_Pracownicy.NazwiskoColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsEMailNull() { return this.IsNull(this.tableInterface_Pracownicy.EMailColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetEMailNull() { this[this.tableInterface_Pracownicy.EMailColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsSQLLoginsNull() { return this.IsNull(this.tableInterface_Pracownicy.SQLLoginsColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetSQLLoginsNull() { this[this.tableInterface_Pracownicy.SQLLoginsColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOsobaNull() { return this.IsNull(this.tableInterface_Pracownicy.OsobaColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOsobaNull() { this[this.tableInterface_Pracownicy.OsobaColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class Interface_TytulyRow : global::System.Data.DataRow { private Interface_TytulyDataTable tableInterface_Tytuly; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_TytulyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableInterface_Tytuly = ((Interface_TytulyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableInterface_Tytuly.IDEColumn])); } set { this[this.tableInterface_Tytuly.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string TYTUL { get { try { return ((string)(this[this.tableInterface_Tytuly.TYTULColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'TYTUL\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.TYTULColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string OPIS { get { try { return ((string)(this[this.tableInterface_Tytuly.OPISColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OPIS\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.OPISColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string ISSN { get { try { return ((string)(this[this.tableInterface_Tytuly.ISSNColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ISSN\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.ISSNColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NR_INDEX { get { try { return ((string)(this[this.tableInterface_Tytuly.NR_INDEXColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NR_INDEX\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.NR_INDEXColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public byte[] LOGO { get { try { return ((byte[])(this[this.tableInterface_Tytuly.LOGOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'LOGO\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.LOGOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string SWW { get { try { return ((string)(this[this.tableInterface_Tytuly.SWWColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SWW\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.SWWColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string JM { get { try { return ((string)(this[this.tableInterface_Tytuly.JMColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'JM\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.JMColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Vat { get { try { return ((string)(this[this.tableInterface_Tytuly.VatColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Vat\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.VatColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal Cena { get { try { return ((decimal)(this[this.tableInterface_Tytuly.CenaColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Cena\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.CenaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string PKWiU { get { try { return ((string)(this[this.tableInterface_Tytuly.PKWiUColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'PKWiU\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.PKWiUColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public short Grzbiety { get { try { return ((short)(this[this.tableInterface_Tytuly.GrzbietyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Grzbiety\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.GrzbietyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public short Aktywny { get { try { return ((short)(this[this.tableInterface_Tytuly.AktywnyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Aktywny\' in table \'Interface_Tytuly\' is DBNull.", e); } } set { this[this.tableInterface_Tytuly.AktywnyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTYTULNull() { return this.IsNull(this.tableInterface_Tytuly.TYTULColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTYTULNull() { this[this.tableInterface_Tytuly.TYTULColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOPISNull() { return this.IsNull(this.tableInterface_Tytuly.OPISColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOPISNull() { this[this.tableInterface_Tytuly.OPISColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsISSNNull() { return this.IsNull(this.tableInterface_Tytuly.ISSNColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetISSNNull() { this[this.tableInterface_Tytuly.ISSNColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNR_INDEXNull() { return this.IsNull(this.tableInterface_Tytuly.NR_INDEXColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNR_INDEXNull() { this[this.tableInterface_Tytuly.NR_INDEXColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsLOGONull() { return this.IsNull(this.tableInterface_Tytuly.LOGOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetLOGONull() { this[this.tableInterface_Tytuly.LOGOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsSWWNull() { return this.IsNull(this.tableInterface_Tytuly.SWWColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetSWWNull() { this[this.tableInterface_Tytuly.SWWColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsJMNull() { return this.IsNull(this.tableInterface_Tytuly.JMColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetJMNull() { this[this.tableInterface_Tytuly.JMColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsVatNull() { return this.IsNull(this.tableInterface_Tytuly.VatColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetVatNull() { this[this.tableInterface_Tytuly.VatColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsCenaNull() { return this.IsNull(this.tableInterface_Tytuly.CenaColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetCenaNull() { this[this.tableInterface_Tytuly.CenaColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsPKWiUNull() { return this.IsNull(this.tableInterface_Tytuly.PKWiUColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetPKWiUNull() { this[this.tableInterface_Tytuly.PKWiUColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsGrzbietyNull() { return this.IsNull(this.tableInterface_Tytuly.GrzbietyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetGrzbietyNull() { this[this.tableInterface_Tytuly.GrzbietyColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsAktywnyNull() { return this.IsNull(this.tableInterface_Tytuly.AktywnyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetAktywnyNull() { this[this.tableInterface_Tytuly.AktywnyColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class KierownicyRow : global::System.Data.DataRow { private KierownicyDataTable tableKierownicy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal KierownicyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableKierownicy = ((KierownicyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableKierownicy.IDEColumn])); } set { this[this.tableKierownicy.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEPracownik { get { try { return ((int)(this[this.tableKierownicy.IDEPracownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEPracownik\' in table \'Kierownicy\' is DBNull.", e); } } set { this[this.tableKierownicy.IDEPracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEDzial { get { try { return ((int)(this[this.tableKierownicy.IDEDzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEDzial\' in table \'Kierownicy\' is DBNull.", e); } } set { this[this.tableKierownicy.IDEDzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEOddzial { get { try { return ((int)(this[this.tableKierownicy.IDEOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEOddzial\' in table \'Kierownicy\' is DBNull.", e); } } set { this[this.tableKierownicy.IDEOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Tytul { get { try { return ((string)(this[this.tableKierownicy.TytulColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Tytul\' in table \'Kierownicy\' is DBNull.", e); } } set { this[this.tableKierownicy.TytulColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public short Aktywny { get { try { return ((short)(this[this.tableKierownicy.AktywnyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Aktywny\' in table \'Kierownicy\' is DBNull.", e); } } set { this[this.tableKierownicy.AktywnyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEPracownikNull() { return this.IsNull(this.tableKierownicy.IDEPracownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEPracownikNull() { this[this.tableKierownicy.IDEPracownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEDzialNull() { return this.IsNull(this.tableKierownicy.IDEDzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEDzialNull() { this[this.tableKierownicy.IDEDzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEOddzialNull() { return this.IsNull(this.tableKierownicy.IDEOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEOddzialNull() { this[this.tableKierownicy.IDEOddzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsTytulNull() { return this.IsNull(this.tableKierownicy.TytulColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetTytulNull() { this[this.tableKierownicy.TytulColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsAktywnyNull() { return this.IsNull(this.tableKierownicy.AktywnyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetAktywnyNull() { this[this.tableKierownicy.AktywnyColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class Premie_EMailDataRow : global::System.Data.DataRow { private Premie_EMailDataDataTable tablePremie_EMailData; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Premie_EMailDataRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePremie_EMailData = ((Premie_EMailDataDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ID { get { return ((int)(this[this.tablePremie_EMailData.IDColumn])); } set { this[this.tablePremie_EMailData.IDColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double ROK { get { try { return ((double)(this[this.tablePremie_EMailData.ROKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.ROKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double MIESIAC { get { try { return ((double)(this[this.tablePremie_EMailData.MIESIACColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.MIESIACColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NAME { get { try { return ((string)(this[this.tablePremie_EMailData.NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NAME\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string OPIS { get { try { return ((string)(this[this.tablePremie_EMailData.OPISColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'OPIS\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.OPISColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal NETTO { get { try { return ((decimal)(this[this.tablePremie_EMailData.NETTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NETTO\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.NETTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal Brutto { get { try { return ((decimal)(this[this.tablePremie_EMailData.BruttoColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Brutto\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.BruttoColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string EMail { get { try { return ((string)(this[this.tablePremie_EMailData.EMailColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMail\' in table \'Premie_EMailData\' is DBNull.", e); } } set { this[this.tablePremie_EMailData.EMailColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsROKNull() { return this.IsNull(this.tablePremie_EMailData.ROKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetROKNull() { this[this.tablePremie_EMailData.ROKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsMIESIACNull() { return this.IsNull(this.tablePremie_EMailData.MIESIACColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetMIESIACNull() { this[this.tablePremie_EMailData.MIESIACColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNAMENull() { return this.IsNull(this.tablePremie_EMailData.NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNAMENull() { this[this.tablePremie_EMailData.NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOPISNull() { return this.IsNull(this.tablePremie_EMailData.OPISColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOPISNull() { this[this.tablePremie_EMailData.OPISColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNETTONull() { return this.IsNull(this.tablePremie_EMailData.NETTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNETTONull() { this[this.tablePremie_EMailData.NETTOColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBruttoNull() { return this.IsNull(this.tablePremie_EMailData.BruttoColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBruttoNull() { this[this.tablePremie_EMailData.BruttoColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsEMailNull() { return this.IsNull(this.tablePremie_EMailData.EMailColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetEMailNull() { this[this.tablePremie_EMailData.EMailColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class Premie_LastMonthBezEMailiRow : global::System.Data.DataRow { private Premie_LastMonthBezEMailiDataTable tablePremie_LastMonthBezEMaili; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Premie_LastMonthBezEMailiRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePremie_LastMonthBezEMaili = ((Premie_LastMonthBezEMailiDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double ROK { get { try { return ((double)(this[this.tablePremie_LastMonthBezEMaili.ROKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'Premie_LastMonthBezEMaili\' is DBNull.", e); } } set { this[this.tablePremie_LastMonthBezEMaili.ROKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double MIESIAC { get { try { return ((double)(this[this.tablePremie_LastMonthBezEMaili.MIESIACColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'Premie_LastMonthBezEMaili\' is DBNull.", e); } } set { this[this.tablePremie_LastMonthBezEMaili.MIESIACColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NAME { get { try { return ((string)(this[this.tablePremie_LastMonthBezEMaili.NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NAME\' in table \'Premie_LastMonthBezEMaili\' is DBNull.", e); } } set { this[this.tablePremie_LastMonthBezEMaili.NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string EMail { get { try { return ((string)(this[this.tablePremie_LastMonthBezEMaili.EMailColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'EMail\' in table \'Premie_LastMonthBezEMaili\' is DBNull.", e); } } set { this[this.tablePremie_LastMonthBezEMaili.EMailColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsROKNull() { return this.IsNull(this.tablePremie_LastMonthBezEMaili.ROKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetROKNull() { this[this.tablePremie_LastMonthBezEMaili.ROKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsMIESIACNull() { return this.IsNull(this.tablePremie_LastMonthBezEMaili.MIESIACColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetMIESIACNull() { this[this.tablePremie_LastMonthBezEMaili.MIESIACColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNAMENull() { return this.IsNull(this.tablePremie_LastMonthBezEMaili.NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNAMENull() { this[this.tablePremie_LastMonthBezEMaili.NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsEMailNull() { return this.IsNull(this.tablePremie_LastMonthBezEMaili.EMailColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetEMailNull() { this[this.tablePremie_LastMonthBezEMaili.EMailColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class PREMIE_MIESIECZNIERow : global::System.Data.DataRow { private PREMIE_MIESIECZNIEDataTable tablePREMIE_MIESIECZNIE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_MIESIECZNIERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePREMIE_MIESIECZNIE = ((PREMIE_MIESIECZNIEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double ROK { get { try { return ((double)(this[this.tablePREMIE_MIESIECZNIE.ROKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'PREMIE_MIESIECZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_MIESIECZNIE.ROKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double MIESIAC { get { try { return ((double)(this[this.tablePREMIE_MIESIECZNIE.MIESIACColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'MIESIAC\' in table \'PREMIE_MIESIECZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_MIESIECZNIE.MIESIACColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ILOSC { get { try { return ((int)(this[this.tablePREMIE_MIESIECZNIE.ILOSCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ILOSC\' in table \'PREMIE_MIESIECZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_MIESIECZNIE.ILOSCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal BRUTTO { get { try { return ((decimal)(this[this.tablePREMIE_MIESIECZNIE.BRUTTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'PREMIE_MIESIECZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_MIESIECZNIE.BRUTTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsROKNull() { return this.IsNull(this.tablePREMIE_MIESIECZNIE.ROKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetROKNull() { this[this.tablePREMIE_MIESIECZNIE.ROKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsMIESIACNull() { return this.IsNull(this.tablePREMIE_MIESIECZNIE.MIESIACColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetMIESIACNull() { this[this.tablePREMIE_MIESIECZNIE.MIESIACColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsILOSCNull() { return this.IsNull(this.tablePREMIE_MIESIECZNIE.ILOSCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetILOSCNull() { this[this.tablePREMIE_MIESIECZNIE.ILOSCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBRUTTONull() { return this.IsNull(this.tablePREMIE_MIESIECZNIE.BRUTTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBRUTTONull() { this[this.tablePREMIE_MIESIECZNIE.BRUTTOColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class PREMIE_PRACOWNIKRow : global::System.Data.DataRow { private PREMIE_PRACOWNIKDataTable tablePREMIE_PRACOWNIK; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_PRACOWNIKRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePREMIE_PRACOWNIK = ((PREMIE_PRACOWNIKDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NAME { get { try { return ((string)(this[this.tablePREMIE_PRACOWNIK.NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NAME\' in table \'PREMIE_PRACOWNIK\' is DBNull.", e); } } set { this[this.tablePREMIE_PRACOWNIK.NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ILOSC { get { try { return ((int)(this[this.tablePREMIE_PRACOWNIK.ILOSCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ILOSC\' in table \'PREMIE_PRACOWNIK\' is DBNull.", e); } } set { this[this.tablePREMIE_PRACOWNIK.ILOSCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal BRUTTO { get { try { return ((decimal)(this[this.tablePREMIE_PRACOWNIK.BRUTTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'PREMIE_PRACOWNIK\' is DBNull.", e); } } set { this[this.tablePREMIE_PRACOWNIK.BRUTTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNAMENull() { return this.IsNull(this.tablePREMIE_PRACOWNIK.NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNAMENull() { this[this.tablePREMIE_PRACOWNIK.NAMEColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsILOSCNull() { return this.IsNull(this.tablePREMIE_PRACOWNIK.ILOSCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetILOSCNull() { this[this.tablePREMIE_PRACOWNIK.ILOSCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBRUTTONull() { return this.IsNull(this.tablePREMIE_PRACOWNIK.BRUTTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBRUTTONull() { this[this.tablePREMIE_PRACOWNIK.BRUTTOColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class PREMIE_ROCZNIERow : global::System.Data.DataRow { private PREMIE_ROCZNIEDataTable tablePREMIE_ROCZNIE; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal PREMIE_ROCZNIERow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tablePREMIE_ROCZNIE = ((PREMIE_ROCZNIEDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double ROK { get { try { return ((double)(this[this.tablePREMIE_ROCZNIE.ROKColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ROK\' in table \'PREMIE_ROCZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_ROCZNIE.ROKColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ILOSC { get { try { return ((int)(this[this.tablePREMIE_ROCZNIE.ILOSCColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ILOSC\' in table \'PREMIE_ROCZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_ROCZNIE.ILOSCColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public decimal BRUTTO { get { try { return ((decimal)(this[this.tablePREMIE_ROCZNIE.BRUTTOColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'BRUTTO\' in table \'PREMIE_ROCZNIE\' is DBNull.", e); } } set { this[this.tablePREMIE_ROCZNIE.BRUTTOColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsROKNull() { return this.IsNull(this.tablePREMIE_ROCZNIE.ROKColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetROKNull() { this[this.tablePREMIE_ROCZNIE.ROKColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsILOSCNull() { return this.IsNull(this.tablePREMIE_ROCZNIE.ILOSCColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetILOSCNull() { this[this.tablePREMIE_ROCZNIE.ILOSCColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsBRUTTONull() { return this.IsNull(this.tablePREMIE_ROCZNIE.BRUTTOColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetBRUTTONull() { this[this.tablePREMIE_ROCZNIE.BRUTTOColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_CT_PracownicyRow : global::System.Data.DataRow { private view_CT_PracownicyDataTable tableview_CT_Pracownicy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_CT_PracownicyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_CT_Pracownicy = ((view_CT_PracownicyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int idePracownik { get { return ((int)(this[this.tableview_CT_Pracownicy.idePracownikColumn])); } set { this[this.tableview_CT_Pracownicy.idePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideKierownik { get { try { return ((int)(this[this.tableview_CT_Pracownicy.ideKierownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideKierownik\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.ideKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int Idedzial { get { try { return ((int)(this[this.tableview_CT_Pracownicy.IdedzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Idedzial\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.IdedzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IdeOddzial { get { try { return ((int)(this[this.tableview_CT_Pracownicy.IdeOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IdeOddzial\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.IdeOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Dzial { get { try { return ((string)(this[this.tableview_CT_Pracownicy.DzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Dzial\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.DzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Oddzial { get { try { return ((string)(this[this.tableview_CT_Pracownicy.OddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Oddzial\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.OddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string SQLLogins { get { try { return ((string)(this[this.tableview_CT_Pracownicy.SQLLoginsColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'SQLLogins\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.SQLLoginsColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Imie { get { try { return ((string)(this[this.tableview_CT_Pracownicy.ImieColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Imie\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.ImieColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Nazwisko { get { try { return ((string)(this[this.tableview_CT_Pracownicy.NazwiskoColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Nazwisko\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.NazwiskoColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string KierownikImie { get { try { return ((string)(this[this.tableview_CT_Pracownicy.KierownikImieColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'KierownikImie\' in table \'view_CT_Pracownicy\' is DBNull.", e); } } set { this[this.tableview_CT_Pracownicy.KierownikImieColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string KierownikNazwisko { get { try { return ((string)(this[this.tableview_CT_Pracownicy.KierownikNazwiskoColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'KierownikNazwisko\' in table \'view_CT_Pracownicy\' is DBNull." + "", e); } } set { this[this.tableview_CT_Pracownicy.KierownikNazwiskoColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideKierownikNull() { return this.IsNull(this.tableview_CT_Pracownicy.ideKierownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideKierownikNull() { this[this.tableview_CT_Pracownicy.ideKierownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdedzialNull() { return this.IsNull(this.tableview_CT_Pracownicy.IdedzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdedzialNull() { this[this.tableview_CT_Pracownicy.IdedzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdeOddzialNull() { return this.IsNull(this.tableview_CT_Pracownicy.IdeOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdeOddzialNull() { this[this.tableview_CT_Pracownicy.IdeOddzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsDzialNull() { return this.IsNull(this.tableview_CT_Pracownicy.DzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetDzialNull() { this[this.tableview_CT_Pracownicy.DzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOddzialNull() { return this.IsNull(this.tableview_CT_Pracownicy.OddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOddzialNull() { this[this.tableview_CT_Pracownicy.OddzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsSQLLoginsNull() { return this.IsNull(this.tableview_CT_Pracownicy.SQLLoginsColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetSQLLoginsNull() { this[this.tableview_CT_Pracownicy.SQLLoginsColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsImieNull() { return this.IsNull(this.tableview_CT_Pracownicy.ImieColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetImieNull() { this[this.tableview_CT_Pracownicy.ImieColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNazwiskoNull() { return this.IsNull(this.tableview_CT_Pracownicy.NazwiskoColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNazwiskoNull() { this[this.tableview_CT_Pracownicy.NazwiskoColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsKierownikImieNull() { return this.IsNull(this.tableview_CT_Pracownicy.KierownikImieColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetKierownikImieNull() { this[this.tableview_CT_Pracownicy.KierownikImieColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsKierownikNazwiskoNull() { return this.IsNull(this.tableview_CT_Pracownicy.KierownikNazwiskoColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetKierownikNazwiskoNull() { this[this.tableview_CT_Pracownicy.KierownikNazwiskoColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_Pracownicy_DzialRow : global::System.Data.DataRow { private view_Pracownicy_DzialDataTable tableview_Pracownicy_Dzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_DzialRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_Pracownicy_Dzial = ((view_Pracownicy_DzialDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int idePracownik { get { return ((int)(this[this.tableview_Pracownicy_Dzial.idePracownikColumn])); } set { this[this.tableview_Pracownicy_Dzial.idePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideKierownik { get { try { return ((int)(this[this.tableview_Pracownicy_Dzial.ideKierownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideKierownik\' in table \'view_Pracownicy_Dzial\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Dzial.ideKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int Idedzial { get { try { return ((int)(this[this.tableview_Pracownicy_Dzial.IdedzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Idedzial\' in table \'view_Pracownicy_Dzial\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Dzial.IdedzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IdeOddzial { get { try { return ((int)(this[this.tableview_Pracownicy_Dzial.IdeOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IdeOddzial\' in table \'view_Pracownicy_Dzial\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Dzial.IdeOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideKierownikNull() { return this.IsNull(this.tableview_Pracownicy_Dzial.ideKierownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideKierownikNull() { this[this.tableview_Pracownicy_Dzial.ideKierownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdedzialNull() { return this.IsNull(this.tableview_Pracownicy_Dzial.IdedzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdedzialNull() { this[this.tableview_Pracownicy_Dzial.IdedzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdeOddzialNull() { return this.IsNull(this.tableview_Pracownicy_Dzial.IdeOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdeOddzialNull() { this[this.tableview_Pracownicy_Dzial.IdeOddzialColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_Pracownicy_PodwladniRow : global::System.Data.DataRow { private view_Pracownicy_PodwladniDataTable tableview_Pracownicy_Podwladni; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_PodwladniRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_Pracownicy_Podwladni = ((view_Pracownicy_PodwladniDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IdePracownik { get { return ((int)(this[this.tableview_Pracownicy_Podwladni.IdePracownikColumn])); } set { this[this.tableview_Pracownicy_Podwladni.IdePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IdeKierownik { get { return ((int)(this[this.tableview_Pracownicy_Podwladni.IdeKierownikColumn])); } set { this[this.tableview_Pracownicy_Podwladni.IdeKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideDzial { get { try { return ((int)(this[this.tableview_Pracownicy_Podwladni.ideDzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideDzial\' in table \'view_Pracownicy_Podwladni\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Podwladni.ideDzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideOddzial { get { try { return ((int)(this[this.tableview_Pracownicy_Podwladni.ideOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideOddzial\' in table \'view_Pracownicy_Podwladni\' is DBNull." + "", e); } } set { this[this.tableview_Pracownicy_Podwladni.ideOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideDzialNull() { return this.IsNull(this.tableview_Pracownicy_Podwladni.ideDzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideDzialNull() { this[this.tableview_Pracownicy_Podwladni.ideDzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideOddzialNull() { return this.IsNull(this.tableview_Pracownicy_Podwladni.ideOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideOddzialNull() { this[this.tableview_Pracownicy_Podwladni.ideOddzialColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_Pracownicy_WpisaniRow : global::System.Data.DataRow { private view_Pracownicy_WpisaniDataTable tableview_Pracownicy_Wpisani; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_WpisaniRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_Pracownicy_Wpisani = ((view_Pracownicy_WpisaniDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int idePracownik { get { try { return ((int)(this[this.tableview_Pracownicy_Wpisani.idePracownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'idePracownik\' in table \'view_Pracownicy_Wpisani\' is DBNull." + "", e); } } set { this[this.tableview_Pracownicy_Wpisani.idePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideKierownik { get { return ((int)(this[this.tableview_Pracownicy_Wpisani.ideKierownikColumn])); } set { this[this.tableview_Pracownicy_Wpisani.ideKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideDzial { get { try { return ((int)(this[this.tableview_Pracownicy_Wpisani.ideDzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideDzial\' in table \'view_Pracownicy_Wpisani\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Wpisani.ideDzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideOddzial { get { try { return ((int)(this[this.tableview_Pracownicy_Wpisani.ideOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideOddzial\' in table \'view_Pracownicy_Wpisani\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Wpisani.ideOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsidePracownikNull() { return this.IsNull(this.tableview_Pracownicy_Wpisani.idePracownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetidePracownikNull() { this[this.tableview_Pracownicy_Wpisani.idePracownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideDzialNull() { return this.IsNull(this.tableview_Pracownicy_Wpisani.ideDzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideDzialNull() { this[this.tableview_Pracownicy_Wpisani.ideDzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideOddzialNull() { return this.IsNull(this.tableview_Pracownicy_Wpisani.ideOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideOddzialNull() { this[this.tableview_Pracownicy_Wpisani.ideOddzialColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_Pracownicy_WszyscyRow : global::System.Data.DataRow { private view_Pracownicy_WszyscyDataTable tableview_Pracownicy_Wszyscy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_WszyscyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_Pracownicy_Wszyscy = ((view_Pracownicy_WszyscyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int idePracownik { get { return ((int)(this[this.tableview_Pracownicy_Wszyscy.idePracownikColumn])); } set { this[this.tableview_Pracownicy_Wszyscy.idePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideKierownik { get { try { return ((int)(this[this.tableview_Pracownicy_Wszyscy.ideKierownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideKierownik\' in table \'view_Pracownicy_Wszyscy\' is DBNull." + "", e); } } set { this[this.tableview_Pracownicy_Wszyscy.ideKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int Idedzial { get { try { return ((int)(this[this.tableview_Pracownicy_Wszyscy.IdedzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Idedzial\' in table \'view_Pracownicy_Wszyscy\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Wszyscy.IdedzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IdeOddzial { get { try { return ((int)(this[this.tableview_Pracownicy_Wszyscy.IdeOddzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IdeOddzial\' in table \'view_Pracownicy_Wszyscy\' is DBNull.", e); } } set { this[this.tableview_Pracownicy_Wszyscy.IdeOddzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideKierownikNull() { return this.IsNull(this.tableview_Pracownicy_Wszyscy.ideKierownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideKierownikNull() { this[this.tableview_Pracownicy_Wszyscy.ideKierownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdedzialNull() { return this.IsNull(this.tableview_Pracownicy_Wszyscy.IdedzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdedzialNull() { this[this.tableview_Pracownicy_Wszyscy.IdedzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIdeOddzialNull() { return this.IsNull(this.tableview_Pracownicy_Wszyscy.IdeOddzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIdeOddzialNull() { this[this.tableview_Pracownicy_Wszyscy.IdeOddzialColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class view_Pracownicy_Wszyscy_With_NameRow : global::System.Data.DataRow { private view_Pracownicy_Wszyscy_With_NameDataTable tableview_Pracownicy_Wszyscy_With_Name; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal view_Pracownicy_Wszyscy_With_NameRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableview_Pracownicy_Wszyscy_With_Name = ((view_Pracownicy_Wszyscy_With_NameDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int idePracownik { get { return ((int)(this[this.tableview_Pracownicy_Wszyscy_With_Name.idePracownikColumn])); } set { this[this.tableview_Pracownicy_Wszyscy_With_Name.idePracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int ideKierownik { get { try { return ((int)(this[this.tableview_Pracownicy_Wszyscy_With_Name.ideKierownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'ideKierownik\' in table \'view_Pracownicy_Wszyscy_With_Name\' " + "is DBNull.", e); } } set { this[this.tableview_Pracownicy_Wszyscy_With_Name.ideKierownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string name { get { try { return ((string)(this[this.tableview_Pracownicy_Wszyscy_With_Name.nameColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'name\' in table \'view_Pracownicy_Wszyscy_With_Name\' is DBNul" + "l.", e); } } set { this[this.tableview_Pracownicy_Wszyscy_With_Name.nameColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsideKierownikNull() { return this.IsNull(this.tableview_Pracownicy_Wszyscy_With_Name.ideKierownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetideKierownikNull() { this[this.tableview_Pracownicy_Wszyscy_With_Name.ideKierownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsnameNull() { return this.IsNull(this.tableview_Pracownicy_Wszyscy_With_Name.nameColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetnameNull() { this[this.tableview_Pracownicy_Wszyscy_With_Name.nameColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class Interface_Pracownicy2Row : global::System.Data.DataRow { private Interface_Pracownicy2DataTable tableInterface_Pracownicy2; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal Interface_Pracownicy2Row(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableInterface_Pracownicy2 = ((Interface_Pracownicy2DataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEPracownika { get { return ((int)(this[this.tableInterface_Pracownicy2.IDEPracownikaColumn])); } set { this[this.tableInterface_Pracownicy2.IDEPracownikaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NAME { get { try { return ((string)(this[this.tableInterface_Pracownicy2.NAMEColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NAME\' in table \'Interface_Pracownicy2\' is DBNull.", e); } } set { this[this.tableInterface_Pracownicy2.NAMEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNAMENull() { return this.IsNull(this.tableInterface_Pracownicy2.NAMEColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNAMENull() { this[this.tableInterface_Pracownicy2.NAMEColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class WspolczynnikiRow : global::System.Data.DataRow { private WspolczynnikiDataTable tableWspolczynniki; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal WspolczynnikiRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableWspolczynniki = ((WspolczynnikiDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableWspolczynniki.IDEColumn])); } set { this[this.tableWspolczynniki.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public System.DateTime data { get { try { return ((global::System.DateTime)(this[this.tableWspolczynniki.dataColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'data\' in table \'Wspolczynniki\' is DBNull.", e); } } set { this[this.tableWspolczynniki.dataColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double emerytalne { get { return ((double)(this[this.tableWspolczynniki.emerytalneColumn])); } set { this[this.tableWspolczynniki.emerytalneColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double rentowe { get { return ((double)(this[this.tableWspolczynniki.rentoweColumn])); } set { this[this.tableWspolczynniki.rentoweColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double chorobowe { get { return ((double)(this[this.tableWspolczynniki.choroboweColumn])); } set { this[this.tableWspolczynniki.choroboweColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double zdrowotne1 { get { return ((double)(this[this.tableWspolczynniki.zdrowotne1Column])); } set { this[this.tableWspolczynniki.zdrowotne1Column] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double zdrowotne2 { get { return ((double)(this[this.tableWspolczynniki.zdrowotne2Column])); } set { this[this.tableWspolczynniki.zdrowotne2Column] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public double podatek { get { return ((double)(this[this.tableWspolczynniki.podatekColumn])); } set { this[this.tableWspolczynniki.podatekColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsdataNull() { return this.IsNull(this.tableWspolczynniki.dataColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetdataNull() { this[this.tableWspolczynniki.dataColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class UsersRow : global::System.Data.DataRow { private UsersDataTable tableUsers; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal UsersRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableUsers = ((UsersDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableUsers.IDEColumn])); } set { this[this.tableUsers.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Login { get { return ((string)(this[this.tableUsers.LoginColumn])); } set { this[this.tableUsers.LoginColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEPracownik { get { try { return ((int)(this[this.tableUsers.IDEPracownikColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEPracownik\' in table \'Users\' is DBNull.", e); } } set { this[this.tableUsers.IDEPracownikColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEGrupa { get { try { return ((int)(this[this.tableUsers.IDEGrupaColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'IDEGrupa\' in table \'Users\' is DBNull.", e); } } set { this[this.tableUsers.IDEGrupaColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEPracownikNull() { return this.IsNull(this.tableUsers.IDEPracownikColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEPracownikNull() { this[this.tableUsers.IDEPracownikColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsIDEGrupaNull() { return this.IsNull(this.tableUsers.IDEGrupaColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetIDEGrupaNull() { this[this.tableUsers.IDEGrupaColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class GrupyRow : global::System.Data.DataRow { private GrupyDataTable tableGrupy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal GrupyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableGrupy = ((GrupyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableGrupy.IDEColumn])); } set { this[this.tableGrupy.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string NazwaGrupy { get { try { return ((string)(this[this.tableGrupy.NazwaGrupyColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'NazwaGrupy\' in table \'Grupy\' is DBNull.", e); } } set { this[this.tableGrupy.NazwaGrupyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsNazwaGrupyNull() { return this.IsNull(this.tableGrupy.NazwaGrupyColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetNazwaGrupyNull() { this[this.tableGrupy.NazwaGrupyColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class DzialyRow : global::System.Data.DataRow { private DzialyDataTable tableDzialy; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal DzialyRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableDzialy = ((DzialyDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDE { get { return ((int)(this[this.tableDzialy.IDEColumn])); } set { this[this.tableDzialy.IDEColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Dzial { get { try { return ((string)(this[this.tableDzialy.DzialColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Dzial\' in table \'Dzialy\' is DBNull.", e); } } set { this[this.tableDzialy.DzialColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Opis { get { try { return ((string)(this[this.tableDzialy.OpisColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Opis\' in table \'Dzialy\' is DBNull.", e); } } set { this[this.tableDzialy.OpisColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public string Roz { get { try { return ((string)(this[this.tableDzialy.RozColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'Roz\' in table \'Dzialy\' is DBNull.", e); } } set { this[this.tableDzialy.RozColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public short For_WWW { get { try { return ((short)(this[this.tableDzialy.For_WWWColumn])); } catch (global::System.InvalidCastException e) { throw new global::System.Data.StrongTypingException("The value for column \'For_WWW\' in table \'Dzialy\' is DBNull.", e); } } set { this[this.tableDzialy.For_WWWColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsDzialNull() { return this.IsNull(this.tableDzialy.DzialColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetDzialNull() { this[this.tableDzialy.DzialColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsOpisNull() { return this.IsNull(this.tableDzialy.OpisColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetOpisNull() { this[this.tableDzialy.OpisColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsRozNull() { return this.IsNull(this.tableDzialy.RozColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetRozNull() { this[this.tableDzialy.RozColumn] = global::System.Convert.DBNull; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool IsFor_WWWNull() { return this.IsNull(this.tableDzialy.For_WWWColumn); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public void SetFor_WWWNull() { this[this.tableDzialy.For_WWWColumn] = global::System.Convert.DBNull; } } /// ///Represents strongly named DataRow class. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public partial class GrupaDzialRow : global::System.Data.DataRow { private GrupaDzialDataTable tableGrupaDzial; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal GrupaDzialRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableGrupaDzial = ((GrupaDzialDataTable)(this.Table)); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEGrupy { get { return ((int)(this[this.tableGrupaDzial.IDEGrupyColumn])); } set { this[this.tableGrupaDzial.IDEGrupyColumn] = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public int IDEDzial { get { return ((int)(this[this.tableGrupaDzial.IDEDzialColumn])); } set { this[this.tableGrupaDzial.IDEDzialColumn] = value; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class EMailsBodyRowChangeEvent : global::System.EventArgs { private EMailsBodyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRowChangeEvent(EMailsBodyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class LOGOSRowChangeEvent : global::System.EventArgs { private LOGOSRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRowChangeEvent(LOGOSRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PREMIE2RowChangeEvent : global::System.EventArgs { private PREMIE2Row eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2RowChangeEvent(PREMIE2Row row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2Row Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class CurrentEMailBodyRowChangeEvent : global::System.EventArgs { private CurrentEMailBodyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRowChangeEvent(CurrentEMailBodyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class Interface_PracownicyRowChangeEvent : global::System.EventArgs { private Interface_PracownicyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyRowChangeEvent(Interface_PracownicyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class Interface_TytulyRowChangeEvent : global::System.EventArgs { private Interface_TytulyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRowChangeEvent(Interface_TytulyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class KierownicyRowChangeEvent : global::System.EventArgs { private KierownicyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRowChangeEvent(KierownicyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class Premie_EMailDataRowChangeEvent : global::System.EventArgs { private Premie_EMailDataRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataRowChangeEvent(Premie_EMailDataRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class Premie_LastMonthBezEMailiRowChangeEvent : global::System.EventArgs { private Premie_LastMonthBezEMailiRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiRowChangeEvent(Premie_LastMonthBezEMailiRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PREMIE_MIESIECZNIERowChangeEvent : global::System.EventArgs { private PREMIE_MIESIECZNIERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIERowChangeEvent(PREMIE_MIESIECZNIERow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PREMIE_PRACOWNIKRowChangeEvent : global::System.EventArgs { private PREMIE_PRACOWNIKRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKRowChangeEvent(PREMIE_PRACOWNIKRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class PREMIE_ROCZNIERowChangeEvent : global::System.EventArgs { private PREMIE_ROCZNIERow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIERowChangeEvent(PREMIE_ROCZNIERow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIERow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_CT_PracownicyRowChangeEvent : global::System.EventArgs { private view_CT_PracownicyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyRowChangeEvent(view_CT_PracownicyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_Pracownicy_DzialRowChangeEvent : global::System.EventArgs { private view_Pracownicy_DzialRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialRowChangeEvent(view_Pracownicy_DzialRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_Pracownicy_PodwladniRowChangeEvent : global::System.EventArgs { private view_Pracownicy_PodwladniRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRowChangeEvent(view_Pracownicy_PodwladniRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_Pracownicy_WpisaniRowChangeEvent : global::System.EventArgs { private view_Pracownicy_WpisaniRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniRowChangeEvent(view_Pracownicy_WpisaniRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_Pracownicy_WszyscyRowChangeEvent : global::System.EventArgs { private view_Pracownicy_WszyscyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyRowChangeEvent(view_Pracownicy_WszyscyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class view_Pracownicy_Wszyscy_With_NameRowChangeEvent : global::System.EventArgs { private view_Pracownicy_Wszyscy_With_NameRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameRowChangeEvent(view_Pracownicy_Wszyscy_With_NameRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class Interface_Pracownicy2RowChangeEvent : global::System.EventArgs { private Interface_Pracownicy2Row eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2RowChangeEvent(Interface_Pracownicy2Row row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2Row Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class WspolczynnikiRowChangeEvent : global::System.EventArgs { private WspolczynnikiRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRowChangeEvent(WspolczynnikiRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class UsersRowChangeEvent : global::System.EventArgs { private UsersRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRowChangeEvent(UsersRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class GrupyRowChangeEvent : global::System.EventArgs { private GrupyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRowChangeEvent(GrupyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class DzialyRowChangeEvent : global::System.EventArgs { private DzialyRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRowChangeEvent(DzialyRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } /// ///Row event argument class /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] public class GrupaDzialRowChangeEvent : global::System.EventArgs { private GrupaDzialRow eventRow; private global::System.Data.DataRowAction eventAction; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRowChangeEvent(GrupaDzialRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialRow Row { get { return this.eventRow; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public global::System.Data.DataRowAction Action { get { return this.eventAction; } } } } } namespace BazaZamowien.PREMIEDataSetTableAdapters { /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class EMailsBodyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public EMailsBodyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "EMailsBody"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("Od", "Od"); tableMapping.ColumnMappings.Add("Temat", "Temat"); tableMapping.ColumnMappings.Add("Body", "Body"); tableMapping.ColumnMappings.Add("TematBad", "TematBad"); tableMapping.ColumnMappings.Add("BodyBad", "BodyBad"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[EMailsBody] WHERE (([IDE] = @Original_IDE) AND ((@IsNull_Od = 1 AND [Od] IS NULL) OR ([Od] = @Original_Od)) AND ((@IsNull_Temat = 1 AND [Temat] IS NULL) OR ([Temat] = @Original_Temat)) AND ((@IsNull_TematBad = 1 AND [TematBad] IS NULL) OR ([TematBad] = @Original_TematBad)))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Od", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Od", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Temat", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Temat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TematBad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TematBad", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[EMailsBody] ([Od], [Temat], [Body], [TematBad], [BodyBad]) VAL" + "UES (@Od, @Temat, @Body, @TematBad, @BodyBad);\r\nSELECT IDE, Od, Temat, Body, Tem" + "atBad, BodyBad FROM EMailsBody WHERE (IDE = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Od", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Temat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Body", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Body", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TematBad", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BodyBad", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BodyBad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[EMailsBody] SET [Od] = @Od, [Temat] = @Temat, [Body] = @Body, [TematBad] = @TematBad, [BodyBad] = @BodyBad WHERE (([IDE] = @Original_IDE) AND ((@IsNull_Od = 1 AND [Od] IS NULL) OR ([Od] = @Original_Od)) AND ((@IsNull_Temat = 1 AND [Temat] IS NULL) OR ([Temat] = @Original_Temat)) AND ((@IsNull_TematBad = 1 AND [TematBad] IS NULL) OR ([TematBad] = @Original_TematBad))); SELECT IDE, Od, Temat, Body, TematBad, BodyBad FROM EMailsBody WHERE (IDE = @IDE)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Od", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Temat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Body", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Body", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TematBad", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BodyBad", global::System.Data.SqlDbType.NText, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BodyBad", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Od", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Od", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Od", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_Temat", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Temat", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Temat", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_TematBad", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Original, true, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_TematBad", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "TematBad", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, Od, Temat, Body, TematBad, BodyBad FROM dbo.EMailsBody"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.EMailsBodyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.EMailsBodyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.EMailsBodyDataTable dataTable = new PREMIEDataSet.EMailsBodyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.EMailsBodyDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "EMailsBody"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDE, string Original_Od, string Original_Temat, string Original_TematBad) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDE)); if ((Original_Od == null)) { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_Od)); } if ((Original_Temat == null)) { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[4].Value = ((string)(Original_Temat)); } if ((Original_TematBad == null)) { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(1)); this.Adapter.DeleteCommand.Parameters[6].Value = global::System.DBNull.Value; } else { this.Adapter.DeleteCommand.Parameters[5].Value = ((object)(0)); this.Adapter.DeleteCommand.Parameters[6].Value = ((string)(Original_TematBad)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(string Od, string Temat, string Body, string TematBad, string BodyBad) { if ((Od == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Od)); } if ((Temat == null)) { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[1].Value = ((string)(Temat)); } if ((Body == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(Body)); } if ((TematBad == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(TematBad)); } if ((BodyBad == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(BodyBad)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string Od, string Temat, string Body, string TematBad, string BodyBad, int Original_IDE, string Original_Od, string Original_Temat, string Original_TematBad, int IDE) { if ((Od == null)) { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Od)); } if ((Temat == null)) { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(Temat)); } if ((Body == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(Body)); } if ((TematBad == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(TematBad)); } if ((BodyBad == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(BodyBad)); } this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(Original_IDE)); if ((Original_Od == null)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[6].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Od)); } if ((Original_Temat == null)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[8].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_Temat)); } if ((Original_TematBad == null)) { this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1)); this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0)); this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_TematBad)); } this.Adapter.UpdateCommand.Parameters[12].Value = ((int)(IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string Od, string Temat, string Body, string TematBad, string BodyBad, int Original_IDE, string Original_Od, string Original_Temat, string Original_TematBad) { return this.Update(Od, Temat, Body, TematBad, BodyBad, Original_IDE, Original_Od, Original_Temat, Original_TematBad, Original_IDE); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class LOGOSTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public LOGOSTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "LOGOS"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("LogoGS", "LogoGS"); tableMapping.ColumnMappings.Add("LogoAMT", "LogoAMT"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [dbo].[LOGOS] WHERE (([IDE] = @Original_IDE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO [dbo].[LOGOS] ([LogoGS], [LogoAMT]) VALUES (@LogoGS, @LogoAMT);\r\nSELE" + "CT IDE, LogoGS, LogoAMT FROM LOGOS WHERE (IDE = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogoGS", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogoGS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogoAMT", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogoAMT", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = "UPDATE [dbo].[LOGOS] SET [LogoGS] = @LogoGS, [LogoAMT] = @LogoAMT WHERE (([IDE] =" + " @Original_IDE));\r\nSELECT IDE, LogoGS, LogoAMT FROM LOGOS WHERE (IDE = @IDE)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogoGS", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogoGS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@LogoAMT", global::System.Data.SqlDbType.Image, 0, global::System.Data.ParameterDirection.Input, 0, 0, "LogoAMT", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, LogoGS, LogoAMT FROM dbo.LOGOS"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.LOGOSDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.LOGOSDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.LOGOSDataTable dataTable = new PREMIEDataSet.LOGOSDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.LOGOSDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "LOGOS"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDE) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(byte[] LogoGS, byte[] LogoAMT) { if ((LogoGS == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[0].Value = ((byte[])(LogoGS)); } if ((LogoAMT == null)) { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[1].Value = ((byte[])(LogoAMT)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(byte[] LogoGS, byte[] LogoAMT, int Original_IDE, int IDE) { if ((LogoGS == null)) { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((byte[])(LogoGS)); } if ((LogoAMT == null)) { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[1].Value = ((byte[])(LogoAMT)); } this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_IDE)); this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(byte[] LogoGS, byte[] LogoAMT, int Original_IDE) { return this.Update(LogoGS, LogoAMT, Original_IDE, Original_IDE); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class PREMIE2TableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE2TableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "PREMIE2"; tableMapping.ColumnMappings.Add("ID", "ID"); tableMapping.ColumnMappings.Add("ROK", "ROK"); tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC"); tableMapping.ColumnMappings.Add("NAME", "NAME"); tableMapping.ColumnMappings.Add("DZIAL", "DZIAL"); tableMapping.ColumnMappings.Add("OPIS", "OPIS"); tableMapping.ColumnMappings.Add("IL", "IL"); tableMapping.ColumnMappings.Add("WYCENA", "WYCENA"); tableMapping.ColumnMappings.Add("NETTO", "NETTO"); tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO"); tableMapping.ColumnMappings.Add("BB", "BB"); tableMapping.ColumnMappings.Add("data_wprowadzenia", "data_wprowadzenia"); tableMapping.ColumnMappings.Add("wprowadzil", "wprowadzil"); tableMapping.ColumnMappings.Add("data_modyfikacji", "data_modyfikacji"); tableMapping.ColumnMappings.Add("zmodyfikowal", "zmodyfikowal"); tableMapping.ColumnMappings.Add("IDEPracownika", "IDEPracownika"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [PREMIE2] WHERE (([ID] = @Original_ID))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO [PREMIE2] ([ROK], [MIESIAC], [NAME], [DZIAL], [OPIS], [IL], [WYCENA], [NETTO], [BRUTTO], [BB], [data_wprowadzenia], [wprowadzil], [data_modyfikacji], [zmodyfikowal], [IDEPracownika]) VALUES (@ROK, @MIESIAC, @NAME, @DZIAL, @OPIS, @IL, @WYCENA, @NETTO, @BRUTTO, @BB, @data_wprowadzenia, @wprowadzil, @data_modyfikacji, @zmodyfikowal, @IDEPracownika); SELECT TOP 100 ID, ROK, MIESIAC, NAME, DZIAL, OPIS, IL, WYCENA, NETTO, BRUTTO, BB, data_wprowadzenia, wprowadzil, data_modyfikacji, zmodyfikowal, IDEPracownika FROM PREMIE2 WHERE (ID = SCOPE_IDENTITY()) ORDER BY ID DESC"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIESIAC", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIESIAC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DZIAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DZIAL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPIS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPIS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IL", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WYCENA", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BB", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data_wprowadzenia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data_wprowadzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wprowadzil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wprowadzil", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data_modyfikacji", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data_modyfikacji", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zmodyfikowal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zmodyfikowal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEPracownika", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEPracownika", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE [PREMIE2] SET [ROK] = @ROK, [MIESIAC] = @MIESIAC, [NAME] = @NAME, [DZIAL] = @DZIAL, [OPIS] = @OPIS, [IL] = @IL, [WYCENA] = @WYCENA, [NETTO] = @NETTO, [BRUTTO] = @BRUTTO, [BB] = @BB, [data_wprowadzenia] = @data_wprowadzenia, [wprowadzil] = @wprowadzil, [data_modyfikacji] = @data_modyfikacji, [zmodyfikowal] = @zmodyfikowal, [IDEPracownika] = @IDEPracownika WHERE (([ID] = @Original_ID)); SELECT TOP 100 ID, ROK, MIESIAC, NAME, DZIAL, OPIS, IL, WYCENA, NETTO, BRUTTO, BB, data_wprowadzenia, wprowadzil, data_modyfikacji, zmodyfikowal, IDEPracownika FROM PREMIE2 WHERE (ID = @ID) ORDER BY ID DESC"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ROK", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ROK", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@MIESIAC", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "MIESIAC", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NAME", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NAME", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DZIAL", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "DZIAL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@OPIS", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "OPIS", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IL", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IL", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@WYCENA", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "WYCENA", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NETTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NETTO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BRUTTO", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BRUTTO", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BB", global::System.Data.SqlDbType.Money, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BB", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data_wprowadzenia", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data_wprowadzenia", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wprowadzil", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wprowadzil", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data_modyfikacji", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data_modyfikacji", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zmodyfikowal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zmodyfikowal", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEPracownika", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEPracownika", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ID", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ID", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT TOP 100 ID, ROK, MIESIAC, NAME, DZIAL, OPIS, IL, WYCENA, NETTO, BRU" + "TTO, BB, data_wprowadzenia, wprowadzil, data_modyfikacji, zmodyfikowal, \r\n " + " IDEPracownika\r\nFROM PREMIE2\r\nORDER BY ID DESC"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].CommandText = "SELECT BB, BRUTTO, DZIAL, ID, IDEPracownika, IL, MIESIAC, NAME, NETTO, OPIS, ROK," + " WYCENA, data_modyfikacji, data_wprowadzenia, wprowadzil, zmodyfikowal FROM PREM" + "IE2 WHERE (ID = @param)"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "ID", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.PREMIE2DataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.PREMIE2DataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.PREMIE2DataTable dataTable = new PREMIEDataSet.PREMIE2DataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] public virtual int FillByID(PREMIEDataSet.PREMIE2DataTable dataTable, int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual PREMIEDataSet.PREMIE2DataTable GetDataByID(int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); PREMIEDataSet.PREMIE2DataTable dataTable = new PREMIEDataSet.PREMIE2DataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.PREMIE2DataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "PREMIE2"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_ID) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_ID)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(global::System.Nullable ROK, global::System.Nullable MIESIAC, string NAME, string DZIAL, string OPIS, global::System.Nullable IL, global::System.Nullable WYCENA, global::System.Nullable NETTO, global::System.Nullable BRUTTO, global::System.Nullable BB, global::System.Nullable data_wprowadzenia, string wprowadzil, global::System.Nullable data_modyfikacji, string zmodyfikowal, global::System.Nullable IDEPracownika) { if ((ROK.HasValue == true)) { this.Adapter.InsertCommand.Parameters[0].Value = ((double)(ROK.Value)); } else { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } if ((MIESIAC.HasValue == true)) { this.Adapter.InsertCommand.Parameters[1].Value = ((double)(MIESIAC.Value)); } else { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } if ((NAME == null)) { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[2].Value = ((string)(NAME)); } if ((DZIAL == null)) { this.Adapter.InsertCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[3].Value = ((string)(DZIAL)); } if ((OPIS == null)) { this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[4].Value = ((string)(OPIS)); } if ((IL.HasValue == true)) { this.Adapter.InsertCommand.Parameters[5].Value = ((double)(IL.Value)); } else { this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((WYCENA.HasValue == true)) { this.Adapter.InsertCommand.Parameters[6].Value = ((decimal)(WYCENA.Value)); } else { this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((NETTO.HasValue == true)) { this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(NETTO.Value)); } else { this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((BRUTTO.HasValue == true)) { this.Adapter.InsertCommand.Parameters[8].Value = ((decimal)(BRUTTO.Value)); } else { this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((BB.HasValue == true)) { this.Adapter.InsertCommand.Parameters[9].Value = ((decimal)(BB.Value)); } else { this.Adapter.InsertCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((data_wprowadzenia.HasValue == true)) { this.Adapter.InsertCommand.Parameters[10].Value = ((System.DateTime)(data_wprowadzenia.Value)); } else { this.Adapter.InsertCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((wprowadzil == null)) { this.Adapter.InsertCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[11].Value = ((string)(wprowadzil)); } if ((data_modyfikacji.HasValue == true)) { this.Adapter.InsertCommand.Parameters[12].Value = ((System.DateTime)(data_modyfikacji.Value)); } else { this.Adapter.InsertCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((zmodyfikowal == null)) { this.Adapter.InsertCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[13].Value = ((string)(zmodyfikowal)); } if ((IDEPracownika.HasValue == true)) { this.Adapter.InsertCommand.Parameters[14].Value = ((int)(IDEPracownika.Value)); } else { this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( global::System.Nullable ROK, global::System.Nullable MIESIAC, string NAME, string DZIAL, string OPIS, global::System.Nullable IL, global::System.Nullable WYCENA, global::System.Nullable NETTO, global::System.Nullable BRUTTO, global::System.Nullable BB, global::System.Nullable data_wprowadzenia, string wprowadzil, global::System.Nullable data_modyfikacji, string zmodyfikowal, global::System.Nullable IDEPracownika, int Original_ID, int ID) { if ((ROK.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[0].Value = ((double)(ROK.Value)); } else { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } if ((MIESIAC.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[1].Value = ((double)(MIESIAC.Value)); } else { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } if ((NAME == null)) { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[2].Value = ((string)(NAME)); } if ((DZIAL == null)) { this.Adapter.UpdateCommand.Parameters[3].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(DZIAL)); } if ((OPIS == null)) { this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(OPIS)); } if ((IL.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(IL.Value)); } else { this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value; } if ((WYCENA.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[6].Value = ((decimal)(WYCENA.Value)); } else { this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value; } if ((NETTO.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(NETTO.Value)); } else { this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value; } if ((BRUTTO.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[8].Value = ((decimal)(BRUTTO.Value)); } else { this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value; } if ((BB.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[9].Value = ((decimal)(BB.Value)); } else { this.Adapter.UpdateCommand.Parameters[9].Value = global::System.DBNull.Value; } if ((data_wprowadzenia.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[10].Value = ((System.DateTime)(data_wprowadzenia.Value)); } else { this.Adapter.UpdateCommand.Parameters[10].Value = global::System.DBNull.Value; } if ((wprowadzil == null)) { this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(wprowadzil)); } if ((data_modyfikacji.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(data_modyfikacji.Value)); } else { this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value; } if ((zmodyfikowal == null)) { this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(zmodyfikowal)); } if ((IDEPracownika.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(IDEPracownika.Value)); } else { this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_ID)); this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(ID)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update( global::System.Nullable ROK, global::System.Nullable MIESIAC, string NAME, string DZIAL, string OPIS, global::System.Nullable IL, global::System.Nullable WYCENA, global::System.Nullable NETTO, global::System.Nullable BRUTTO, global::System.Nullable BB, global::System.Nullable data_wprowadzenia, string wprowadzil, global::System.Nullable data_modyfikacji, string zmodyfikowal, global::System.Nullable IDEPracownika, int Original_ID) { return this.Update(ROK, MIESIAC, NAME, DZIAL, OPIS, IL, WYCENA, NETTO, BRUTTO, BB, data_wprowadzenia, wprowadzil, data_modyfikacji, zmodyfikowal, IDEPracownika, Original_ID, Original_ID); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class CurrentEMailBodyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public CurrentEMailBodyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "CurrentEMailBody"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("Od", "Od"); tableMapping.ColumnMappings.Add("Temat", "Temat"); tableMapping.ColumnMappings.Add("Body", "Body"); tableMapping.ColumnMappings.Add("TematBad", "TematBad"); tableMapping.ColumnMappings.Add("BodyBad", "BodyBad"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, Od, Temat, Body, TematBad, BodyBad FROM dbo.CurrentEMailBody"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.CurrentEMailBodyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.CurrentEMailBodyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.CurrentEMailBodyDataTable dataTable = new PREMIEDataSet.CurrentEMailBodyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class Interface_PracownicyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_PracownicyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Interface_Pracownicy"; tableMapping.ColumnMappings.Add("Imie", "Imie"); tableMapping.ColumnMappings.Add("Nazwisko", "Nazwisko"); tableMapping.ColumnMappings.Add("EMail", "EMail"); tableMapping.ColumnMappings.Add("SQLLogins", "SQLLogins"); tableMapping.ColumnMappings.Add("IDEPracownicy", "IDEPracownicy"); tableMapping.ColumnMappings.Add("Osoba", "Osoba"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT Imie, Nazwisko, EMail, SQLLogins, IDEPracownicy, CONVERT(nvarchar(2" + "55), Osoba) AS Osoba\r\nFROM Interface_Pracownicy"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.Interface_PracownicyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.Interface_PracownicyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.Interface_PracownicyDataTable dataTable = new PREMIEDataSet.Interface_PracownicyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class Interface_TytulyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_TytulyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Interface_Tytuly"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("TYTUL", "TYTUL"); tableMapping.ColumnMappings.Add("OPIS", "OPIS"); tableMapping.ColumnMappings.Add("ISSN", "ISSN"); tableMapping.ColumnMappings.Add("NR_INDEX", "NR_INDEX"); tableMapping.ColumnMappings.Add("LOGO", "LOGO"); tableMapping.ColumnMappings.Add("SWW", "SWW"); tableMapping.ColumnMappings.Add("JM", "JM"); tableMapping.ColumnMappings.Add("Vat", "Vat"); tableMapping.ColumnMappings.Add("Cena", "Cena"); tableMapping.ColumnMappings.Add("PKWiU", "PKWiU"); tableMapping.ColumnMappings.Add("Grzbiety", "Grzbiety"); tableMapping.ColumnMappings.Add("Aktywny", "Aktywny"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, TYTUL, OPIS, ISSN, NR_INDEX, LOGO, SWW, JM, Vat, Cena, PKWiU, Grzbiet" + "y, Aktywny FROM dbo.Interface_Tytuly"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.Interface_TytulyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.Interface_TytulyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.Interface_TytulyDataTable dataTable = new PREMIEDataSet.Interface_TytulyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class KierownicyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public KierownicyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Kierownicy"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("IDEPracownik", "IDEPracownik"); tableMapping.ColumnMappings.Add("IDEDzial", "IDEDzial"); tableMapping.ColumnMappings.Add("IDEOddzial", "IDEOddzial"); tableMapping.ColumnMappings.Add("Tytul", "Tytul"); tableMapping.ColumnMappings.Add("Aktywny", "Aktywny"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, IDEPracownik, IDEDzial, IDEOddzial, Tytul, Aktywny FROM dbo.Kierownic" + "y"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.KierownicyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.KierownicyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.KierownicyDataTable dataTable = new PREMIEDataSet.KierownicyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class Premie_EMailDataTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_EMailDataTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Premie_EMailData"; tableMapping.ColumnMappings.Add("ID", "ID"); tableMapping.ColumnMappings.Add("ROK", "ROK"); tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC"); tableMapping.ColumnMappings.Add("NAME", "NAME"); tableMapping.ColumnMappings.Add("OPIS", "OPIS"); tableMapping.ColumnMappings.Add("NETTO", "NETTO"); tableMapping.ColumnMappings.Add("Brutto", "Brutto"); tableMapping.ColumnMappings.Add("EMail", "EMail"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT ID, ROK, MIESIAC, NAME, OPIS, NETTO, Brutto, EMail FROM dbo.Premie_EMailDa" + "ta"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.Premie_EMailDataDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.Premie_EMailDataDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.Premie_EMailDataDataTable dataTable = new PREMIEDataSet.Premie_EMailDataDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class Premie_LastMonthBezEMailiTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Premie_LastMonthBezEMailiTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Premie_LastMonthBezEMaili"; tableMapping.ColumnMappings.Add("ROK", "ROK"); tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC"); tableMapping.ColumnMappings.Add("NAME", "NAME"); tableMapping.ColumnMappings.Add("EMail", "EMail"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT ROK, MIESIAC, NAME, EMail FROM dbo.Premie_LastMonthBezEMaili"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.Premie_LastMonthBezEMailiDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.Premie_LastMonthBezEMailiDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.Premie_LastMonthBezEMailiDataTable dataTable = new PREMIEDataSet.Premie_LastMonthBezEMailiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class PREMIE_MIESIECZNIETableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_MIESIECZNIETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "PREMIE_MIESIECZNIE"; tableMapping.ColumnMappings.Add("ROK", "ROK"); tableMapping.ColumnMappings.Add("MIESIAC", "MIESIAC"); tableMapping.ColumnMappings.Add("ILOSC", "ILOSC"); tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT ROK, MIESIAC, ILOSC, BRUTTO FROM dbo.PREMIE_MIESIECZNIE"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.PREMIE_MIESIECZNIEDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.PREMIE_MIESIECZNIEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.PREMIE_MIESIECZNIEDataTable dataTable = new PREMIEDataSet.PREMIE_MIESIECZNIEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class PREMIE_PRACOWNIKTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_PRACOWNIKTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "PREMIE_PRACOWNIK"; tableMapping.ColumnMappings.Add("NAME", "NAME"); tableMapping.ColumnMappings.Add("ILOSC", "ILOSC"); tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT NAME, ILOSC, BRUTTO FROM dbo.PREMIE_PRACOWNIK"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.PREMIE_PRACOWNIKDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.PREMIE_PRACOWNIKDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.PREMIE_PRACOWNIKDataTable dataTable = new PREMIEDataSet.PREMIE_PRACOWNIKDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class PREMIE_ROCZNIETableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public PREMIE_ROCZNIETableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "PREMIE_ROCZNIE"; tableMapping.ColumnMappings.Add("ROK", "ROK"); tableMapping.ColumnMappings.Add("ILOSC", "ILOSC"); tableMapping.ColumnMappings.Add("BRUTTO", "BRUTTO"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT ROK, ILOSC, BRUTTO FROM dbo.PREMIE_ROCZNIE"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.PREMIE_ROCZNIEDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.PREMIE_ROCZNIEDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.PREMIE_ROCZNIEDataTable dataTable = new PREMIEDataSet.PREMIE_ROCZNIEDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_CT_PracownicyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_CT_PracownicyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_CT_Pracownicy"; tableMapping.ColumnMappings.Add("idePracownik", "idePracownik"); tableMapping.ColumnMappings.Add("ideKierownik", "ideKierownik"); tableMapping.ColumnMappings.Add("Idedzial", "Idedzial"); tableMapping.ColumnMappings.Add("IdeOddzial", "IdeOddzial"); tableMapping.ColumnMappings.Add("Dzial", "Dzial"); tableMapping.ColumnMappings.Add("Oddzial", "Oddzial"); tableMapping.ColumnMappings.Add("SQLLogins", "SQLLogins"); tableMapping.ColumnMappings.Add("Imie", "Imie"); tableMapping.ColumnMappings.Add("Nazwisko", "Nazwisko"); tableMapping.ColumnMappings.Add("KierownikImie", "KierownikImie"); tableMapping.ColumnMappings.Add("KierownikNazwisko", "KierownikNazwisko"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idePracownik, ideKierownik, Idedzial, IdeOddzial, Dzial, Oddzial, SQLLogin" + "s, Imie, Nazwisko, KierownikImie, KierownikNazwisko FROM dbo.view_CT_Pracownicy"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_CT_PracownicyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_CT_PracownicyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_CT_PracownicyDataTable dataTable = new PREMIEDataSet.view_CT_PracownicyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_Pracownicy_DzialTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_DzialTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_Pracownicy_Dzial"; tableMapping.ColumnMappings.Add("idePracownik", "idePracownik"); tableMapping.ColumnMappings.Add("ideKierownik", "ideKierownik"); tableMapping.ColumnMappings.Add("Idedzial", "Idedzial"); tableMapping.ColumnMappings.Add("IdeOddzial", "IdeOddzial"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idePracownik, ideKierownik, Idedzial, IdeOddzial FROM dbo.view_Pracownicy_" + "Dzial"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_Pracownicy_DzialDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_Pracownicy_DzialDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_Pracownicy_DzialDataTable dataTable = new PREMIEDataSet.view_Pracownicy_DzialDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_Pracownicy_PodwladniTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_PodwladniTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_Pracownicy_Podwladni"; tableMapping.ColumnMappings.Add("IdePracownik", "IdePracownik"); tableMapping.ColumnMappings.Add("IdeKierownik", "IdeKierownik"); tableMapping.ColumnMappings.Add("ideDzial", "ideDzial"); tableMapping.ColumnMappings.Add("ideOddzial", "ideOddzial"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IdePracownik, IdeKierownik, ideDzial, ideOddzial FROM dbo.view_Pracownicy_" + "Podwladni"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_Pracownicy_PodwladniDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_Pracownicy_PodwladniDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_Pracownicy_PodwladniDataTable dataTable = new PREMIEDataSet.view_Pracownicy_PodwladniDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_Pracownicy_WpisaniTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WpisaniTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_Pracownicy_Wpisani"; tableMapping.ColumnMappings.Add("idePracownik", "idePracownik"); tableMapping.ColumnMappings.Add("ideKierownik", "ideKierownik"); tableMapping.ColumnMappings.Add("ideDzial", "ideDzial"); tableMapping.ColumnMappings.Add("ideOddzial", "ideOddzial"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idePracownik, ideKierownik, ideDzial, ideOddzial FROM dbo.view_Pracownicy_" + "Wpisani"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_Pracownicy_WpisaniDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_Pracownicy_WpisaniDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_Pracownicy_WpisaniDataTable dataTable = new PREMIEDataSet.view_Pracownicy_WpisaniDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_Pracownicy_WszyscyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_WszyscyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_Pracownicy_Wszyscy"; tableMapping.ColumnMappings.Add("idePracownik", "idePracownik"); tableMapping.ColumnMappings.Add("ideKierownik", "ideKierownik"); tableMapping.ColumnMappings.Add("Idedzial", "Idedzial"); tableMapping.ColumnMappings.Add("IdeOddzial", "IdeOddzial"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idePracownik, ideKierownik, Idedzial, IdeOddzial FROM dbo.view_Pracownicy_" + "Wszyscy"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_Pracownicy_WszyscyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_Pracownicy_WszyscyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_Pracownicy_WszyscyDataTable dataTable = new PREMIEDataSet.view_Pracownicy_WszyscyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class view_Pracownicy_Wszyscy_With_NameTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public view_Pracownicy_Wszyscy_With_NameTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "view_Pracownicy_Wszyscy_With_Name"; tableMapping.ColumnMappings.Add("idePracownik", "idePracownik"); tableMapping.ColumnMappings.Add("ideKierownik", "ideKierownik"); tableMapping.ColumnMappings.Add("name", "name"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT idePracownik, ideKierownik, name FROM dbo.view_Pracownicy_Wszyscy_With_Nam" + "e"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.view_Pracownicy_Wszyscy_With_NameDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.view_Pracownicy_Wszyscy_With_NameDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.view_Pracownicy_Wszyscy_With_NameDataTable dataTable = new PREMIEDataSet.view_Pracownicy_Wszyscy_With_NameDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class Interface_Pracownicy2TableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public Interface_Pracownicy2TableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Interface_Pracownicy2"; tableMapping.ColumnMappings.Add("IDEPracownika", "IDEPracownika"); tableMapping.ColumnMappings.Add("NAME", "NAME"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDEPracownika, NAME\r\nFROM Interface_Pracownicy2\r\nORDER B" + "Y NAME"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.Interface_Pracownicy2DataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.Interface_Pracownicy2DataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.Interface_Pracownicy2DataTable dataTable = new PREMIEDataSet.Interface_Pracownicy2DataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class WspolczynnikiTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public WspolczynnikiTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Wspolczynniki"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("data", "data"); tableMapping.ColumnMappings.Add("emerytalne", "emerytalne"); tableMapping.ColumnMappings.Add("rentowe", "rentowe"); tableMapping.ColumnMappings.Add("chorobowe", "chorobowe"); tableMapping.ColumnMappings.Add("zdrowotne1", "zdrowotne1"); tableMapping.ColumnMappings.Add("zdrowotne2", "zdrowotne2"); tableMapping.ColumnMappings.Add("podatek", "podatek"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [Wspolczynniki] WHERE (([IDE] = @Original_IDE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = @"INSERT INTO [Wspolczynniki] ([data], [emerytalne], [rentowe], [chorobowe], [zdrowotne1], [zdrowotne2], [podatek]) VALUES (@data, @emerytalne, @rentowe, @chorobowe, @zdrowotne1, @zdrowotne2, @podatek); SELECT IDE, data, emerytalne, rentowe, chorobowe, zdrowotne1, zdrowotne2, podatek FROM Wspolczynniki WHERE (IDE = SCOPE_IDENTITY()) ORDER BY data DESC"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emerytalne", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emerytalne", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rentowe", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rentowe", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chorobowe", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chorobowe", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zdrowotne1", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zdrowotne1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zdrowotne2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zdrowotne2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@podatek", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "podatek", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = @"UPDATE [Wspolczynniki] SET [data] = @data, [emerytalne] = @emerytalne, [rentowe] = @rentowe, [chorobowe] = @chorobowe, [zdrowotne1] = @zdrowotne1, [zdrowotne2] = @zdrowotne2, [podatek] = @podatek WHERE (([IDE] = @Original_IDE)); SELECT IDE, data, emerytalne, rentowe, chorobowe, zdrowotne1, zdrowotne2, podatek FROM Wspolczynniki WHERE (IDE = @IDE) ORDER BY data DESC"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@data", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "data", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@emerytalne", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "emerytalne", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@rentowe", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rentowe", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@chorobowe", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "chorobowe", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zdrowotne1", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zdrowotne1", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@zdrowotne2", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "zdrowotne2", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@podatek", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "podatek", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, data, emerytalne, rentowe, chorobowe, zdrowotne1, zdrowotne2, " + "podatek\r\nFROM Wspolczynniki\r\nORDER BY data DESC"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].CommandText = "SELECT TOP 1 IDE, chorobowe, data, emerytalne, podatek, rentowe, zdrowotne1, zdro" + "wotne2 FROM Wspolczynniki ORDER BY data DESC"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.WspolczynnikiDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.WspolczynnikiDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.WspolczynnikiDataTable dataTable = new PREMIEDataSet.WspolczynnikiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] public virtual int FillByLatest(PREMIEDataSet.WspolczynnikiDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual PREMIEDataSet.WspolczynnikiDataTable GetDataByLatest() { this.Adapter.SelectCommand = this.CommandCollection[1]; PREMIEDataSet.WspolczynnikiDataTable dataTable = new PREMIEDataSet.WspolczynnikiDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.WspolczynnikiDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "Wspolczynniki"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDE) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(global::System.Nullable data, double emerytalne, double rentowe, double chorobowe, double zdrowotne1, double zdrowotne2, double podatek) { if ((data.HasValue == true)) { this.Adapter.InsertCommand.Parameters[0].Value = ((System.DateTime)(data.Value)); } else { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } this.Adapter.InsertCommand.Parameters[1].Value = ((double)(emerytalne)); this.Adapter.InsertCommand.Parameters[2].Value = ((double)(rentowe)); this.Adapter.InsertCommand.Parameters[3].Value = ((double)(chorobowe)); this.Adapter.InsertCommand.Parameters[4].Value = ((double)(zdrowotne1)); this.Adapter.InsertCommand.Parameters[5].Value = ((double)(zdrowotne2)); this.Adapter.InsertCommand.Parameters[6].Value = ((double)(podatek)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(global::System.Nullable data, double emerytalne, double rentowe, double chorobowe, double zdrowotne1, double zdrowotne2, double podatek, int Original_IDE, int IDE) { if ((data.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[0].Value = ((System.DateTime)(data.Value)); } else { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[1].Value = ((double)(emerytalne)); this.Adapter.UpdateCommand.Parameters[2].Value = ((double)(rentowe)); this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(chorobowe)); this.Adapter.UpdateCommand.Parameters[4].Value = ((double)(zdrowotne1)); this.Adapter.UpdateCommand.Parameters[5].Value = ((double)(zdrowotne2)); this.Adapter.UpdateCommand.Parameters[6].Value = ((double)(podatek)); this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(Original_IDE)); this.Adapter.UpdateCommand.Parameters[8].Value = ((int)(IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(global::System.Nullable data, double emerytalne, double rentowe, double chorobowe, double zdrowotne1, double zdrowotne2, double podatek, int Original_IDE) { return this.Update(data, emerytalne, rentowe, chorobowe, zdrowotne1, zdrowotne2, podatek, Original_IDE, Original_IDE); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class UsersTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public UsersTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Users"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("Login", "Login"); tableMapping.ColumnMappings.Add("IDEPracownik", "IDEPracownik"); tableMapping.ColumnMappings.Add("IDEGrupa", "IDEGrupa"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [Users] WHERE (([IDE] = @Original_IDE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO [Users] ([Login], [IDEPracownik], [IDEGrupa]) VALUES (@Login, @IDEPra" + "cownik, @IDEGrupa);\r\nSELECT IDE, Login, IDEPracownik, IDEGrupa FROM Users WHERE " + "(IDE = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Login", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Login", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEPracownik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEPracownik", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEGrupa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = "UPDATE [Users] SET [Login] = @Login, [IDEPracownik] = @IDEPracownik, [IDEGrupa] =" + " @IDEGrupa WHERE (([IDE] = @Original_IDE));\r\nSELECT IDE, Login, IDEPracownik, ID" + "EGrupa FROM Users WHERE (IDE = @IDE)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Login", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Login", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEPracownik", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEPracownik", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEGrupa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupa", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT Users.*\r\nFROM Users"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].CommandText = "SELECT Users.*\r\nFROM Users Where IDEPracownik=@param"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDEPracownik", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.UsersDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.UsersDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.UsersDataTable dataTable = new PREMIEDataSet.UsersDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] public virtual int FillByIDEPracownik(PREMIEDataSet.UsersDataTable dataTable, global::System.Nullable param) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((param.HasValue == true)) { this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value)); } else { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual PREMIEDataSet.UsersDataTable GetDataByIDEPracownik(global::System.Nullable param) { this.Adapter.SelectCommand = this.CommandCollection[1]; if ((param.HasValue == true)) { this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param.Value)); } else { this.Adapter.SelectCommand.Parameters[0].Value = global::System.DBNull.Value; } PREMIEDataSet.UsersDataTable dataTable = new PREMIEDataSet.UsersDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.UsersDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "Users"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDE) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(string Login, global::System.Nullable IDEPracownik, global::System.Nullable IDEGrupa) { if ((Login == null)) { throw new global::System.ArgumentNullException("Login"); } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(Login)); } if ((IDEPracownik.HasValue == true)) { this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IDEPracownik.Value)); } else { this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value; } if ((IDEGrupa.HasValue == true)) { this.Adapter.InsertCommand.Parameters[2].Value = ((int)(IDEGrupa.Value)); } else { this.Adapter.InsertCommand.Parameters[2].Value = global::System.DBNull.Value; } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string Login, global::System.Nullable IDEPracownik, global::System.Nullable IDEGrupa, int Original_IDE, int IDE) { if ((Login == null)) { throw new global::System.ArgumentNullException("Login"); } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(Login)); } if ((IDEPracownik.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IDEPracownik.Value)); } else { this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value; } if ((IDEGrupa.HasValue == true)) { this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IDEGrupa.Value)); } else { this.Adapter.UpdateCommand.Parameters[2].Value = global::System.DBNull.Value; } this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_IDE)); this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string Login, global::System.Nullable IDEPracownik, global::System.Nullable IDEGrupa, int Original_IDE) { return this.Update(Login, IDEPracownik, IDEGrupa, Original_IDE, Original_IDE); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class GrupyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Grupy"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("NazwaGrupy", "NazwaGrupy"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [Grupy] WHERE (([IDE] = @Original_IDE))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO [Grupy] ([NazwaGrupy]) VALUES (@NazwaGrupy);\r\nSELECT IDE, NazwaGrupy " + "FROM Grupy WHERE (IDE = SCOPE_IDENTITY())"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NazwaGrupy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NazwaGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = "UPDATE [Grupy] SET [NazwaGrupy] = @NazwaGrupy WHERE (([IDE] = @Original_IDE));\r\nS" + "ELECT IDE, NazwaGrupy FROM Grupy WHERE (IDE = @IDE)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NazwaGrupy", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "NazwaGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDE", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDE", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT Grupy.*\r\nFROM Grupy"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.GrupyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.GrupyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.GrupyDataTable dataTable = new PREMIEDataSet.GrupyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.GrupyDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "Grupy"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDE) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(string NazwaGrupy) { if ((NazwaGrupy == null)) { this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.InsertCommand.Parameters[0].Value = ((string)(NazwaGrupy)); } global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string NazwaGrupy, int Original_IDE, int IDE) { if ((NazwaGrupy == null)) { this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value; } else { this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(NazwaGrupy)); } this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(Original_IDE)); this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(IDE)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(string NazwaGrupy, int Original_IDE) { return this.Update(NazwaGrupy, Original_IDE, Original_IDE); } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class DzialyTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public DzialyTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "Dzialy"; tableMapping.ColumnMappings.Add("IDE", "IDE"); tableMapping.ColumnMappings.Add("Dzial", "Dzial"); tableMapping.ColumnMappings.Add("Opis", "Opis"); tableMapping.ColumnMappings.Add("Roz", "Roz"); tableMapping.ColumnMappings.Add("For_WWW", "For_WWW"); this._adapter.TableMappings.Add(tableMapping); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT IDE, Dzial, Opis, Roz, For_WWW\r\nFROM Dzialy\r\nORDER BY Dz" + "ial"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].CommandText = "SELECT Dzialy.Dzial, Dzialy.For_WWW, Dzialy.IDE, Dzialy.Opis, Dzialy.Roz FROM Dzi" + "aly LEFT OUTER JOIN GrupaDzial ON Dzialy.IDE = GrupaDzial.IDEDzial WHERE (GrupaD" + "zial.IDEGrupy = @param) ORDER BY Dzialy.Dzial"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.DzialyDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.DzialyDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.DzialyDataTable dataTable = new PREMIEDataSet.DzialyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] public virtual int FillByIDEGrupy(PREMIEDataSet.DzialyDataTable dataTable, int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual PREMIEDataSet.DzialyDataTable GetDataByIDEGrupy(int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); PREMIEDataSet.DzialyDataTable dataTable = new PREMIEDataSet.DzialyDataTable(); this.Adapter.Fill(dataTable); return dataTable; } } /// ///Represents the connection and commands used to retrieve and save data. /// [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")] [global::System.ComponentModel.DesignerCategoryAttribute("code")] [global::System.ComponentModel.ToolboxItem(true)] [global::System.ComponentModel.DataObjectAttribute(true)] [global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" + ", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public partial class GrupaDzialTableAdapter : global::System.ComponentModel.Component { private global::System.Data.SqlClient.SqlDataAdapter _adapter; private global::System.Data.SqlClient.SqlConnection _connection; private global::System.Data.SqlClient.SqlCommand[] _commandCollection; private bool _clearBeforeFill; [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public GrupaDzialTableAdapter() { this.ClearBeforeFill = true; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private global::System.Data.SqlClient.SqlDataAdapter Adapter { get { if ((this._adapter == null)) { this.InitAdapter(); } return this._adapter; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] internal global::System.Data.SqlClient.SqlConnection Connection { get { if ((this._connection == null)) { this.InitConnection(); } return this._connection; } set { this._connection = value; if ((this.Adapter.InsertCommand != null)) { this.Adapter.InsertCommand.Connection = value; } if ((this.Adapter.DeleteCommand != null)) { this.Adapter.DeleteCommand.Connection = value; } if ((this.Adapter.UpdateCommand != null)) { this.Adapter.UpdateCommand.Connection = value; } for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) { if ((this.CommandCollection[i] != null)) { ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value; } } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] protected global::System.Data.SqlClient.SqlCommand[] CommandCollection { get { if ((this._commandCollection == null)) { this.InitCommandCollection(); } return this._commandCollection; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] public bool ClearBeforeFill { get { return this._clearBeforeFill; } set { this._clearBeforeFill = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitAdapter() { this._adapter = new global::System.Data.SqlClient.SqlDataAdapter(); global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping(); tableMapping.SourceTable = "Table"; tableMapping.DataSetTable = "GrupaDzial"; tableMapping.ColumnMappings.Add("IDEGrupy", "IDEGrupy"); tableMapping.ColumnMappings.Add("IDEDzial", "IDEDzial"); this._adapter.TableMappings.Add(tableMapping); this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.DeleteCommand.Connection = this.Connection; this._adapter.DeleteCommand.CommandText = "DELETE FROM [GrupaDzial] WHERE (([IDEGrupy] = @Original_IDEGrupy) AND ([IDEDzial]" + " = @Original_IDEDzial))"; this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDEGrupy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDEDzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEDzial", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.InsertCommand.Connection = this.Connection; this._adapter.InsertCommand.CommandText = "INSERT INTO [GrupaDzial] ([IDEGrupy], [IDEDzial]) VALUES (@IDEGrupy, @IDEDzial);\r" + "\nSELECT IDEGrupy, IDEDzial FROM GrupaDzial WHERE (IDEDzial = @IDEDzial) AND (IDE" + "Grupy = @IDEGrupy)"; this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEGrupy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEDzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEDzial", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand(); this._adapter.UpdateCommand.Connection = this.Connection; this._adapter.UpdateCommand.CommandText = "UPDATE [GrupaDzial] SET [IDEGrupy] = @IDEGrupy, [IDEDzial] = @IDEDzial WHERE (([I" + "DEGrupy] = @Original_IDEGrupy) AND ([IDEDzial] = @Original_IDEDzial));\r\nSELECT I" + "DEGrupy, IDEDzial FROM GrupaDzial WHERE (IDEDzial = @IDEDzial) AND (IDEGrupy = @" + "IDEGrupy)"; this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text; this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEGrupy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IDEDzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEDzial", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDEGrupy", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_IDEDzial", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "IDEDzial", global::System.Data.DataRowVersion.Original, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitConnection() { this._connection = new global::System.Data.SqlClient.SqlConnection(); this._connection.ConnectionString = global::BazaZamowien.Properties.Settings.Default.PREMIEConnectionString; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] private void InitCommandCollection() { this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2]; this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[0].Connection = this.Connection; this._commandCollection[0].CommandText = "SELECT GrupaDzial.*\r\nFROM GrupaDzial"; this._commandCollection[0].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand(); this._commandCollection[1].Connection = this.Connection; this._commandCollection[1].CommandText = "SELECT GrupaDzial.*\r\nFROM GrupaDzial where IDEGrupy=@param"; this._commandCollection[1].CommandType = global::System.Data.CommandType.Text; this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@param", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "IDEGrupy", global::System.Data.DataRowVersion.Current, false, null, "", "", "")); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)] public virtual int Fill(PREMIEDataSet.GrupaDzialDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)] public virtual PREMIEDataSet.GrupaDzialDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; PREMIEDataSet.GrupaDzialDataTable dataTable = new PREMIEDataSet.GrupaDzialDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, false)] public virtual int FillByIDEGrupy(PREMIEDataSet.GrupaDzialDataTable dataTable, int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return returnValue; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)] public virtual PREMIEDataSet.GrupaDzialDataTable GetDataByIDEGrupy(int param) { this.Adapter.SelectCommand = this.CommandCollection[1]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(param)); PREMIEDataSet.GrupaDzialDataTable dataTable = new PREMIEDataSet.GrupaDzialDataTable(); this.Adapter.Fill(dataTable); return dataTable; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet.GrupaDzialDataTable dataTable) { return this.Adapter.Update(dataTable); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(PREMIEDataSet dataSet) { return this.Adapter.Update(dataSet, "GrupaDzial"); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow dataRow) { return this.Adapter.Update(new global::System.Data.DataRow[] { dataRow}); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] public virtual int Update(global::System.Data.DataRow[] dataRows) { return this.Adapter.Update(dataRows); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)] public virtual int Delete(int Original_IDEGrupy, int Original_IDEDzial) { this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_IDEGrupy)); this.Adapter.DeleteCommand.Parameters[1].Value = ((int)(Original_IDEDzial)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State; if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.DeleteCommand.Connection.Open(); } try { int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.DeleteCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)] public virtual int Insert(int IDEGrupy, int IDEDzial) { this.Adapter.InsertCommand.Parameters[0].Value = ((int)(IDEGrupy)); this.Adapter.InsertCommand.Parameters[1].Value = ((int)(IDEDzial)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State; if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.InsertCommand.Connection.Open(); } try { int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.InsertCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(int IDEGrupy, int IDEDzial, int Original_IDEGrupy, int Original_IDEDzial) { this.Adapter.UpdateCommand.Parameters[0].Value = ((int)(IDEGrupy)); this.Adapter.UpdateCommand.Parameters[1].Value = ((int)(IDEDzial)); this.Adapter.UpdateCommand.Parameters[2].Value = ((int)(Original_IDEGrupy)); this.Adapter.UpdateCommand.Parameters[3].Value = ((int)(Original_IDEDzial)); global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State; if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open) != global::System.Data.ConnectionState.Open)) { this.Adapter.UpdateCommand.Connection.Open(); } try { int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery(); return returnValue; } finally { if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) { this.Adapter.UpdateCommand.Connection.Close(); } } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")] [global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)] public virtual int Update(int Original_IDEGrupy, int Original_IDEDzial) { return this.Update(Original_IDEGrupy, Original_IDEDzial, Original_IDEGrupy, Original_IDEDzial); } } } #pragma warning restore 1591