DataSet1.xsd 390 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <xs:schema id="DataSet1" targetNamespace="http://tempuri.org/DataSet1.xsd" xmlns:mstns="http://tempuri.org/DataSet1.xsd" xmlns="http://tempuri.org/DataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  3. <xs:annotation>
  4. <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
  5. <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
  6. <Connections>
  7. <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.muskafidi_de.Properties.Settings.GlobalReference.Default.ConnectionString" Provider="System.Data.SqlClient" />
  8. </Connections>
  9. <Tables>
  10. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AkademikiTableAdapter" GeneratorDataComponentClassName="AkademikiTableAdapter" Name="Akademiki" UserDataComponentName="AkademikiTableAdapter">
  11. <MainSource>
  12. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Akademiki" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  13. <DeleteCommand>
  14. <DbCommand CommandType="Text" ModifiedByUser="false">
  15. <CommandText>DELETE FROM [dbo].[Akademiki] WHERE (([id] = @Original_id) AND ([DateOfbirth] = @Original_DateOfbirth) AND ([Spec] = @Original_Spec) AND ([yearOrden] = @Original_yearOrden))</CommandText>
  16. <Parameters>
  17. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  18. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_DateOfbirth" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateOfbirth" SourceColumnNullMapping="false" SourceVersion="Original" />
  19. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Spec" SourceColumnNullMapping="false" SourceVersion="Original" />
  20. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_yearOrden" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="yearOrden" SourceColumnNullMapping="false" SourceVersion="Original" />
  21. </Parameters>
  22. </DbCommand>
  23. </DeleteCommand>
  24. <InsertCommand>
  25. <DbCommand CommandType="Text" ModifiedByUser="false">
  26. <CommandText>INSERT INTO [dbo].[Akademiki] ([id], [FIO], [DateOfbirth], [Spec], [yearOrden]) VALUES (@id, @FIO, @DateOfbirth, @Spec, @yearOrden);
  27. SELECT id, FIO, DateOfbirth, Spec, yearOrden FROM Akademiki WHERE (id = @id)</CommandText>
  28. <Parameters>
  29. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  30. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  31. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@DateOfbirth" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateOfbirth" SourceColumnNullMapping="false" SourceVersion="Current" />
  32. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Spec" SourceColumnNullMapping="false" SourceVersion="Current" />
  33. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@yearOrden" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="yearOrden" SourceColumnNullMapping="false" SourceVersion="Current" />
  34. </Parameters>
  35. </DbCommand>
  36. </InsertCommand>
  37. <SelectCommand>
  38. <DbCommand CommandType="Text" ModifiedByUser="false">
  39. <CommandText>SELECT id, FIO, DateOfbirth, Spec, yearOrden FROM dbo.Akademiki</CommandText>
  40. <Parameters />
  41. </DbCommand>
  42. </SelectCommand>
  43. <UpdateCommand>
  44. <DbCommand CommandType="Text" ModifiedByUser="false">
  45. <CommandText>UPDATE [dbo].[Akademiki] SET [id] = @id, [FIO] = @FIO, [DateOfbirth] = @DateOfbirth, [Spec] = @Spec, [yearOrden] = @yearOrden WHERE (([id] = @Original_id) AND ([DateOfbirth] = @Original_DateOfbirth) AND ([Spec] = @Original_Spec) AND ([yearOrden] = @Original_yearOrden));
  46. SELECT id, FIO, DateOfbirth, Spec, yearOrden FROM Akademiki WHERE (id = @id)</CommandText>
  47. <Parameters>
  48. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  49. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  50. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@DateOfbirth" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateOfbirth" SourceColumnNullMapping="false" SourceVersion="Current" />
  51. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Spec" SourceColumnNullMapping="false" SourceVersion="Current" />
  52. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@yearOrden" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="yearOrden" SourceColumnNullMapping="false" SourceVersion="Current" />
  53. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  54. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_DateOfbirth" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="DateOfbirth" SourceColumnNullMapping="false" SourceVersion="Original" />
  55. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Spec" SourceColumnNullMapping="false" SourceVersion="Original" />
  56. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_yearOrden" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="yearOrden" SourceColumnNullMapping="false" SourceVersion="Original" />
  57. </Parameters>
  58. </DbCommand>
  59. </UpdateCommand>
  60. </DbSource>
  61. </MainSource>
  62. <Mappings>
  63. <Mapping SourceColumn="id" DataSetColumn="id" />
  64. <Mapping SourceColumn="FIO" DataSetColumn="FIO" />
  65. <Mapping SourceColumn="DateOfbirth" DataSetColumn="DateOfbirth" />
  66. <Mapping SourceColumn="Spec" DataSetColumn="Spec" />
  67. <Mapping SourceColumn="yearOrden" DataSetColumn="yearOrden" />
  68. </Mappings>
  69. <Sources />
  70. </TableAdapter>
  71. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="applicTableAdapter" GeneratorDataComponentClassName="applicTableAdapter" Name="applic" UserDataComponentName="applicTableAdapter">
  72. <MainSource>
  73. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.applic" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  74. <InsertCommand>
  75. <DbCommand CommandType="Text" ModifiedByUser="false">
  76. <CommandText>INSERT INTO [dbo].[applic] ([number], [kodsubj]) VALUES (@number, @kodsubj)</CommandText>
  77. <Parameters>
  78. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="number" SourceColumnNullMapping="false" SourceVersion="Current" />
  79. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kodsubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kodsubj" SourceColumnNullMapping="false" SourceVersion="Current" />
  80. </Parameters>
  81. </DbCommand>
  82. </InsertCommand>
  83. <SelectCommand>
  84. <DbCommand CommandType="Text" ModifiedByUser="false">
  85. <CommandText>SELECT number, kodsubj FROM dbo.applic</CommandText>
  86. <Parameters />
  87. </DbCommand>
  88. </SelectCommand>
  89. </DbSource>
  90. </MainSource>
  91. <Mappings>
  92. <Mapping SourceColumn="number" DataSetColumn="number" />
  93. <Mapping SourceColumn="kodsubj" DataSetColumn="kodsubj" />
  94. </Mappings>
  95. <Sources />
  96. </TableAdapter>
  97. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="billinTableAdapter" GeneratorDataComponentClassName="billinTableAdapter" Name="billin" UserDataComponentName="billinTableAdapter">
  98. <MainSource>
  99. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.billin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  100. <InsertCommand>
  101. <DbCommand CommandType="Text" ModifiedByUser="false">
  102. <CommandText>INSERT INTO [dbo].[billin] ([emailpayer], [emailrecipient], [SUM], [CURRENCY], [BILLINGDATE], [COMMENT]) VALUES (@emailpayer, @emailrecipient, @SUM, @CURRENCY, @BILLINGDATE, @COMMENT)</CommandText>
  103. <Parameters>
  104. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@emailpayer" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="emailpayer" SourceColumnNullMapping="false" SourceVersion="Current" />
  105. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@emailrecipient" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="emailrecipient" SourceColumnNullMapping="false" SourceVersion="Current" />
  106. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SUM" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SUM" SourceColumnNullMapping="false" SourceVersion="Current" />
  107. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CURRENCY" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CURRENCY" SourceColumnNullMapping="false" SourceVersion="Current" />
  108. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@BILLINGDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BILLINGDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
  109. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@COMMENT" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="COMMENT" SourceColumnNullMapping="false" SourceVersion="Current" />
  110. </Parameters>
  111. </DbCommand>
  112. </InsertCommand>
  113. <SelectCommand>
  114. <DbCommand CommandType="Text" ModifiedByUser="false">
  115. <CommandText>SELECT emailpayer, emailrecipient, SUM, CURRENCY, BILLINGDATE, COMMENT FROM dbo.billin</CommandText>
  116. <Parameters />
  117. </DbCommand>
  118. </SelectCommand>
  119. </DbSource>
  120. </MainSource>
  121. <Mappings>
  122. <Mapping SourceColumn="emailpayer" DataSetColumn="emailpayer" />
  123. <Mapping SourceColumn="emailrecipient" DataSetColumn="emailrecipient" />
  124. <Mapping SourceColumn="SUM" DataSetColumn="SUM" />
  125. <Mapping SourceColumn="CURRENCY" DataSetColumn="CURRENCY" />
  126. <Mapping SourceColumn="BILLINGDATE" DataSetColumn="BILLINGDATE" />
  127. <Mapping SourceColumn="COMMENT" DataSetColumn="COMMENT" />
  128. </Mappings>
  129. <Sources />
  130. </TableAdapter>
  131. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="billingTableAdapter" GeneratorDataComponentClassName="billingTableAdapter" Name="billing" UserDataComponentName="billingTableAdapter">
  132. <MainSource>
  133. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.billing" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  134. <InsertCommand>
  135. <DbCommand CommandType="Text" ModifiedByUser="false">
  136. <CommandText>INSERT INTO [dbo].[billing] ([emailpayer], [emailrecipient], [SUM], [CURRENCY], [BILLINGDATE], [COMMENT]) VALUES (@emailpayer, @emailrecipient, @SUM, @CURRENCY, @BILLINGDATE, @COMMENT)</CommandText>
  137. <Parameters>
  138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@emailpayer" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="emailpayer" SourceColumnNullMapping="false" SourceVersion="Current" />
  139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@emailrecipient" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="emailrecipient" SourceColumnNullMapping="false" SourceVersion="Current" />
  140. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SUM" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="SUM" SourceColumnNullMapping="false" SourceVersion="Current" />
  141. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CURRENCY" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CURRENCY" SourceColumnNullMapping="false" SourceVersion="Current" />
  142. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@BILLINGDATE" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="BILLINGDATE" SourceColumnNullMapping="false" SourceVersion="Current" />
  143. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@COMMENT" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="COMMENT" SourceColumnNullMapping="false" SourceVersion="Current" />
  144. </Parameters>
  145. </DbCommand>
  146. </InsertCommand>
  147. <SelectCommand>
  148. <DbCommand CommandType="Text" ModifiedByUser="false">
  149. <CommandText>SELECT emailpayer, emailrecipient, SUM, CURRENCY, BILLINGDATE, COMMENT FROM dbo.billing</CommandText>
  150. <Parameters />
  151. </DbCommand>
  152. </SelectCommand>
  153. </DbSource>
  154. </MainSource>
  155. <Mappings>
  156. <Mapping SourceColumn="emailpayer" DataSetColumn="emailpayer" />
  157. <Mapping SourceColumn="emailrecipient" DataSetColumn="emailrecipient" />
  158. <Mapping SourceColumn="SUM" DataSetColumn="SUM" />
  159. <Mapping SourceColumn="CURRENCY" DataSetColumn="CURRENCY" />
  160. <Mapping SourceColumn="BILLINGDATE" DataSetColumn="BILLINGDATE" />
  161. <Mapping SourceColumn="COMMENT" DataSetColumn="COMMENT" />
  162. </Mappings>
  163. <Sources />
  164. </TableAdapter>
  165. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CountriesTableAdapter" GeneratorDataComponentClassName="CountriesTableAdapter" Name="Countries" UserDataComponentName="CountriesTableAdapter">
  166. <MainSource>
  167. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Countries" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  168. <DeleteCommand>
  169. <DbCommand CommandType="Text" ModifiedByUser="false">
  170. <CommandText>DELETE FROM [dbo].[Countries] WHERE (([Name] = @Original_Name) AND ([capital] = @Original_capital) AND ([square] = @Original_square) AND ([population] = @Original_population) AND ([contin] = @Original_contin))</CommandText>
  171. <Parameters>
  172. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  173. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Original" />
  174. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_square" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="square" SourceColumnNullMapping="false" SourceVersion="Original" />
  175. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_population" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="population" SourceColumnNullMapping="false" SourceVersion="Original" />
  176. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_contin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contin" SourceColumnNullMapping="false" SourceVersion="Original" />
  177. </Parameters>
  178. </DbCommand>
  179. </DeleteCommand>
  180. <InsertCommand>
  181. <DbCommand CommandType="Text" ModifiedByUser="false">
  182. <CommandText>INSERT INTO [dbo].[Countries] ([Name], [capital], [square], [population], [contin]) VALUES (@Name, @capital, @square, @population, @contin);
  183. SELECT Name, capital, square, population, contin FROM Countries WHERE (Name = @Name)</CommandText>
  184. <Parameters>
  185. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  186. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Current" />
  187. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@square" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="square" SourceColumnNullMapping="false" SourceVersion="Current" />
  188. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@population" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="population" SourceColumnNullMapping="false" SourceVersion="Current" />
  189. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@contin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contin" SourceColumnNullMapping="false" SourceVersion="Current" />
  190. </Parameters>
  191. </DbCommand>
  192. </InsertCommand>
  193. <SelectCommand>
  194. <DbCommand CommandType="Text" ModifiedByUser="false">
  195. <CommandText>SELECT Name, capital, square, population, contin FROM dbo.Countries</CommandText>
  196. <Parameters />
  197. </DbCommand>
  198. </SelectCommand>
  199. <UpdateCommand>
  200. <DbCommand CommandType="Text" ModifiedByUser="false">
  201. <CommandText>UPDATE [dbo].[Countries] SET [Name] = @Name, [capital] = @capital, [square] = @square, [population] = @population, [contin] = @contin WHERE (([Name] = @Original_Name) AND ([capital] = @Original_capital) AND ([square] = @Original_square) AND ([population] = @Original_population) AND ([contin] = @Original_contin));
  202. SELECT Name, capital, square, population, contin FROM Countries WHERE (Name = @Name)</CommandText>
  203. <Parameters>
  204. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  205. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Current" />
  206. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@square" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="square" SourceColumnNullMapping="false" SourceVersion="Current" />
  207. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@population" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="population" SourceColumnNullMapping="false" SourceVersion="Current" />
  208. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@contin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contin" SourceColumnNullMapping="false" SourceVersion="Current" />
  209. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  210. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Original" />
  211. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_square" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="square" SourceColumnNullMapping="false" SourceVersion="Original" />
  212. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_population" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="population" SourceColumnNullMapping="false" SourceVersion="Original" />
  213. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_contin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="contin" SourceColumnNullMapping="false" SourceVersion="Original" />
  214. </Parameters>
  215. </DbCommand>
  216. </UpdateCommand>
  217. </DbSource>
  218. </MainSource>
  219. <Mappings>
  220. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  221. <Mapping SourceColumn="capital" DataSetColumn="capital" />
  222. <Mapping SourceColumn="square" DataSetColumn="square" />
  223. <Mapping SourceColumn="population" DataSetColumn="population" />
  224. <Mapping SourceColumn="contin" DataSetColumn="contin" />
  225. </Mappings>
  226. <Sources />
  227. </TableAdapter>
  228. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="Countries2TableAdapter" GeneratorDataComponentClassName="Countries2TableAdapter" Name="Countries2" UserDataComponentName="Countries2TableAdapter">
  229. <MainSource>
  230. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Countries2" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  231. <DeleteCommand>
  232. <DbCommand CommandType="Text" ModifiedByUser="false">
  233. <CommandText>DELETE FROM [dbo].[Countries2] WHERE (([country] = @Original_country) AND ([capital] = @Original_capital) AND ([cont] = @Original_cont) AND ([popul] = @Original_popul) AND ([sqr] = @Original_sqr) AND ([typeOfgov] = @Original_typeOfgov))</CommandText>
  234. <Parameters>
  235. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="country" SourceColumnNullMapping="false" SourceVersion="Original" />
  236. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Original" />
  237. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cont" SourceColumnNullMapping="false" SourceVersion="Original" />
  238. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_popul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="popul" SourceColumnNullMapping="false" SourceVersion="Original" />
  239. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sqr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sqr" SourceColumnNullMapping="false" SourceVersion="Original" />
  240. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typeOfgov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typeOfgov" SourceColumnNullMapping="false" SourceVersion="Original" />
  241. </Parameters>
  242. </DbCommand>
  243. </DeleteCommand>
  244. <InsertCommand>
  245. <DbCommand CommandType="Text" ModifiedByUser="false">
  246. <CommandText>INSERT INTO [dbo].[Countries2] ([country], [capital], [cont], [popul], [sqr], [typeOfgov]) VALUES (@country, @capital, @cont, @popul, @sqr, @typeOfgov);
  247. SELECT country, capital, cont, popul, sqr, typeOfgov FROM Countries2 WHERE (country = @country)</CommandText>
  248. <Parameters>
  249. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="country" SourceColumnNullMapping="false" SourceVersion="Current" />
  250. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Current" />
  251. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cont" SourceColumnNullMapping="false" SourceVersion="Current" />
  252. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@popul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="popul" SourceColumnNullMapping="false" SourceVersion="Current" />
  253. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sqr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sqr" SourceColumnNullMapping="false" SourceVersion="Current" />
  254. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typeOfgov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typeOfgov" SourceColumnNullMapping="false" SourceVersion="Current" />
  255. </Parameters>
  256. </DbCommand>
  257. </InsertCommand>
  258. <SelectCommand>
  259. <DbCommand CommandType="Text" ModifiedByUser="false">
  260. <CommandText>SELECT country, capital, cont, popul, sqr, typeOfgov FROM dbo.Countries2</CommandText>
  261. <Parameters />
  262. </DbCommand>
  263. </SelectCommand>
  264. <UpdateCommand>
  265. <DbCommand CommandType="Text" ModifiedByUser="false">
  266. <CommandText>UPDATE [dbo].[Countries2] SET [country] = @country, [capital] = @capital, [cont] = @cont, [popul] = @popul, [sqr] = @sqr, [typeOfgov] = @typeOfgov WHERE (([country] = @Original_country) AND ([capital] = @Original_capital) AND ([cont] = @Original_cont) AND ([popul] = @Original_popul) AND ([sqr] = @Original_sqr) AND ([typeOfgov] = @Original_typeOfgov));
  267. SELECT country, capital, cont, popul, sqr, typeOfgov FROM Countries2 WHERE (country = @country)</CommandText>
  268. <Parameters>
  269. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="country" SourceColumnNullMapping="false" SourceVersion="Current" />
  270. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Current" />
  271. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@cont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cont" SourceColumnNullMapping="false" SourceVersion="Current" />
  272. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@popul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="popul" SourceColumnNullMapping="false" SourceVersion="Current" />
  273. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@sqr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sqr" SourceColumnNullMapping="false" SourceVersion="Current" />
  274. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@typeOfgov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typeOfgov" SourceColumnNullMapping="false" SourceVersion="Current" />
  275. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_country" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="country" SourceColumnNullMapping="false" SourceVersion="Original" />
  276. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_capital" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="capital" SourceColumnNullMapping="false" SourceVersion="Original" />
  277. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_cont" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="cont" SourceColumnNullMapping="false" SourceVersion="Original" />
  278. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_popul" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="popul" SourceColumnNullMapping="false" SourceVersion="Original" />
  279. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_sqr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="sqr" SourceColumnNullMapping="false" SourceVersion="Original" />
  280. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_typeOfgov" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="typeOfgov" SourceColumnNullMapping="false" SourceVersion="Original" />
  281. </Parameters>
  282. </DbCommand>
  283. </UpdateCommand>
  284. </DbSource>
  285. </MainSource>
  286. <Mappings>
  287. <Mapping SourceColumn="country" DataSetColumn="country" />
  288. <Mapping SourceColumn="capital" DataSetColumn="capital" />
  289. <Mapping SourceColumn="cont" DataSetColumn="cont" />
  290. <Mapping SourceColumn="popul" DataSetColumn="popul" />
  291. <Mapping SourceColumn="sqr" DataSetColumn="sqr" />
  292. <Mapping SourceColumn="typeOfgov" DataSetColumn="typeOfgov" />
  293. </Mappings>
  294. <Sources />
  295. </TableAdapter>
  296. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="departOwnerTableAdapter" GeneratorDataComponentClassName="departOwnerTableAdapter" Name="departOwner" UserDataComponentName="departOwnerTableAdapter">
  297. <MainSource>
  298. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.departOwner" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  299. <InsertCommand>
  300. <DbCommand CommandType="Text" ModifiedByUser="false">
  301. <CommandText>INSERT INTO [dbo].[departOwner] ([Tabnumber], [exp]) VALUES (@Tabnumber, @exp)</CommandText>
  302. <Parameters>
  303. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Tabnumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Tabnumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  304. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@exp" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="exp" SourceColumnNullMapping="false" SourceVersion="Current" />
  305. </Parameters>
  306. </DbCommand>
  307. </InsertCommand>
  308. <SelectCommand>
  309. <DbCommand CommandType="Text" ModifiedByUser="false">
  310. <CommandText>SELECT Tabnumber, exp FROM dbo.departOwner</CommandText>
  311. <Parameters />
  312. </DbCommand>
  313. </SelectCommand>
  314. </DbSource>
  315. </MainSource>
  316. <Mappings>
  317. <Mapping SourceColumn="Tabnumber" DataSetColumn="Tabnumber" />
  318. <Mapping SourceColumn="exp" DataSetColumn="exp" />
  319. </Mappings>
  320. <Sources />
  321. </TableAdapter>
  322. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DepartsTableAdapter" GeneratorDataComponentClassName="DepartsTableAdapter" Name="Departs" UserDataComponentName="DepartsTableAdapter">
  323. <MainSource>
  324. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Departs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  325. <DeleteCommand>
  326. <DbCommand CommandType="Text" ModifiedByUser="false">
  327. <CommandText>DELETE FROM [dbo].[Departs] WHERE (([abbrDep] = @Original_abbrDep) AND ([FacultyAbbr] = @Original_FacultyAbbr))</CommandText>
  328. <Parameters>
  329. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbrDep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrDep" SourceColumnNullMapping="false" SourceVersion="Original" />
  330. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FacultyAbbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FacultyAbbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  331. </Parameters>
  332. </DbCommand>
  333. </DeleteCommand>
  334. <InsertCommand>
  335. <DbCommand CommandType="Text" ModifiedByUser="false">
  336. <CommandText>INSERT INTO [dbo].[Departs] ([abbrDep], [Name], [FacultyAbbr]) VALUES (@abbrDep, @Name, @FacultyAbbr);
  337. SELECT abbrDep, Name, FacultyAbbr FROM Departs WHERE (abbrDep = @abbrDep)</CommandText>
  338. <Parameters>
  339. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbrDep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrDep" SourceColumnNullMapping="false" SourceVersion="Current" />
  340. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  341. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FacultyAbbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FacultyAbbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  342. </Parameters>
  343. </DbCommand>
  344. </InsertCommand>
  345. <SelectCommand>
  346. <DbCommand CommandType="Text" ModifiedByUser="false">
  347. <CommandText>SELECT abbrDep, Name, FacultyAbbr FROM dbo.Departs</CommandText>
  348. <Parameters />
  349. </DbCommand>
  350. </SelectCommand>
  351. <UpdateCommand>
  352. <DbCommand CommandType="Text" ModifiedByUser="false">
  353. <CommandText>UPDATE [dbo].[Departs] SET [abbrDep] = @abbrDep, [Name] = @Name, [FacultyAbbr] = @FacultyAbbr WHERE (([abbrDep] = @Original_abbrDep) AND ([FacultyAbbr] = @Original_FacultyAbbr));
  354. SELECT abbrDep, Name, FacultyAbbr FROM Departs WHERE (abbrDep = @abbrDep)</CommandText>
  355. <Parameters>
  356. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbrDep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrDep" SourceColumnNullMapping="false" SourceVersion="Current" />
  357. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  358. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FacultyAbbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FacultyAbbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  359. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbrDep" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrDep" SourceColumnNullMapping="false" SourceVersion="Original" />
  360. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FacultyAbbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FacultyAbbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  361. </Parameters>
  362. </DbCommand>
  363. </UpdateCommand>
  364. </DbSource>
  365. </MainSource>
  366. <Mappings>
  367. <Mapping SourceColumn="abbrDep" DataSetColumn="abbrDep" />
  368. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  369. <Mapping SourceColumn="FacultyAbbr" DataSetColumn="FacultyAbbr" />
  370. </Mappings>
  371. <Sources />
  372. </TableAdapter>
  373. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="engineerTableAdapter" GeneratorDataComponentClassName="engineerTableAdapter" Name="engineer" UserDataComponentName="engineerTableAdapter">
  374. <MainSource>
  375. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.engineer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  376. <DeleteCommand>
  377. <DbCommand CommandType="Text" ModifiedByUser="false">
  378. <CommandText>DELETE FROM [dbo].[engineer] WHERE (([tabnumber] = @Original_tabnumber) AND ([spec] = @Original_spec))</CommandText>
  379. <Parameters>
  380. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabnumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabnumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  381. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="spec" SourceColumnNullMapping="false" SourceVersion="Original" />
  382. </Parameters>
  383. </DbCommand>
  384. </DeleteCommand>
  385. <InsertCommand>
  386. <DbCommand CommandType="Text" ModifiedByUser="false">
  387. <CommandText>INSERT INTO [dbo].[engineer] ([tabnumber], [spec]) VALUES (@tabnumber, @spec);
  388. SELECT tabnumber, spec FROM engineer WHERE (tabnumber = @tabnumber)</CommandText>
  389. <Parameters>
  390. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabnumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabnumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  391. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="spec" SourceColumnNullMapping="false" SourceVersion="Current" />
  392. </Parameters>
  393. </DbCommand>
  394. </InsertCommand>
  395. <SelectCommand>
  396. <DbCommand CommandType="Text" ModifiedByUser="false">
  397. <CommandText>SELECT tabnumber, spec FROM dbo.engineer</CommandText>
  398. <Parameters />
  399. </DbCommand>
  400. </SelectCommand>
  401. <UpdateCommand>
  402. <DbCommand CommandType="Text" ModifiedByUser="false">
  403. <CommandText>UPDATE [dbo].[engineer] SET [tabnumber] = @tabnumber, [spec] = @spec WHERE (([tabnumber] = @Original_tabnumber) AND ([spec] = @Original_spec));
  404. SELECT tabnumber, spec FROM engineer WHERE (tabnumber = @tabnumber)</CommandText>
  405. <Parameters>
  406. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabnumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabnumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  407. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="spec" SourceColumnNullMapping="false" SourceVersion="Current" />
  408. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabnumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabnumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  409. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_spec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="spec" SourceColumnNullMapping="false" SourceVersion="Original" />
  410. </Parameters>
  411. </DbCommand>
  412. </UpdateCommand>
  413. </DbSource>
  414. </MainSource>
  415. <Mappings>
  416. <Mapping SourceColumn="tabnumber" DataSetColumn="tabnumber" />
  417. <Mapping SourceColumn="spec" DataSetColumn="spec" />
  418. </Mappings>
  419. <Sources />
  420. </TableAdapter>
  421. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ExamsTableAdapter" GeneratorDataComponentClassName="ExamsTableAdapter" Name="Exams" UserDataComponentName="ExamsTableAdapter">
  422. <MainSource>
  423. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Exams" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  424. <DeleteCommand>
  425. <DbCommand CommandType="Text" ModifiedByUser="false">
  426. <CommandText>DELETE FROM [dbo].[Exams] WHERE (([idExam] = @Original_idExam) AND ([date] = @Original_date) AND ([kodSubj] = @Original_kodSubj) AND ([regNumber] = @Original_regNumber) AND ([tabNumber] = @Original_tabNumber) AND ([Classroom] = @Original_Classroom) AND ([mark] = @Original_mark))</CommandText>
  427. <Parameters>
  428. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idExam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idExam" SourceColumnNullMapping="false" SourceVersion="Original" />
  429. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
  430. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kodSubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kodSubj" SourceColumnNullMapping="false" SourceVersion="Original" />
  431. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_regNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="regNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  432. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  433. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Classroom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Classroom" SourceColumnNullMapping="false" SourceVersion="Original" />
  434. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mark" SourceColumnNullMapping="false" SourceVersion="Original" />
  435. </Parameters>
  436. </DbCommand>
  437. </DeleteCommand>
  438. <InsertCommand>
  439. <DbCommand CommandType="Text" ModifiedByUser="false">
  440. <CommandText>INSERT INTO [dbo].[Exams] ([idExam], [date], [kodSubj], [regNumber], [tabNumber], [Classroom], [mark]) VALUES (@idExam, @date, @kodSubj, @regNumber, @tabNumber, @Classroom, @mark);
  441. SELECT idExam, date, kodSubj, regNumber, tabNumber, Classroom, mark FROM Exams WHERE (idExam = @idExam)</CommandText>
  442. <Parameters>
  443. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idExam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idExam" SourceColumnNullMapping="false" SourceVersion="Current" />
  444. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
  445. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kodSubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kodSubj" SourceColumnNullMapping="false" SourceVersion="Current" />
  446. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@regNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="regNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  447. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  448. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Classroom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Classroom" SourceColumnNullMapping="false" SourceVersion="Current" />
  449. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mark" SourceColumnNullMapping="false" SourceVersion="Current" />
  450. </Parameters>
  451. </DbCommand>
  452. </InsertCommand>
  453. <SelectCommand>
  454. <DbCommand CommandType="Text" ModifiedByUser="false">
  455. <CommandText>SELECT idExam, date, kodSubj, regNumber, tabNumber, Classroom, mark FROM dbo.Exams</CommandText>
  456. <Parameters />
  457. </DbCommand>
  458. </SelectCommand>
  459. <UpdateCommand>
  460. <DbCommand CommandType="Text" ModifiedByUser="false">
  461. <CommandText>UPDATE [dbo].[Exams] SET [idExam] = @idExam, [date] = @date, [kodSubj] = @kodSubj, [regNumber] = @regNumber, [tabNumber] = @tabNumber, [Classroom] = @Classroom, [mark] = @mark WHERE (([idExam] = @Original_idExam) AND ([date] = @Original_date) AND ([kodSubj] = @Original_kodSubj) AND ([regNumber] = @Original_regNumber) AND ([tabNumber] = @Original_tabNumber) AND ([Classroom] = @Original_Classroom) AND ([mark] = @Original_mark));
  462. SELECT idExam, date, kodSubj, regNumber, tabNumber, Classroom, mark FROM Exams WHERE (idExam = @idExam)</CommandText>
  463. <Parameters>
  464. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idExam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idExam" SourceColumnNullMapping="false" SourceVersion="Current" />
  465. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
  466. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kodSubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kodSubj" SourceColumnNullMapping="false" SourceVersion="Current" />
  467. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@regNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="regNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  468. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  469. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Classroom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Classroom" SourceColumnNullMapping="false" SourceVersion="Current" />
  470. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@mark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mark" SourceColumnNullMapping="false" SourceVersion="Current" />
  471. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idExam" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idExam" SourceColumnNullMapping="false" SourceVersion="Original" />
  472. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Original" />
  473. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kodSubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kodSubj" SourceColumnNullMapping="false" SourceVersion="Original" />
  474. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_regNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="regNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  475. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  476. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Classroom" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Classroom" SourceColumnNullMapping="false" SourceVersion="Original" />
  477. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_mark" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="mark" SourceColumnNullMapping="false" SourceVersion="Original" />
  478. </Parameters>
  479. </DbCommand>
  480. </UpdateCommand>
  481. </DbSource>
  482. </MainSource>
  483. <Mappings>
  484. <Mapping SourceColumn="idExam" DataSetColumn="idExam" />
  485. <Mapping SourceColumn="date" DataSetColumn="date" />
  486. <Mapping SourceColumn="kodSubj" DataSetColumn="kodSubj" />
  487. <Mapping SourceColumn="regNumber" DataSetColumn="regNumber" />
  488. <Mapping SourceColumn="tabNumber" DataSetColumn="tabNumber" />
  489. <Mapping SourceColumn="Classroom" DataSetColumn="Classroom" />
  490. <Mapping SourceColumn="mark" DataSetColumn="mark" />
  491. </Mappings>
  492. <Sources />
  493. </TableAdapter>
  494. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FucultyTableAdapter" GeneratorDataComponentClassName="FucultyTableAdapter" Name="Fuculty" UserDataComponentName="FucultyTableAdapter">
  495. <MainSource>
  496. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Fuculty" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  497. <DeleteCommand>
  498. <DbCommand CommandType="Text" ModifiedByUser="false">
  499. <CommandText>DELETE FROM [dbo].[Fuculty] WHERE (([abbrF] = @Original_abbrF) AND ([Name] = @Original_Name))</CommandText>
  500. <Parameters>
  501. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbrF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrF" SourceColumnNullMapping="false" SourceVersion="Original" />
  502. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  503. </Parameters>
  504. </DbCommand>
  505. </DeleteCommand>
  506. <InsertCommand>
  507. <DbCommand CommandType="Text" ModifiedByUser="false">
  508. <CommandText>INSERT INTO [dbo].[Fuculty] ([abbrF], [Name]) VALUES (@abbrF, @Name);
  509. SELECT abbrF, Name FROM Fuculty WHERE (abbrF = @abbrF)</CommandText>
  510. <Parameters>
  511. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbrF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrF" SourceColumnNullMapping="false" SourceVersion="Current" />
  512. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  513. </Parameters>
  514. </DbCommand>
  515. </InsertCommand>
  516. <SelectCommand>
  517. <DbCommand CommandType="Text" ModifiedByUser="false">
  518. <CommandText>SELECT abbrF, Name FROM dbo.Fuculty</CommandText>
  519. <Parameters />
  520. </DbCommand>
  521. </SelectCommand>
  522. <UpdateCommand>
  523. <DbCommand CommandType="Text" ModifiedByUser="false">
  524. <CommandText>UPDATE [dbo].[Fuculty] SET [abbrF] = @abbrF, [Name] = @Name WHERE (([abbrF] = @Original_abbrF) AND ([Name] = @Original_Name));
  525. SELECT abbrF, Name FROM Fuculty WHERE (abbrF = @abbrF)</CommandText>
  526. <Parameters>
  527. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbrF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrF" SourceColumnNullMapping="false" SourceVersion="Current" />
  528. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  529. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbrF" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbrF" SourceColumnNullMapping="false" SourceVersion="Original" />
  530. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  531. </Parameters>
  532. </DbCommand>
  533. </UpdateCommand>
  534. </DbSource>
  535. </MainSource>
  536. <Mappings>
  537. <Mapping SourceColumn="abbrF" DataSetColumn="abbrF" />
  538. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  539. </Mappings>
  540. <Sources />
  541. </TableAdapter>
  542. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="KindOfgovTableAdapter" GeneratorDataComponentClassName="KindOfgovTableAdapter" Name="KindOfgov" UserDataComponentName="KindOfgovTableAdapter">
  543. <MainSource>
  544. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.KindOfgov" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  545. <DeleteCommand>
  546. <DbCommand CommandType="Text" ModifiedByUser="false">
  547. <CommandText>DELETE FROM [dbo].[KindOfgov] WHERE (([kod] = @Original_kod) AND ([kind] = @Original_kind))</CommandText>
  548. <Parameters>
  549. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
  550. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kind" SourceColumnNullMapping="false" SourceVersion="Original" />
  551. </Parameters>
  552. </DbCommand>
  553. </DeleteCommand>
  554. <InsertCommand>
  555. <DbCommand CommandType="Text" ModifiedByUser="false">
  556. <CommandText>INSERT INTO [dbo].[KindOfgov] ([kod], [kind]) VALUES (@kod, @kind);
  557. SELECT kod, kind FROM KindOfgov WHERE (kod = @kod)</CommandText>
  558. <Parameters>
  559. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
  560. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kind" SourceColumnNullMapping="false" SourceVersion="Current" />
  561. </Parameters>
  562. </DbCommand>
  563. </InsertCommand>
  564. <SelectCommand>
  565. <DbCommand CommandType="Text" ModifiedByUser="false">
  566. <CommandText>SELECT kod, kind FROM dbo.KindOfgov</CommandText>
  567. <Parameters />
  568. </DbCommand>
  569. </SelectCommand>
  570. <UpdateCommand>
  571. <DbCommand CommandType="Text" ModifiedByUser="false">
  572. <CommandText>UPDATE [dbo].[KindOfgov] SET [kod] = @kod, [kind] = @kind WHERE (([kod] = @Original_kod) AND ([kind] = @Original_kind));
  573. SELECT kod, kind FROM KindOfgov WHERE (kod = @kod)</CommandText>
  574. <Parameters>
  575. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Current" />
  576. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kind" SourceColumnNullMapping="false" SourceVersion="Current" />
  577. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_kod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="kod" SourceColumnNullMapping="false" SourceVersion="Original" />
  578. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_kind" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="kind" SourceColumnNullMapping="false" SourceVersion="Original" />
  579. </Parameters>
  580. </DbCommand>
  581. </UpdateCommand>
  582. </DbSource>
  583. </MainSource>
  584. <Mappings>
  585. <Mapping SourceColumn="kod" DataSetColumn="kod" />
  586. <Mapping SourceColumn="kind" DataSetColumn="kind" />
  587. </Mappings>
  588. <Sources />
  589. </TableAdapter>
  590. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderTableAdapter" GeneratorDataComponentClassName="OrderTableAdapter" Name="Order" UserDataComponentName="OrderTableAdapter">
  591. <MainSource>
  592. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.[Order]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  593. <DeleteCommand>
  594. <DbCommand CommandType="Text" ModifiedByUser="false">
  595. <CommandText>DELETE FROM [dbo].[Order] WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate))</CommandText>
  596. <Parameters>
  597. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  598. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  599. </Parameters>
  600. </DbCommand>
  601. </DeleteCommand>
  602. <InsertCommand>
  603. <DbCommand CommandType="Text" ModifiedByUser="false">
  604. <CommandText>INSERT INTO [dbo].[Order] ([OrderStatus], [OrderDeliveryDate], [OrderPickupPoint]) VALUES (@OrderStatus, @OrderDeliveryDate, @OrderPickupPoint);
  605. SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM [Order] WHERE (OrderID = SCOPE_IDENTITY())</CommandText>
  606. <Parameters>
  607. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  608. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  609. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
  610. </Parameters>
  611. </DbCommand>
  612. </InsertCommand>
  613. <SelectCommand>
  614. <DbCommand CommandType="Text" ModifiedByUser="false">
  615. <CommandText>SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM dbo.[Order]</CommandText>
  616. <Parameters />
  617. </DbCommand>
  618. </SelectCommand>
  619. <UpdateCommand>
  620. <DbCommand CommandType="Text" ModifiedByUser="false">
  621. <CommandText>UPDATE [dbo].[Order] SET [OrderStatus] = @OrderStatus, [OrderDeliveryDate] = @OrderDeliveryDate, [OrderPickupPoint] = @OrderPickupPoint WHERE (([OrderID] = @Original_OrderID) AND ([OrderDeliveryDate] = @Original_OrderDeliveryDate));
  622. SELECT OrderID, OrderStatus, OrderDeliveryDate, OrderPickupPoint FROM [Order] WHERE (OrderID = @OrderID)</CommandText>
  623. <Parameters>
  624. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  625. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Current" />
  626. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@OrderPickupPoint" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="OrderPickupPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
  627. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  628. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_OrderDeliveryDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="OrderDeliveryDate" SourceColumnNullMapping="false" SourceVersion="Original" />
  629. <Parameter AllowDbNull="false" AutogeneratedName="OrderID" ColumnName="OrderID" DataSourceName="master.dbo.[Order]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  630. </Parameters>
  631. </DbCommand>
  632. </UpdateCommand>
  633. </DbSource>
  634. </MainSource>
  635. <Mappings>
  636. <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
  637. <Mapping SourceColumn="OrderStatus" DataSetColumn="OrderStatus" />
  638. <Mapping SourceColumn="OrderDeliveryDate" DataSetColumn="OrderDeliveryDate" />
  639. <Mapping SourceColumn="OrderPickupPoint" DataSetColumn="OrderPickupPoint" />
  640. </Mappings>
  641. <Sources />
  642. </TableAdapter>
  643. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OrderProductTableAdapter" GeneratorDataComponentClassName="OrderProductTableAdapter" Name="OrderProduct" UserDataComponentName="OrderProductTableAdapter">
  644. <MainSource>
  645. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.OrderProduct" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  646. <DeleteCommand>
  647. <DbCommand CommandType="Text" ModifiedByUser="false">
  648. <CommandText>DELETE FROM [dbo].[OrderProduct] WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber))</CommandText>
  649. <Parameters>
  650. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  651. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  652. </Parameters>
  653. </DbCommand>
  654. </DeleteCommand>
  655. <InsertCommand>
  656. <DbCommand CommandType="Text" ModifiedByUser="false">
  657. <CommandText>INSERT INTO [dbo].[OrderProduct] ([OrderID], [ProductArticleNumber]) VALUES (@OrderID, @ProductArticleNumber);
  658. SELECT OrderID, ProductArticleNumber FROM OrderProduct WHERE (OrderID = @OrderID) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
  659. <Parameters>
  660. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  661. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  662. </Parameters>
  663. </DbCommand>
  664. </InsertCommand>
  665. <SelectCommand>
  666. <DbCommand CommandType="Text" ModifiedByUser="false">
  667. <CommandText>SELECT OrderID, ProductArticleNumber FROM dbo.OrderProduct</CommandText>
  668. <Parameters />
  669. </DbCommand>
  670. </SelectCommand>
  671. <UpdateCommand>
  672. <DbCommand CommandType="Text" ModifiedByUser="false">
  673. <CommandText>UPDATE [dbo].[OrderProduct] SET [OrderID] = @OrderID, [ProductArticleNumber] = @ProductArticleNumber WHERE (([OrderID] = @Original_OrderID) AND ([ProductArticleNumber] = @Original_ProductArticleNumber));
  674. SELECT OrderID, ProductArticleNumber FROM OrderProduct WHERE (OrderID = @OrderID) AND (ProductArticleNumber = @ProductArticleNumber)</CommandText>
  675. <Parameters>
  676. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Current" />
  677. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  678. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OrderID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OrderID" SourceColumnNullMapping="false" SourceVersion="Original" />
  679. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  680. </Parameters>
  681. </DbCommand>
  682. </UpdateCommand>
  683. </DbSource>
  684. </MainSource>
  685. <Mappings>
  686. <Mapping SourceColumn="OrderID" DataSetColumn="OrderID" />
  687. <Mapping SourceColumn="ProductArticleNumber" DataSetColumn="ProductArticleNumber" />
  688. </Mappings>
  689. <Sources />
  690. </TableAdapter>
  691. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
  692. <MainSource>
  693. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  694. <DeleteCommand>
  695. <DbCommand CommandType="Text" ModifiedByUser="false">
  696. <CommandText>DELETE FROM [dbo].[Product] WHERE (([ProductArticleNumber] = @Original_ProductArticleNumber) AND ([ProductCost] = @Original_ProductCost) AND ((@IsNull_ProductDiscountAmount = 1 AND [ProductDiscountAmount] IS NULL) OR ([ProductDiscountAmount] = @Original_ProductDiscountAmount)) AND ([ProductQuantityInStock] = @Original_ProductQuantityInStock))</CommandText>
  697. <Parameters>
  698. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  699. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  700. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductDiscountAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
  701. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
  702. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
  703. </Parameters>
  704. </DbCommand>
  705. </DeleteCommand>
  706. <InsertCommand>
  707. <DbCommand CommandType="Text" ModifiedByUser="false">
  708. <CommandText>INSERT INTO [dbo].[Product] ([ProductArticleNumber], [ProductName], [ProductDescription], [ProductCategory], [ProductPhoto], [ProductManufacturer], [ProductCost], [ProductDiscountAmount], [ProductQuantityInStock], [ProductStatus]) VALUES (@ProductArticleNumber, @ProductName, @ProductDescription, @ProductCategory, @ProductPhoto, @ProductManufacturer, @ProductCost, @ProductDiscountAmount, @ProductQuantityInStock, @ProductStatus);
  709. SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductQuantityInStock, ProductStatus FROM Product WHERE (ProductArticleNumber = @ProductArticleNumber)</CommandText>
  710. <Parameters>
  711. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  712. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
  713. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
  714. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCategory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
  715. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductPhoto" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="ProductPhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
  716. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductManufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductManufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  717. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  718. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
  719. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
  720. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  721. </Parameters>
  722. </DbCommand>
  723. </InsertCommand>
  724. <SelectCommand>
  725. <DbCommand CommandType="Text" ModifiedByUser="false">
  726. <CommandText>SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductQuantityInStock, ProductStatus FROM dbo.Product</CommandText>
  727. <Parameters />
  728. </DbCommand>
  729. </SelectCommand>
  730. <UpdateCommand>
  731. <DbCommand CommandType="Text" ModifiedByUser="false">
  732. <CommandText>UPDATE [dbo].[Product] SET [ProductArticleNumber] = @ProductArticleNumber, [ProductName] = @ProductName, [ProductDescription] = @ProductDescription, [ProductCategory] = @ProductCategory, [ProductPhoto] = @ProductPhoto, [ProductManufacturer] = @ProductManufacturer, [ProductCost] = @ProductCost, [ProductDiscountAmount] = @ProductDiscountAmount, [ProductQuantityInStock] = @ProductQuantityInStock, [ProductStatus] = @ProductStatus WHERE (([ProductArticleNumber] = @Original_ProductArticleNumber) AND ([ProductCost] = @Original_ProductCost) AND ((@IsNull_ProductDiscountAmount = 1 AND [ProductDiscountAmount] IS NULL) OR ([ProductDiscountAmount] = @Original_ProductDiscountAmount)) AND ([ProductQuantityInStock] = @Original_ProductQuantityInStock));
  733. SELECT ProductArticleNumber, ProductName, ProductDescription, ProductCategory, ProductPhoto, ProductManufacturer, ProductCost, ProductDiscountAmount, ProductQuantityInStock, ProductStatus FROM Product WHERE (ProductArticleNumber = @ProductArticleNumber)</CommandText>
  734. <Parameters>
  735. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  736. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductName" SourceColumnNullMapping="false" SourceVersion="Current" />
  737. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
  738. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductCategory" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductCategory" SourceColumnNullMapping="false" SourceVersion="Current" />
  739. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@ProductPhoto" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="ProductPhoto" SourceColumnNullMapping="false" SourceVersion="Current" />
  740. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductManufacturer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductManufacturer" SourceColumnNullMapping="false" SourceVersion="Current" />
  741. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Current" />
  742. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Current" />
  743. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Current" />
  744. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProductStatus" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
  745. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProductArticleNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProductArticleNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  746. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ProductCost" Precision="19" ProviderType="Decimal" Scale="4" Size="0" SourceColumn="ProductCost" SourceColumnNullMapping="false" SourceVersion="Original" />
  747. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ProductDiscountAmount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="true" SourceVersion="Original" />
  748. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ProductDiscountAmount" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ProductDiscountAmount" SourceColumnNullMapping="false" SourceVersion="Original" />
  749. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductQuantityInStock" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductQuantityInStock" SourceColumnNullMapping="false" SourceVersion="Original" />
  750. </Parameters>
  751. </DbCommand>
  752. </UpdateCommand>
  753. </DbSource>
  754. </MainSource>
  755. <Mappings>
  756. <Mapping SourceColumn="ProductArticleNumber" DataSetColumn="ProductArticleNumber" />
  757. <Mapping SourceColumn="ProductName" DataSetColumn="ProductName" />
  758. <Mapping SourceColumn="ProductDescription" DataSetColumn="ProductDescription" />
  759. <Mapping SourceColumn="ProductCategory" DataSetColumn="ProductCategory" />
  760. <Mapping SourceColumn="ProductPhoto" DataSetColumn="ProductPhoto" />
  761. <Mapping SourceColumn="ProductManufacturer" DataSetColumn="ProductManufacturer" />
  762. <Mapping SourceColumn="ProductCost" DataSetColumn="ProductCost" />
  763. <Mapping SourceColumn="ProductDiscountAmount" DataSetColumn="ProductDiscountAmount" />
  764. <Mapping SourceColumn="ProductQuantityInStock" DataSetColumn="ProductQuantityInStock" />
  765. <Mapping SourceColumn="ProductStatus" DataSetColumn="ProductStatus" />
  766. </Mappings>
  767. <Sources />
  768. </TableAdapter>
  769. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RoleTableAdapter" GeneratorDataComponentClassName="RoleTableAdapter" Name="Role" UserDataComponentName="RoleTableAdapter">
  770. <MainSource>
  771. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Role" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  772. <DeleteCommand>
  773. <DbCommand CommandType="Text" ModifiedByUser="false">
  774. <CommandText>DELETE FROM [dbo].[Role] WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName))</CommandText>
  775. <Parameters>
  776. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
  777. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
  778. </Parameters>
  779. </DbCommand>
  780. </DeleteCommand>
  781. <InsertCommand>
  782. <DbCommand CommandType="Text" ModifiedByUser="false">
  783. <CommandText>INSERT INTO [dbo].[Role] ([RoleName]) VALUES (@RoleName);
  784. SELECT RoleID, RoleName FROM Role WHERE (RoleID = SCOPE_IDENTITY())</CommandText>
  785. <Parameters>
  786. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
  787. </Parameters>
  788. </DbCommand>
  789. </InsertCommand>
  790. <SelectCommand>
  791. <DbCommand CommandType="Text" ModifiedByUser="false">
  792. <CommandText>SELECT RoleID, RoleName FROM dbo.Role</CommandText>
  793. <Parameters />
  794. </DbCommand>
  795. </SelectCommand>
  796. <UpdateCommand>
  797. <DbCommand CommandType="Text" ModifiedByUser="false">
  798. <CommandText>UPDATE [dbo].[Role] SET [RoleName] = @RoleName WHERE (([RoleID] = @Original_RoleID) AND ([RoleName] = @Original_RoleName));
  799. SELECT RoleID, RoleName FROM Role WHERE (RoleID = @RoleID)</CommandText>
  800. <Parameters>
  801. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Current" />
  802. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_RoleID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Original" />
  803. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RoleName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RoleName" SourceColumnNullMapping="false" SourceVersion="Original" />
  804. <Parameter AllowDbNull="false" AutogeneratedName="RoleID" ColumnName="RoleID" DataSourceName="master.dbo.Role" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@RoleID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="RoleID" SourceColumnNullMapping="false" SourceVersion="Current" />
  805. </Parameters>
  806. </DbCommand>
  807. </UpdateCommand>
  808. </DbSource>
  809. </MainSource>
  810. <Mappings>
  811. <Mapping SourceColumn="RoleID" DataSetColumn="RoleID" />
  812. <Mapping SourceColumn="RoleName" DataSetColumn="RoleName" />
  813. </Mappings>
  814. <Sources />
  815. </TableAdapter>
  816. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SpecsTableAdapter" GeneratorDataComponentClassName="SpecsTableAdapter" Name="Specs" UserDataComponentName="SpecsTableAdapter">
  817. <MainSource>
  818. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Specs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  819. <DeleteCommand>
  820. <DbCommand CommandType="Text" ModifiedByUser="false">
  821. <CommandText>DELETE FROM [dbo].[Specs] WHERE (([NumberOfSpec] = @Original_NumberOfSpec) AND ([abbr] = @Original_abbr))</CommandText>
  822. <Parameters>
  823. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NumberOfSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumberOfSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
  824. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  825. </Parameters>
  826. </DbCommand>
  827. </DeleteCommand>
  828. <InsertCommand>
  829. <DbCommand CommandType="Text" ModifiedByUser="false">
  830. <CommandText>INSERT INTO [dbo].[Specs] ([NumberOfSpec], [Direction], [abbr]) VALUES (@NumberOfSpec, @Direction, @abbr);
  831. SELECT NumberOfSpec, Direction, abbr FROM Specs WHERE (NumberOfSpec = @NumberOfSpec)</CommandText>
  832. <Parameters>
  833. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NumberOfSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumberOfSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
  834. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Direction" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Direction" SourceColumnNullMapping="false" SourceVersion="Current" />
  835. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  836. </Parameters>
  837. </DbCommand>
  838. </InsertCommand>
  839. <SelectCommand>
  840. <DbCommand CommandType="Text" ModifiedByUser="false">
  841. <CommandText>SELECT NumberOfSpec, Direction, abbr FROM dbo.Specs</CommandText>
  842. <Parameters />
  843. </DbCommand>
  844. </SelectCommand>
  845. <UpdateCommand>
  846. <DbCommand CommandType="Text" ModifiedByUser="false">
  847. <CommandText>UPDATE [dbo].[Specs] SET [NumberOfSpec] = @NumberOfSpec, [Direction] = @Direction, [abbr] = @abbr WHERE (([NumberOfSpec] = @Original_NumberOfSpec) AND ([abbr] = @Original_abbr));
  848. SELECT NumberOfSpec, Direction, abbr FROM Specs WHERE (NumberOfSpec = @NumberOfSpec)</CommandText>
  849. <Parameters>
  850. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NumberOfSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumberOfSpec" SourceColumnNullMapping="false" SourceVersion="Current" />
  851. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Direction" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Direction" SourceColumnNullMapping="false" SourceVersion="Current" />
  852. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  853. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NumberOfSpec" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NumberOfSpec" SourceColumnNullMapping="false" SourceVersion="Original" />
  854. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  855. </Parameters>
  856. </DbCommand>
  857. </UpdateCommand>
  858. </DbSource>
  859. </MainSource>
  860. <Mappings>
  861. <Mapping SourceColumn="NumberOfSpec" DataSetColumn="NumberOfSpec" />
  862. <Mapping SourceColumn="Direction" DataSetColumn="Direction" />
  863. <Mapping SourceColumn="abbr" DataSetColumn="abbr" />
  864. </Mappings>
  865. <Sources />
  866. </TableAdapter>
  867. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StudentsTableAdapter" GeneratorDataComponentClassName="StudentsTableAdapter" Name="Students" UserDataComponentName="StudentsTableAdapter">
  868. <MainSource>
  869. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Students" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  870. <DeleteCommand>
  871. <DbCommand CommandType="Text" ModifiedByUser="false">
  872. <CommandText>DELETE FROM [dbo].[Students] WHERE (([idStud] = @Original_idStud) AND ([number] = @Original_number))</CommandText>
  873. <Parameters>
  874. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idStud" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idStud" SourceColumnNullMapping="false" SourceVersion="Original" />
  875. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="number" SourceColumnNullMapping="false" SourceVersion="Original" />
  876. </Parameters>
  877. </DbCommand>
  878. </DeleteCommand>
  879. <InsertCommand>
  880. <DbCommand CommandType="Text" ModifiedByUser="false">
  881. <CommandText>INSERT INTO [dbo].[Students] ([idStud], [number], [FIO]) VALUES (@idStud, @number, @FIO);
  882. SELECT idStud, number, FIO FROM Students WHERE (idStud = @idStud)</CommandText>
  883. <Parameters>
  884. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idStud" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idStud" SourceColumnNullMapping="false" SourceVersion="Current" />
  885. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="number" SourceColumnNullMapping="false" SourceVersion="Current" />
  886. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  887. </Parameters>
  888. </DbCommand>
  889. </InsertCommand>
  890. <SelectCommand>
  891. <DbCommand CommandType="Text" ModifiedByUser="false">
  892. <CommandText>SELECT idStud, number, FIO FROM dbo.Students</CommandText>
  893. <Parameters />
  894. </DbCommand>
  895. </SelectCommand>
  896. <UpdateCommand>
  897. <DbCommand CommandType="Text" ModifiedByUser="false">
  898. <CommandText>UPDATE [dbo].[Students] SET [idStud] = @idStud, [number] = @number, [FIO] = @FIO WHERE (([idStud] = @Original_idStud) AND ([number] = @Original_number));
  899. SELECT idStud, number, FIO FROM Students WHERE (idStud = @idStud)</CommandText>
  900. <Parameters>
  901. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idStud" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idStud" SourceColumnNullMapping="false" SourceVersion="Current" />
  902. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="number" SourceColumnNullMapping="false" SourceVersion="Current" />
  903. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  904. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idStud" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idStud" SourceColumnNullMapping="false" SourceVersion="Original" />
  905. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_number" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="number" SourceColumnNullMapping="false" SourceVersion="Original" />
  906. </Parameters>
  907. </DbCommand>
  908. </UpdateCommand>
  909. </DbSource>
  910. </MainSource>
  911. <Mappings>
  912. <Mapping SourceColumn="idStud" DataSetColumn="idStud" />
  913. <Mapping SourceColumn="number" DataSetColumn="number" />
  914. <Mapping SourceColumn="FIO" DataSetColumn="FIO" />
  915. </Mappings>
  916. <Sources />
  917. </TableAdapter>
  918. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="students2TableAdapter" GeneratorDataComponentClassName="students2TableAdapter" Name="students2" UserDataComponentName="students2TableAdapter">
  919. <MainSource>
  920. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.students2" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  921. <DeleteCommand>
  922. <DbCommand CommandType="Text" ModifiedByUser="false">
  923. <CommandText>DELETE FROM [dbo].[students2] WHERE (([ID] = @Original_ID) AND ([FIO] = @Original_FIO) AND ([subj] = @Original_subj) AND ([School] = @Original_School) AND ([Points] = @Original_Points))</CommandText>
  924. <Parameters>
  925. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  926. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Original" />
  927. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_subj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="subj" SourceColumnNullMapping="false" SourceVersion="Original" />
  928. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_School" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="School" SourceColumnNullMapping="false" SourceVersion="Original" />
  929. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Points" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Points" SourceColumnNullMapping="false" SourceVersion="Original" />
  930. </Parameters>
  931. </DbCommand>
  932. </DeleteCommand>
  933. <InsertCommand>
  934. <DbCommand CommandType="Text" ModifiedByUser="false">
  935. <CommandText>INSERT INTO [dbo].[students2] ([ID], [FIO], [subj], [School], [Points]) VALUES (@ID, @FIO, @subj, @School, @Points);
  936. SELECT ID, FIO, subj, School, Points FROM students2 WHERE (ID = @ID)</CommandText>
  937. <Parameters>
  938. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  939. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  940. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@subj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="subj" SourceColumnNullMapping="false" SourceVersion="Current" />
  941. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@School" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="School" SourceColumnNullMapping="false" SourceVersion="Current" />
  942. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Points" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Points" SourceColumnNullMapping="false" SourceVersion="Current" />
  943. </Parameters>
  944. </DbCommand>
  945. </InsertCommand>
  946. <SelectCommand>
  947. <DbCommand CommandType="Text" ModifiedByUser="false">
  948. <CommandText>SELECT ID, FIO, subj, School, Points FROM dbo.students2</CommandText>
  949. <Parameters />
  950. </DbCommand>
  951. </SelectCommand>
  952. <UpdateCommand>
  953. <DbCommand CommandType="Text" ModifiedByUser="false">
  954. <CommandText>UPDATE [dbo].[students2] SET [ID] = @ID, [FIO] = @FIO, [subj] = @subj, [School] = @School, [Points] = @Points WHERE (([ID] = @Original_ID) AND ([FIO] = @Original_FIO) AND ([subj] = @Original_subj) AND ([School] = @Original_School) AND ([Points] = @Original_Points));
  955. SELECT ID, FIO, subj, School, Points FROM students2 WHERE (ID = @ID)</CommandText>
  956. <Parameters>
  957. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  958. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Current" />
  959. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@subj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="subj" SourceColumnNullMapping="false" SourceVersion="Current" />
  960. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@School" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="School" SourceColumnNullMapping="false" SourceVersion="Current" />
  961. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Points" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Points" SourceColumnNullMapping="false" SourceVersion="Current" />
  962. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  963. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FIO" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FIO" SourceColumnNullMapping="false" SourceVersion="Original" />
  964. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_subj" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="subj" SourceColumnNullMapping="false" SourceVersion="Original" />
  965. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_School" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="School" SourceColumnNullMapping="false" SourceVersion="Original" />
  966. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Points" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Points" SourceColumnNullMapping="false" SourceVersion="Original" />
  967. </Parameters>
  968. </DbCommand>
  969. </UpdateCommand>
  970. </DbSource>
  971. </MainSource>
  972. <Mappings>
  973. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  974. <Mapping SourceColumn="FIO" DataSetColumn="FIO" />
  975. <Mapping SourceColumn="subj" DataSetColumn="subj" />
  976. <Mapping SourceColumn="School" DataSetColumn="School" />
  977. <Mapping SourceColumn="Points" DataSetColumn="Points" />
  978. </Mappings>
  979. <Sources />
  980. </TableAdapter>
  981. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SubjsTableAdapter" GeneratorDataComponentClassName="SubjsTableAdapter" Name="Subjs" UserDataComponentName="SubjsTableAdapter">
  982. <MainSource>
  983. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Subjs" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  984. <DeleteCommand>
  985. <DbCommand CommandType="Text" ModifiedByUser="false">
  986. <CommandText>DELETE FROM [dbo].[Subjs] WHERE (([idsubj] = @Original_idsubj) AND ([hours] = @Original_hours) AND ([Name] = @Original_Name) AND ([abbr] = @Original_abbr))</CommandText>
  987. <Parameters>
  988. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idsubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsubj" SourceColumnNullMapping="false" SourceVersion="Original" />
  989. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hours" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hours" SourceColumnNullMapping="false" SourceVersion="Original" />
  990. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  991. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  992. </Parameters>
  993. </DbCommand>
  994. </DeleteCommand>
  995. <InsertCommand>
  996. <DbCommand CommandType="Text" ModifiedByUser="false">
  997. <CommandText>INSERT INTO [dbo].[Subjs] ([idsubj], [hours], [Name], [abbr]) VALUES (@idsubj, @hours, @Name, @abbr);
  998. SELECT idsubj, hours, Name, abbr FROM Subjs WHERE (idsubj = @idsubj)</CommandText>
  999. <Parameters>
  1000. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idsubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsubj" SourceColumnNullMapping="false" SourceVersion="Current" />
  1001. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hours" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hours" SourceColumnNullMapping="false" SourceVersion="Current" />
  1002. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1003. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  1004. </Parameters>
  1005. </DbCommand>
  1006. </InsertCommand>
  1007. <SelectCommand>
  1008. <DbCommand CommandType="Text" ModifiedByUser="false">
  1009. <CommandText>SELECT idsubj, hours, Name, abbr FROM dbo.Subjs</CommandText>
  1010. <Parameters />
  1011. </DbCommand>
  1012. </SelectCommand>
  1013. <UpdateCommand>
  1014. <DbCommand CommandType="Text" ModifiedByUser="false">
  1015. <CommandText>UPDATE [dbo].[Subjs] SET [idsubj] = @idsubj, [hours] = @hours, [Name] = @Name, [abbr] = @abbr WHERE (([idsubj] = @Original_idsubj) AND ([hours] = @Original_hours) AND ([Name] = @Original_Name) AND ([abbr] = @Original_abbr));
  1016. SELECT idsubj, hours, Name, abbr FROM Subjs WHERE (idsubj = @idsubj)</CommandText>
  1017. <Parameters>
  1018. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idsubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsubj" SourceColumnNullMapping="false" SourceVersion="Current" />
  1019. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@hours" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hours" SourceColumnNullMapping="false" SourceVersion="Current" />
  1020. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1021. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Current" />
  1022. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idsubj" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idsubj" SourceColumnNullMapping="false" SourceVersion="Original" />
  1023. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_hours" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="hours" SourceColumnNullMapping="false" SourceVersion="Original" />
  1024. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1025. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_abbr" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="abbr" SourceColumnNullMapping="false" SourceVersion="Original" />
  1026. </Parameters>
  1027. </DbCommand>
  1028. </UpdateCommand>
  1029. </DbSource>
  1030. </MainSource>
  1031. <Mappings>
  1032. <Mapping SourceColumn="idsubj" DataSetColumn="idsubj" />
  1033. <Mapping SourceColumn="hours" DataSetColumn="hours" />
  1034. <Mapping SourceColumn="Name" DataSetColumn="Name" />
  1035. <Mapping SourceColumn="abbr" DataSetColumn="abbr" />
  1036. </Mappings>
  1037. <Sources />
  1038. </TableAdapter>
  1039. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_categoriesTableAdapter" GeneratorDataComponentClassName="tbl_categoriesTableAdapter" Name="tbl_categories" UserDataComponentName="tbl_categoriesTableAdapter">
  1040. <MainSource>
  1041. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_categories" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1042. <DeleteCommand>
  1043. <DbCommand CommandType="Text" ModifiedByUser="false">
  1044. <CommandText>DELETE FROM [dbo].[tbl_categories] WHERE (([id] = @Original_id) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1045. <Parameters>
  1046. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1047. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
  1048. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
  1049. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1050. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1051. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1052. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1053. </Parameters>
  1054. </DbCommand>
  1055. </DeleteCommand>
  1056. <InsertCommand>
  1057. <DbCommand CommandType="Text" ModifiedByUser="false">
  1058. <CommandText>INSERT INTO [dbo].[tbl_categories] ([title], [description], [added_date], [added_by]) VALUES (@title, @description, @added_date, @added_by);
  1059. SELECT id, title, description, added_date, added_by FROM tbl_categories WHERE (id = SCOPE_IDENTITY())</CommandText>
  1060. <Parameters>
  1061. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
  1062. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1063. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1064. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1065. </Parameters>
  1066. </DbCommand>
  1067. </InsertCommand>
  1068. <SelectCommand>
  1069. <DbCommand CommandType="Text" ModifiedByUser="false">
  1070. <CommandText>SELECT id, title, description, added_date, added_by FROM dbo.tbl_categories</CommandText>
  1071. <Parameters />
  1072. </DbCommand>
  1073. </SelectCommand>
  1074. <UpdateCommand>
  1075. <DbCommand CommandType="Text" ModifiedByUser="false">
  1076. <CommandText>UPDATE [dbo].[tbl_categories] SET [title] = @title, [description] = @description, [added_date] = @added_date, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1077. SELECT id, title, description, added_date, added_by FROM tbl_categories WHERE (id = @id)</CommandText>
  1078. <Parameters>
  1079. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Current" />
  1080. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1081. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1082. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1083. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1084. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="true" SourceVersion="Original" />
  1085. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="title" SourceColumnNullMapping="false" SourceVersion="Original" />
  1086. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1087. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1088. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1089. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1090. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_categories" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1091. </Parameters>
  1092. </DbCommand>
  1093. </UpdateCommand>
  1094. </DbSource>
  1095. </MainSource>
  1096. <Mappings>
  1097. <Mapping SourceColumn="id" DataSetColumn="id" />
  1098. <Mapping SourceColumn="title" DataSetColumn="title" />
  1099. <Mapping SourceColumn="description" DataSetColumn="description" />
  1100. <Mapping SourceColumn="added_date" DataSetColumn="added_date" />
  1101. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1102. </Mappings>
  1103. <Sources />
  1104. </TableAdapter>
  1105. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_dea_custTableAdapter" GeneratorDataComponentClassName="tbl_dea_custTableAdapter" Name="tbl_dea_cust" UserDataComponentName="tbl_dea_custTableAdapter">
  1106. <MainSource>
  1107. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_dea_cust" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1108. <DeleteCommand>
  1109. <DbCommand CommandType="Text" ModifiedByUser="false">
  1110. <CommandText>DELETE FROM [dbo].[tbl_dea_cust] WHERE (([id] = @Original_id) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_contact = 1 AND [contact] IS NULL) OR ([contact] = @Original_contact)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1111. <Parameters>
  1112. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1113. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1114. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1115. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1116. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1117. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
  1118. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
  1119. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_contact" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="true" SourceVersion="Original" />
  1120. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Original" />
  1121. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1122. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1123. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1124. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1125. </Parameters>
  1126. </DbCommand>
  1127. </DeleteCommand>
  1128. <InsertCommand>
  1129. <DbCommand CommandType="Text" ModifiedByUser="false">
  1130. <CommandText>INSERT INTO [dbo].[tbl_dea_cust] ([type], [name], [email], [contact], [address], [added_date], [added_by]) VALUES (@type, @name, @email, @contact, @address, @added_date, @added_by);
  1131. SELECT id, type, name, email, contact, address, added_date, added_by FROM tbl_dea_cust WHERE (id = SCOPE_IDENTITY())</CommandText>
  1132. <Parameters>
  1133. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1134. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1135. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
  1136. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Current" />
  1137. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@address" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
  1138. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1139. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1140. </Parameters>
  1141. </DbCommand>
  1142. </InsertCommand>
  1143. <SelectCommand>
  1144. <DbCommand CommandType="Text" ModifiedByUser="false">
  1145. <CommandText>SELECT id, type, name, email, contact, address, added_date, added_by FROM dbo.tbl_dea_cust</CommandText>
  1146. <Parameters />
  1147. </DbCommand>
  1148. </SelectCommand>
  1149. <UpdateCommand>
  1150. <DbCommand CommandType="Text" ModifiedByUser="false">
  1151. <CommandText>UPDATE [dbo].[tbl_dea_cust] SET [type] = @type, [name] = @name, [email] = @email, [contact] = @contact, [address] = @address, [added_date] = @added_date, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_contact = 1 AND [contact] IS NULL) OR ([contact] = @Original_contact)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1152. SELECT id, type, name, email, contact, address, added_date, added_by FROM tbl_dea_cust WHERE (id = @id)</CommandText>
  1153. <Parameters>
  1154. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1155. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1156. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
  1157. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Current" />
  1158. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@address" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
  1159. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1160. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1161. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1162. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1163. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1164. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1165. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1166. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
  1167. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
  1168. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_contact" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="true" SourceVersion="Original" />
  1169. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Original" />
  1170. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1171. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1172. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1173. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1174. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_dea_cust" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1175. </Parameters>
  1176. </DbCommand>
  1177. </UpdateCommand>
  1178. </DbSource>
  1179. </MainSource>
  1180. <Mappings>
  1181. <Mapping SourceColumn="id" DataSetColumn="id" />
  1182. <Mapping SourceColumn="type" DataSetColumn="type" />
  1183. <Mapping SourceColumn="name" DataSetColumn="name" />
  1184. <Mapping SourceColumn="email" DataSetColumn="email" />
  1185. <Mapping SourceColumn="contact" DataSetColumn="contact" />
  1186. <Mapping SourceColumn="address" DataSetColumn="address" />
  1187. <Mapping SourceColumn="added_date" DataSetColumn="added_date" />
  1188. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1189. </Mappings>
  1190. <Sources />
  1191. </TableAdapter>
  1192. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_productsTableAdapter" GeneratorDataComponentClassName="tbl_productsTableAdapter" Name="tbl_products" UserDataComponentName="tbl_productsTableAdapter">
  1193. <MainSource>
  1194. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_products" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1195. <DeleteCommand>
  1196. <DbCommand CommandType="Text" ModifiedByUser="false">
  1197. <CommandText>DELETE FROM [dbo].[tbl_products] WHERE (([id] = @Original_id) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_rate = 1 AND [rate] IS NULL) OR ([rate] = @Original_rate)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1198. <Parameters>
  1199. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1200. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1201. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1202. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="true" SourceVersion="Original" />
  1203. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Original" />
  1204. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rate" SourceColumnNullMapping="true" SourceVersion="Original" />
  1205. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Original" />
  1206. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
  1207. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
  1208. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1209. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1210. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1211. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1212. </Parameters>
  1213. </DbCommand>
  1214. </DeleteCommand>
  1215. <InsertCommand>
  1216. <DbCommand CommandType="Text" ModifiedByUser="false">
  1217. <CommandText>INSERT INTO [dbo].[tbl_products] ([name], [category], [description], [rate], [qty], [added_date], [added_by]) VALUES (@name, @category, @description, @rate, @qty, @added_date, @added_by);
  1218. SELECT id, name, category, description, rate, qty, added_date, added_by FROM tbl_products WHERE (id = SCOPE_IDENTITY())</CommandText>
  1219. <Parameters>
  1220. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1221. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" />
  1222. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1223. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Current" />
  1224. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
  1225. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1226. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1227. </Parameters>
  1228. </DbCommand>
  1229. </InsertCommand>
  1230. <SelectCommand>
  1231. <DbCommand CommandType="Text" ModifiedByUser="false">
  1232. <CommandText>SELECT id, name, category, description, rate, qty, added_date, added_by FROM dbo.tbl_products</CommandText>
  1233. <Parameters />
  1234. </DbCommand>
  1235. </SelectCommand>
  1236. <UpdateCommand>
  1237. <DbCommand CommandType="Text" ModifiedByUser="false">
  1238. <CommandText>UPDATE [dbo].[tbl_products] SET [name] = @name, [category] = @category, [description] = @description, [rate] = @rate, [qty] = @qty, [added_date] = @added_date, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name] = @Original_name)) AND ((@IsNull_category = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_rate = 1 AND [rate] IS NULL) OR ([rate] = @Original_rate)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1239. SELECT id, name, category, description, rate, qty, added_date, added_by FROM tbl_products WHERE (id = @id)</CommandText>
  1240. <Parameters>
  1241. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1242. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Current" />
  1243. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1244. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Current" />
  1245. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
  1246. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1247. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1248. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1249. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1250. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1251. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_category" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="true" SourceVersion="Original" />
  1252. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_category" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="category" SourceColumnNullMapping="false" SourceVersion="Original" />
  1253. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rate" SourceColumnNullMapping="true" SourceVersion="Original" />
  1254. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Original" />
  1255. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
  1256. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
  1257. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1258. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1259. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1260. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1261. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_products" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1262. </Parameters>
  1263. </DbCommand>
  1264. </UpdateCommand>
  1265. </DbSource>
  1266. </MainSource>
  1267. <Mappings>
  1268. <Mapping SourceColumn="id" DataSetColumn="id" />
  1269. <Mapping SourceColumn="name" DataSetColumn="name" />
  1270. <Mapping SourceColumn="category" DataSetColumn="category" />
  1271. <Mapping SourceColumn="description" DataSetColumn="description" />
  1272. <Mapping SourceColumn="rate" DataSetColumn="rate" />
  1273. <Mapping SourceColumn="qty" DataSetColumn="qty" />
  1274. <Mapping SourceColumn="added_date" DataSetColumn="added_date" />
  1275. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1276. </Mappings>
  1277. <Sources />
  1278. </TableAdapter>
  1279. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_transaction_detailTableAdapter" GeneratorDataComponentClassName="tbl_transaction_detailTableAdapter" Name="tbl_transaction_detail" UserDataComponentName="tbl_transaction_detailTableAdapter">
  1280. <MainSource>
  1281. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_transaction_detail" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1282. <DeleteCommand>
  1283. <DbCommand CommandType="Text" ModifiedByUser="false">
  1284. <CommandText>DELETE FROM [dbo].[tbl_transaction_detail] WHERE (([id] = @Original_id) AND ((@IsNull_product_id = 1 AND [product_id] IS NULL) OR ([product_id] = @Original_product_id)) AND ((@IsNull_rate = 1 AND [rate] IS NULL) OR ([rate] = @Original_rate)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)) AND ((@IsNull_dea_cust_id = 1 AND [dea_cust_id] IS NULL) OR ([dea_cust_id] = @Original_dea_cust_id)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1285. <Parameters>
  1286. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1287. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1288. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1289. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rate" SourceColumnNullMapping="true" SourceVersion="Original" />
  1290. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Original" />
  1291. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
  1292. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
  1293. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
  1294. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
  1295. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1296. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1297. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1298. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1299. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1300. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1301. </Parameters>
  1302. </DbCommand>
  1303. </DeleteCommand>
  1304. <InsertCommand>
  1305. <DbCommand CommandType="Text" ModifiedByUser="false">
  1306. <CommandText>INSERT INTO [dbo].[tbl_transaction_detail] ([product_id], [rate], [qty], [total], [dea_cust_id], [added_date], [added_by]) VALUES (@product_id, @rate, @qty, @total, @dea_cust_id, @added_date, @added_by);
  1307. SELECT id, product_id, rate, qty, total, dea_cust_id, added_date, added_by FROM tbl_transaction_detail WHERE (id = SCOPE_IDENTITY())</CommandText>
  1308. <Parameters>
  1309. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1310. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Current" />
  1311. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
  1312. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
  1313. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1314. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1315. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1316. </Parameters>
  1317. </DbCommand>
  1318. </InsertCommand>
  1319. <SelectCommand>
  1320. <DbCommand CommandType="Text" ModifiedByUser="false">
  1321. <CommandText>SELECT id, product_id, rate, qty, total, dea_cust_id, added_date, added_by FROM dbo.tbl_transaction_detail</CommandText>
  1322. <Parameters />
  1323. </DbCommand>
  1324. </SelectCommand>
  1325. <UpdateCommand>
  1326. <DbCommand CommandType="Text" ModifiedByUser="false">
  1327. <CommandText>UPDATE [dbo].[tbl_transaction_detail] SET [product_id] = @product_id, [rate] = @rate, [qty] = @qty, [total] = @total, [dea_cust_id] = @dea_cust_id, [added_date] = @added_date, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_product_id = 1 AND [product_id] IS NULL) OR ([product_id] = @Original_product_id)) AND ((@IsNull_rate = 1 AND [rate] IS NULL) OR ([rate] = @Original_rate)) AND ((@IsNull_qty = 1 AND [qty] IS NULL) OR ([qty] = @Original_qty)) AND ((@IsNull_total = 1 AND [total] IS NULL) OR ([total] = @Original_total)) AND ((@IsNull_dea_cust_id = 1 AND [dea_cust_id] IS NULL) OR ([dea_cust_id] = @Original_dea_cust_id)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1328. SELECT id, product_id, rate, qty, total, dea_cust_id, added_date, added_by FROM tbl_transaction_detail WHERE (id = @id)</CommandText>
  1329. <Parameters>
  1330. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1331. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Current" />
  1332. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Current" />
  1333. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@total" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Current" />
  1334. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1335. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1336. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1337. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1338. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1339. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_product_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="product_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1340. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_rate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rate" SourceColumnNullMapping="true" SourceVersion="Original" />
  1341. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_rate" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="rate" SourceColumnNullMapping="false" SourceVersion="Original" />
  1342. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_qty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="qty" SourceColumnNullMapping="true" SourceVersion="Original" />
  1343. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_qty" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="qty" SourceColumnNullMapping="false" SourceVersion="Original" />
  1344. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_total" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="total" SourceColumnNullMapping="true" SourceVersion="Original" />
  1345. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_total" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="total" SourceColumnNullMapping="false" SourceVersion="Original" />
  1346. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1347. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1348. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1349. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1350. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1351. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1352. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_transaction_detail" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1353. </Parameters>
  1354. </DbCommand>
  1355. </UpdateCommand>
  1356. </DbSource>
  1357. </MainSource>
  1358. <Mappings>
  1359. <Mapping SourceColumn="id" DataSetColumn="id" />
  1360. <Mapping SourceColumn="product_id" DataSetColumn="product_id" />
  1361. <Mapping SourceColumn="rate" DataSetColumn="rate" />
  1362. <Mapping SourceColumn="qty" DataSetColumn="qty" />
  1363. <Mapping SourceColumn="total" DataSetColumn="total" />
  1364. <Mapping SourceColumn="dea_cust_id" DataSetColumn="dea_cust_id" />
  1365. <Mapping SourceColumn="added_date" DataSetColumn="added_date" />
  1366. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1367. </Mappings>
  1368. <Sources />
  1369. </TableAdapter>
  1370. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_transactionsTableAdapter" GeneratorDataComponentClassName="tbl_transactionsTableAdapter" Name="tbl_transactions" UserDataComponentName="tbl_transactionsTableAdapter">
  1371. <MainSource>
  1372. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_transactions" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1373. <DeleteCommand>
  1374. <DbCommand CommandType="Text" ModifiedByUser="false">
  1375. <CommandText>DELETE FROM [dbo].[tbl_transactions] WHERE (([id] = @Original_id) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_dea_cust_id = 1 AND [dea_cust_id] IS NULL) OR ([dea_cust_id] = @Original_dea_cust_id)) AND ((@IsNull_grandTotal = 1 AND [grandTotal] IS NULL) OR ([grandTotal] = @Original_grandTotal)) AND ((@IsNull_transaction_date = 1 AND [transaction_date] IS NULL) OR ([transaction_date] = @Original_transaction_date)) AND ((@IsNull_tax = 1 AND [tax] IS NULL) OR ([tax] = @Original_tax)) AND ((@IsNull_discount = 1 AND [discount] IS NULL) OR ([discount] = @Original_discount)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1376. <Parameters>
  1377. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1378. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1379. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1380. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1381. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1382. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grandTotal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
  1383. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_grandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
  1384. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_transaction_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1385. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_transaction_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1386. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tax" SourceColumnNullMapping="true" SourceVersion="Original" />
  1387. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="tax" SourceColumnNullMapping="false" SourceVersion="Original" />
  1388. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_discount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="discount" SourceColumnNullMapping="true" SourceVersion="Original" />
  1389. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="discount" SourceColumnNullMapping="false" SourceVersion="Original" />
  1390. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1391. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1392. </Parameters>
  1393. </DbCommand>
  1394. </DeleteCommand>
  1395. <InsertCommand>
  1396. <DbCommand CommandType="Text" ModifiedByUser="false">
  1397. <CommandText>INSERT INTO [dbo].[tbl_transactions] ([type], [dea_cust_id], [grandTotal], [transaction_date], [tax], [discount], [added_by]) VALUES (@type, @dea_cust_id, @grandTotal, @transaction_date, @tax, @discount, @added_by);
  1398. SELECT id, type, dea_cust_id, grandTotal, transaction_date, tax, discount, added_by FROM tbl_transactions WHERE (id = SCOPE_IDENTITY())</CommandText>
  1399. <Parameters>
  1400. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1401. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1402. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@grandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
  1403. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@transaction_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1404. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="tax" SourceColumnNullMapping="false" SourceVersion="Current" />
  1405. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="discount" SourceColumnNullMapping="false" SourceVersion="Current" />
  1406. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1407. </Parameters>
  1408. </DbCommand>
  1409. </InsertCommand>
  1410. <SelectCommand>
  1411. <DbCommand CommandType="Text" ModifiedByUser="false">
  1412. <CommandText>SELECT id, type, dea_cust_id, grandTotal, transaction_date, tax, discount, added_by FROM dbo.tbl_transactions</CommandText>
  1413. <Parameters />
  1414. </DbCommand>
  1415. </SelectCommand>
  1416. <UpdateCommand>
  1417. <DbCommand CommandType="Text" ModifiedByUser="false">
  1418. <CommandText>UPDATE [dbo].[tbl_transactions] SET [type] = @type, [dea_cust_id] = @dea_cust_id, [grandTotal] = @grandTotal, [transaction_date] = @transaction_date, [tax] = @tax, [discount] = @discount, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_type = 1 AND [type] IS NULL) OR ([type] = @Original_type)) AND ((@IsNull_dea_cust_id = 1 AND [dea_cust_id] IS NULL) OR ([dea_cust_id] = @Original_dea_cust_id)) AND ((@IsNull_grandTotal = 1 AND [grandTotal] IS NULL) OR ([grandTotal] = @Original_grandTotal)) AND ((@IsNull_transaction_date = 1 AND [transaction_date] IS NULL) OR ([transaction_date] = @Original_transaction_date)) AND ((@IsNull_tax = 1 AND [tax] IS NULL) OR ([tax] = @Original_tax)) AND ((@IsNull_discount = 1 AND [discount] IS NULL) OR ([discount] = @Original_discount)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1419. SELECT id, type, dea_cust_id, grandTotal, transaction_date, tax, discount, added_by FROM tbl_transactions WHERE (id = @id)</CommandText>
  1420. <Parameters>
  1421. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1422. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1423. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@grandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="false" SourceVersion="Current" />
  1424. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@transaction_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1425. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@tax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="tax" SourceColumnNullMapping="false" SourceVersion="Current" />
  1426. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="discount" SourceColumnNullMapping="false" SourceVersion="Current" />
  1427. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1428. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1429. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1430. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1431. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="true" SourceVersion="Original" />
  1432. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_dea_cust_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dea_cust_id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1433. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_grandTotal" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="true" SourceVersion="Original" />
  1434. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_grandTotal" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="grandTotal" SourceColumnNullMapping="false" SourceVersion="Original" />
  1435. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_transaction_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1436. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_transaction_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="transaction_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1437. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_tax" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tax" SourceColumnNullMapping="true" SourceVersion="Original" />
  1438. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_tax" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="tax" SourceColumnNullMapping="false" SourceVersion="Original" />
  1439. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_discount" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="discount" SourceColumnNullMapping="true" SourceVersion="Original" />
  1440. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_discount" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="discount" SourceColumnNullMapping="false" SourceVersion="Original" />
  1441. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1442. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1443. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_transactions" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1444. </Parameters>
  1445. </DbCommand>
  1446. </UpdateCommand>
  1447. </DbSource>
  1448. </MainSource>
  1449. <Mappings>
  1450. <Mapping SourceColumn="id" DataSetColumn="id" />
  1451. <Mapping SourceColumn="type" DataSetColumn="type" />
  1452. <Mapping SourceColumn="dea_cust_id" DataSetColumn="dea_cust_id" />
  1453. <Mapping SourceColumn="grandTotal" DataSetColumn="grandTotal" />
  1454. <Mapping SourceColumn="transaction_date" DataSetColumn="transaction_date" />
  1455. <Mapping SourceColumn="tax" DataSetColumn="tax" />
  1456. <Mapping SourceColumn="discount" DataSetColumn="discount" />
  1457. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1458. </Mappings>
  1459. <Sources />
  1460. </TableAdapter>
  1461. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tbl_usersTableAdapter" GeneratorDataComponentClassName="tbl_usersTableAdapter" Name="tbl_users" UserDataComponentName="tbl_usersTableAdapter">
  1462. <MainSource>
  1463. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.tbl_users" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1464. <DeleteCommand>
  1465. <DbCommand CommandType="Text" ModifiedByUser="false">
  1466. <CommandText>DELETE FROM [dbo].[tbl_users] WHERE (([id] = @Original_id) AND ((@IsNull_first_name = 1 AND [first_name] IS NULL) OR ([first_name] = @Original_first_name)) AND ((@IsNull_last_name = 1 AND [last_name] IS NULL) OR ([last_name] = @Original_last_name)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_contact = 1 AND [contact] IS NULL) OR ([contact] = @Original_contact)) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_user_type = 1 AND [user_type] IS NULL) OR ([user_type] = @Original_user_type)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)))</CommandText>
  1467. <Parameters>
  1468. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1469. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_first_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1470. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_first_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1471. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_last_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1472. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_last_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1473. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
  1474. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
  1475. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="true" SourceVersion="Original" />
  1476. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Original" />
  1477. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="true" SourceVersion="Original" />
  1478. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
  1479. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_contact" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="true" SourceVersion="Original" />
  1480. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Original" />
  1481. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
  1482. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
  1483. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1484. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_user_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1485. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1486. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1487. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1488. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1489. </Parameters>
  1490. </DbCommand>
  1491. </DeleteCommand>
  1492. <InsertCommand>
  1493. <DbCommand CommandType="Text" ModifiedByUser="false">
  1494. <CommandText>INSERT INTO [dbo].[tbl_users] ([first_name], [last_name], [email], [username], [password], [contact], [address], [gender], [user_type], [added_date], [added_by]) VALUES (@first_name, @last_name, @email, @username, @password, @contact, @address, @gender, @user_type, @added_date, @added_by);
  1495. SELECT id, first_name, last_name, email, username, password, contact, address, gender, user_type, added_date, added_by FROM tbl_users WHERE (id = SCOPE_IDENTITY())</CommandText>
  1496. <Parameters>
  1497. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@first_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1498. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@last_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1499. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
  1500. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Current" />
  1501. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
  1502. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Current" />
  1503. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@address" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
  1504. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
  1505. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1506. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1507. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1508. </Parameters>
  1509. </DbCommand>
  1510. </InsertCommand>
  1511. <SelectCommand>
  1512. <DbCommand CommandType="Text" ModifiedByUser="false">
  1513. <CommandText>SELECT id, first_name, last_name, email, username, password, contact, address, gender, user_type, added_date, added_by FROM dbo.tbl_users</CommandText>
  1514. <Parameters />
  1515. </DbCommand>
  1516. </SelectCommand>
  1517. <UpdateCommand>
  1518. <DbCommand CommandType="Text" ModifiedByUser="false">
  1519. <CommandText>UPDATE [dbo].[tbl_users] SET [first_name] = @first_name, [last_name] = @last_name, [email] = @email, [username] = @username, [password] = @password, [contact] = @contact, [address] = @address, [gender] = @gender, [user_type] = @user_type, [added_date] = @added_date, [added_by] = @added_by WHERE (([id] = @Original_id) AND ((@IsNull_first_name = 1 AND [first_name] IS NULL) OR ([first_name] = @Original_first_name)) AND ((@IsNull_last_name = 1 AND [last_name] IS NULL) OR ([last_name] = @Original_last_name)) AND ((@IsNull_email = 1 AND [email] IS NULL) OR ([email] = @Original_email)) AND ((@IsNull_username = 1 AND [username] IS NULL) OR ([username] = @Original_username)) AND ((@IsNull_password = 1 AND [password] IS NULL) OR ([password] = @Original_password)) AND ((@IsNull_contact = 1 AND [contact] IS NULL) OR ([contact] = @Original_contact)) AND ((@IsNull_gender = 1 AND [gender] IS NULL) OR ([gender] = @Original_gender)) AND ((@IsNull_user_type = 1 AND [user_type] IS NULL) OR ([user_type] = @Original_user_type)) AND ((@IsNull_added_date = 1 AND [added_date] IS NULL) OR ([added_date] = @Original_added_date)) AND ((@IsNull_added_by = 1 AND [added_by] IS NULL) OR ([added_by] = @Original_added_by)));
  1520. SELECT id, first_name, last_name, email, username, password, contact, address, gender, user_type, added_date, added_by FROM tbl_users WHERE (id = @id)</CommandText>
  1521. <Parameters>
  1522. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@first_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1523. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@last_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1524. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Current" />
  1525. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Current" />
  1526. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Current" />
  1527. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Current" />
  1528. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@address" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="address" SourceColumnNullMapping="false" SourceVersion="Current" />
  1529. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Current" />
  1530. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@user_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="false" SourceVersion="Current" />
  1531. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1532. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Current" />
  1533. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Original" />
  1534. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_first_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1535. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_first_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="first_name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1536. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_last_name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="true" SourceVersion="Original" />
  1537. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_last_name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="last_name" SourceColumnNullMapping="false" SourceVersion="Original" />
  1538. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_email" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="true" SourceVersion="Original" />
  1539. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="email" SourceColumnNullMapping="false" SourceVersion="Original" />
  1540. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_username" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="true" SourceVersion="Original" />
  1541. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Original" />
  1542. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_password" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="true" SourceVersion="Original" />
  1543. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_password" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="password" SourceColumnNullMapping="false" SourceVersion="Original" />
  1544. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_contact" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="true" SourceVersion="Original" />
  1545. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_contact" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="contact" SourceColumnNullMapping="false" SourceVersion="Original" />
  1546. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="true" SourceVersion="Original" />
  1547. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_gender" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="gender" SourceColumnNullMapping="false" SourceVersion="Original" />
  1548. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_user_type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="true" SourceVersion="Original" />
  1549. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_user_type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="user_type" SourceColumnNullMapping="false" SourceVersion="Original" />
  1550. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1551. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_added_date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="added_date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1552. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="true" SourceVersion="Original" />
  1553. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_added_by" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="added_by" SourceColumnNullMapping="false" SourceVersion="Original" />
  1554. <Parameter AllowDbNull="false" AutogeneratedName="id" ColumnName="id" DataSourceName="master.dbo.tbl_users" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1555. </Parameters>
  1556. </DbCommand>
  1557. </UpdateCommand>
  1558. </DbSource>
  1559. </MainSource>
  1560. <Mappings>
  1561. <Mapping SourceColumn="id" DataSetColumn="id" />
  1562. <Mapping SourceColumn="first_name" DataSetColumn="first_name" />
  1563. <Mapping SourceColumn="last_name" DataSetColumn="last_name" />
  1564. <Mapping SourceColumn="email" DataSetColumn="email" />
  1565. <Mapping SourceColumn="username" DataSetColumn="username" />
  1566. <Mapping SourceColumn="password" DataSetColumn="password" />
  1567. <Mapping SourceColumn="contact" DataSetColumn="contact" />
  1568. <Mapping SourceColumn="address" DataSetColumn="address" />
  1569. <Mapping SourceColumn="gender" DataSetColumn="gender" />
  1570. <Mapping SourceColumn="user_type" DataSetColumn="user_type" />
  1571. <Mapping SourceColumn="added_date" DataSetColumn="added_date" />
  1572. <Mapping SourceColumn="added_by" DataSetColumn="added_by" />
  1573. </Mappings>
  1574. <Sources />
  1575. </TableAdapter>
  1576. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TeachersTableAdapter" GeneratorDataComponentClassName="TeachersTableAdapter" Name="Teachers" UserDataComponentName="TeachersTableAdapter">
  1577. <MainSource>
  1578. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Teachers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1579. <DeleteCommand>
  1580. <DbCommand CommandType="Text" ModifiedByUser="false">
  1581. <CommandText>DELETE FROM [dbo].[Teachers] WHERE (([tabNumber] = @Original_tabNumber) AND ([rank] = @Original_rank) AND ([step] = @Original_step))</CommandText>
  1582. <Parameters>
  1583. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  1584. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_rank" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="rank" SourceColumnNullMapping="false" SourceVersion="Original" />
  1585. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_step" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="step" SourceColumnNullMapping="false" SourceVersion="Original" />
  1586. </Parameters>
  1587. </DbCommand>
  1588. </DeleteCommand>
  1589. <InsertCommand>
  1590. <DbCommand CommandType="Text" ModifiedByUser="false">
  1591. <CommandText>INSERT INTO [dbo].[Teachers] ([tabNumber], [rank], [step]) VALUES (@tabNumber, @rank, @step);
  1592. SELECT tabNumber, rank, step FROM Teachers WHERE (tabNumber = @tabNumber)</CommandText>
  1593. <Parameters>
  1594. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  1595. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@rank" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="rank" SourceColumnNullMapping="false" SourceVersion="Current" />
  1596. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@step" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="step" SourceColumnNullMapping="false" SourceVersion="Current" />
  1597. </Parameters>
  1598. </DbCommand>
  1599. </InsertCommand>
  1600. <SelectCommand>
  1601. <DbCommand CommandType="Text" ModifiedByUser="false">
  1602. <CommandText>SELECT tabNumber, rank, step FROM dbo.Teachers</CommandText>
  1603. <Parameters />
  1604. </DbCommand>
  1605. </SelectCommand>
  1606. <UpdateCommand>
  1607. <DbCommand CommandType="Text" ModifiedByUser="false">
  1608. <CommandText>UPDATE [dbo].[Teachers] SET [tabNumber] = @tabNumber, [rank] = @rank, [step] = @step WHERE (([tabNumber] = @Original_tabNumber) AND ([rank] = @Original_rank) AND ([step] = @Original_step));
  1609. SELECT tabNumber, rank, step FROM Teachers WHERE (tabNumber = @tabNumber)</CommandText>
  1610. <Parameters>
  1611. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
  1612. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@rank" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="rank" SourceColumnNullMapping="false" SourceVersion="Current" />
  1613. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@step" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="step" SourceColumnNullMapping="false" SourceVersion="Current" />
  1614. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_tabNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="tabNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
  1615. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_rank" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="rank" SourceColumnNullMapping="false" SourceVersion="Original" />
  1616. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_step" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="step" SourceColumnNullMapping="false" SourceVersion="Original" />
  1617. </Parameters>
  1618. </DbCommand>
  1619. </UpdateCommand>
  1620. </DbSource>
  1621. </MainSource>
  1622. <Mappings>
  1623. <Mapping SourceColumn="tabNumber" DataSetColumn="tabNumber" />
  1624. <Mapping SourceColumn="rank" DataSetColumn="rank" />
  1625. <Mapping SourceColumn="step" DataSetColumn="step" />
  1626. </Mappings>
  1627. <Sources />
  1628. </TableAdapter>
  1629. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TovariTableAdapter" GeneratorDataComponentClassName="TovariTableAdapter" Name="Tovari" UserDataComponentName="TovariTableAdapter">
  1630. <MainSource>
  1631. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Tovari" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1632. <InsertCommand>
  1633. <DbCommand CommandType="Text" ModifiedByUser="false">
  1634. <CommandText>INSERT INTO [dbo].[Tovari] ([Товар]) VALUES (@Товар)</CommandText>
  1635. <Parameters>
  1636. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Товар" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Товар" SourceColumnNullMapping="false" SourceVersion="Current" />
  1637. </Parameters>
  1638. </DbCommand>
  1639. </InsertCommand>
  1640. <SelectCommand>
  1641. <DbCommand CommandType="Text" ModifiedByUser="false">
  1642. <CommandText>SELECT Товар FROM dbo.Tovari</CommandText>
  1643. <Parameters />
  1644. </DbCommand>
  1645. </SelectCommand>
  1646. </DbSource>
  1647. </MainSource>
  1648. <Mappings>
  1649. <Mapping SourceColumn="Товар" DataSetColumn="Товар" />
  1650. </Mappings>
  1651. <Sources />
  1652. </TableAdapter>
  1653. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UserTableAdapter" GeneratorDataComponentClassName="UserTableAdapter" Name="User" UserDataComponentName="UserTableAdapter">
  1654. <MainSource>
  1655. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.[User]" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1656. <DeleteCommand>
  1657. <DbCommand CommandType="Text" ModifiedByUser="false">
  1658. <CommandText>DELETE FROM [dbo].[User] WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole))</CommandText>
  1659. <Parameters>
  1660. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1661. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
  1662. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
  1663. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
  1664. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
  1665. </Parameters>
  1666. </DbCommand>
  1667. </DeleteCommand>
  1668. <InsertCommand>
  1669. <DbCommand CommandType="Text" ModifiedByUser="false">
  1670. <CommandText>INSERT INTO [dbo].[User] ([UserSurname], [UserName], [UserPatronymic], [UserLogin], [UserPassword], [UserRole]) VALUES (@UserSurname, @UserName, @UserPatronymic, @UserLogin, @UserPassword, @UserRole);
  1671. SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM [User] WHERE (UserID = SCOPE_IDENTITY())</CommandText>
  1672. <Parameters>
  1673. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
  1674. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
  1675. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
  1676. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
  1677. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
  1678. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
  1679. </Parameters>
  1680. </DbCommand>
  1681. </InsertCommand>
  1682. <SelectCommand>
  1683. <DbCommand CommandType="Text" ModifiedByUser="false">
  1684. <CommandText>SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM dbo.[User]</CommandText>
  1685. <Parameters />
  1686. </DbCommand>
  1687. </SelectCommand>
  1688. <UpdateCommand>
  1689. <DbCommand CommandType="Text" ModifiedByUser="false">
  1690. <CommandText>UPDATE [dbo].[User] SET [UserSurname] = @UserSurname, [UserName] = @UserName, [UserPatronymic] = @UserPatronymic, [UserLogin] = @UserLogin, [UserPassword] = @UserPassword, [UserRole] = @UserRole WHERE (([UserID] = @Original_UserID) AND ([UserSurname] = @Original_UserSurname) AND ([UserName] = @Original_UserName) AND ([UserPatronymic] = @Original_UserPatronymic) AND ([UserRole] = @Original_UserRole));
  1691. SELECT UserID, UserSurname, UserName, UserPatronymic, UserLogin, UserPassword, UserRole FROM [User] WHERE (UserID = @UserID)</CommandText>
  1692. <Parameters>
  1693. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Current" />
  1694. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Current" />
  1695. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Current" />
  1696. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserLogin" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserLogin" SourceColumnNullMapping="false" SourceVersion="Current" />
  1697. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UserPassword" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPassword" SourceColumnNullMapping="false" SourceVersion="Current" />
  1698. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Current" />
  1699. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1700. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserSurname" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserSurname" SourceColumnNullMapping="false" SourceVersion="Original" />
  1701. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserName" SourceColumnNullMapping="false" SourceVersion="Original" />
  1702. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UserPatronymic" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UserPatronymic" SourceColumnNullMapping="false" SourceVersion="Original" />
  1703. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_UserRole" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UserRole" SourceColumnNullMapping="false" SourceVersion="Original" />
  1704. <Parameter AllowDbNull="false" AutogeneratedName="UserID" ColumnName="UserID" DataSourceName="master.dbo.[User]" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@UserID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="UserID" SourceColumnNullMapping="false" SourceVersion="Current" />
  1705. </Parameters>
  1706. </DbCommand>
  1707. </UpdateCommand>
  1708. </DbSource>
  1709. </MainSource>
  1710. <Mappings>
  1711. <Mapping SourceColumn="UserID" DataSetColumn="UserID" />
  1712. <Mapping SourceColumn="UserSurname" DataSetColumn="UserSurname" />
  1713. <Mapping SourceColumn="UserName" DataSetColumn="UserName" />
  1714. <Mapping SourceColumn="UserPatronymic" DataSetColumn="UserPatronymic" />
  1715. <Mapping SourceColumn="UserLogin" DataSetColumn="UserLogin" />
  1716. <Mapping SourceColumn="UserPassword" DataSetColumn="UserPassword" />
  1717. <Mapping SourceColumn="UserRole" DataSetColumn="UserRole" />
  1718. </Mappings>
  1719. <Sources />
  1720. </TableAdapter>
  1721. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="woorkersTableAdapter" GeneratorDataComponentClassName="woorkersTableAdapter" Name="woorkers" UserDataComponentName="woorkersTableAdapter">
  1722. <MainSource>
  1723. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.woorkers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1724. <DeleteCommand>
  1725. <DbCommand CommandType="Text" ModifiedByUser="false">
  1726. <CommandText>DELETE FROM [dbo].[woorkers] WHERE (([ID] = @Original_ID) AND ((@IsNull_NAME = 1 AND [NAME] IS NULL) OR ([NAME] = @Original_NAME)) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_Salary = 1 AND [Salary] IS NULL) OR ([Salary] = @Original_Salary)) AND ((@IsNull_Age = 1 AND [Age] IS NULL) OR ([Age] = @Original_Age)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)))</CommandText>
  1727. <Parameters>
  1728. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1729. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
  1730. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
  1731. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="true" SourceVersion="Original" />
  1732. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  1733. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="true" SourceVersion="Original" />
  1734. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Original" />
  1735. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="true" SourceVersion="Original" />
  1736. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
  1737. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1738. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1739. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
  1740. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
  1741. </Parameters>
  1742. </DbCommand>
  1743. </DeleteCommand>
  1744. <InsertCommand>
  1745. <DbCommand CommandType="Text" ModifiedByUser="false">
  1746. <CommandText>INSERT INTO [dbo].[woorkers] ([NAME], [login], [Salary], [Age], [Date], [Description]) VALUES (@NAME, @login, @Salary, @Age, @Date, @Description);
  1747. SELECT ID, NAME, login, Salary, Age, Date, Description FROM woorkers WHERE (ID = SCOPE_IDENTITY())</CommandText>
  1748. <Parameters>
  1749. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
  1750. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  1751. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Current" />
  1752. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Current" />
  1753. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1754. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1755. </Parameters>
  1756. </DbCommand>
  1757. </InsertCommand>
  1758. <SelectCommand>
  1759. <DbCommand CommandType="Text" ModifiedByUser="false">
  1760. <CommandText>SELECT ID, NAME, login, Salary, Age, Date, Description FROM dbo.woorkers</CommandText>
  1761. <Parameters />
  1762. </DbCommand>
  1763. </SelectCommand>
  1764. <UpdateCommand>
  1765. <DbCommand CommandType="Text" ModifiedByUser="false">
  1766. <CommandText>UPDATE [dbo].[woorkers] SET [NAME] = @NAME, [login] = @login, [Salary] = @Salary, [Age] = @Age, [Date] = @Date, [Description] = @Description WHERE (([ID] = @Original_ID) AND ((@IsNull_NAME = 1 AND [NAME] IS NULL) OR ([NAME] = @Original_NAME)) AND ((@IsNull_login = 1 AND [login] IS NULL) OR ([login] = @Original_login)) AND ((@IsNull_Salary = 1 AND [Salary] IS NULL) OR ([Salary] = @Original_Salary)) AND ((@IsNull_Age = 1 AND [Age] IS NULL) OR ([Age] = @Original_Age)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)));
  1767. SELECT ID, NAME, login, Salary, Age, Date, Description FROM woorkers WHERE (ID = @ID)</CommandText>
  1768. <Parameters>
  1769. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
  1770. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Current" />
  1771. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Current" />
  1772. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Current" />
  1773. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1774. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1775. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1776. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
  1777. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_NAME" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
  1778. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="true" SourceVersion="Original" />
  1779. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_login" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="login" SourceColumnNullMapping="false" SourceVersion="Original" />
  1780. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="true" SourceVersion="Original" />
  1781. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Original" />
  1782. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="true" SourceVersion="Original" />
  1783. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
  1784. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1785. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1786. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
  1787. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
  1788. <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="master.dbo.woorkers" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  1789. </Parameters>
  1790. </DbCommand>
  1791. </UpdateCommand>
  1792. </DbSource>
  1793. </MainSource>
  1794. <Mappings>
  1795. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  1796. <Mapping SourceColumn="NAME" DataSetColumn="NAME" />
  1797. <Mapping SourceColumn="login" DataSetColumn="login" />
  1798. <Mapping SourceColumn="Salary" DataSetColumn="Salary" />
  1799. <Mapping SourceColumn="Age" DataSetColumn="Age" />
  1800. <Mapping SourceColumn="Date" DataSetColumn="Date" />
  1801. <Mapping SourceColumn="Description" DataSetColumn="Description" />
  1802. </Mappings>
  1803. <Sources />
  1804. </TableAdapter>
  1805. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WorkerTableAdapter" GeneratorDataComponentClassName="WorkerTableAdapter" Name="Worker" UserDataComponentName="WorkerTableAdapter">
  1806. <MainSource>
  1807. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Worker" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1808. <InsertCommand>
  1809. <DbCommand CommandType="Text" ModifiedByUser="false">
  1810. <CommandText>INSERT INTO [dbo].[Worker] ([id], [name], [logn], [salary], [age], [date], [discription]) VALUES (@id, @name, @logn, @salary, @age, @date, @discription)</CommandText>
  1811. <Parameters>
  1812. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@id" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="id" SourceColumnNullMapping="false" SourceVersion="Current" />
  1813. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="name" SourceColumnNullMapping="false" SourceVersion="Current" />
  1814. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@logn" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="logn" SourceColumnNullMapping="false" SourceVersion="Current" />
  1815. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@salary" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="salary" SourceColumnNullMapping="false" SourceVersion="Current" />
  1816. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@age" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="age" SourceColumnNullMapping="false" SourceVersion="Current" />
  1817. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1818. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@discription" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="discription" SourceColumnNullMapping="false" SourceVersion="Current" />
  1819. </Parameters>
  1820. </DbCommand>
  1821. </InsertCommand>
  1822. <SelectCommand>
  1823. <DbCommand CommandType="Text" ModifiedByUser="false">
  1824. <CommandText>SELECT id, name, logn, salary, age, date, discription FROM dbo.Worker</CommandText>
  1825. <Parameters />
  1826. </DbCommand>
  1827. </SelectCommand>
  1828. </DbSource>
  1829. </MainSource>
  1830. <Mappings>
  1831. <Mapping SourceColumn="id" DataSetColumn="id" />
  1832. <Mapping SourceColumn="name" DataSetColumn="name" />
  1833. <Mapping SourceColumn="logn" DataSetColumn="logn" />
  1834. <Mapping SourceColumn="salary" DataSetColumn="salary" />
  1835. <Mapping SourceColumn="age" DataSetColumn="age" />
  1836. <Mapping SourceColumn="date" DataSetColumn="date" />
  1837. <Mapping SourceColumn="discription" DataSetColumn="discription" />
  1838. </Mappings>
  1839. <Sources />
  1840. </TableAdapter>
  1841. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="WorkersTableAdapter" GeneratorDataComponentClassName="WorkersTableAdapter" Name="Workers" UserDataComponentName="WorkersTableAdapter">
  1842. <MainSource>
  1843. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Workers" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1844. <DeleteCommand>
  1845. <DbCommand CommandType="Text" ModifiedByUser="false">
  1846. <CommandText>DELETE FROM [dbo].[Workers] WHERE (([ID] = @Original_ID) AND ((@IsNull_Login = 1 AND [Login] IS NULL) OR ([Login] = @Original_Login)) AND ((@IsNull_Salary = 1 AND [Salary] IS NULL) OR ([Salary] = @Original_Salary)) AND ((@IsNull_Age = 1 AND [Age] IS NULL) OR ([Age] = @Original_Age)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)))</CommandText>
  1847. <Parameters>
  1848. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1849. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="true" SourceVersion="Original" />
  1850. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Login" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Original" />
  1851. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="true" SourceVersion="Original" />
  1852. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Salary" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Original" />
  1853. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="true" SourceVersion="Original" />
  1854. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
  1855. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1856. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1857. </Parameters>
  1858. </DbCommand>
  1859. </DeleteCommand>
  1860. <InsertCommand>
  1861. <DbCommand CommandType="Text" ModifiedByUser="false">
  1862. <CommandText>INSERT INTO [dbo].[Workers] ([Login], [Salary], [Age], [Date], [Description]) VALUES (@Login, @Salary, @Age, @Date, @Description);
  1863. SELECT ID, Login, Salary, Age, Date, Description FROM Workers WHERE (ID = SCOPE_IDENTITY())</CommandText>
  1864. <Parameters>
  1865. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
  1866. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Salary" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Current" />
  1867. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Current" />
  1868. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1869. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1870. </Parameters>
  1871. </DbCommand>
  1872. </InsertCommand>
  1873. <SelectCommand>
  1874. <DbCommand CommandType="Text" ModifiedByUser="false">
  1875. <CommandText>SELECT ID, Login, Salary, Age, Date, Description FROM dbo.Workers</CommandText>
  1876. <Parameters />
  1877. </DbCommand>
  1878. </SelectCommand>
  1879. <UpdateCommand>
  1880. <DbCommand CommandType="Text" ModifiedByUser="false">
  1881. <CommandText>UPDATE [dbo].[Workers] SET [Login] = @Login, [Salary] = @Salary, [Age] = @Age, [Date] = @Date, [Description] = @Description WHERE (([ID] = @Original_ID) AND ((@IsNull_Login = 1 AND [Login] IS NULL) OR ([Login] = @Original_Login)) AND ((@IsNull_Salary = 1 AND [Salary] IS NULL) OR ([Salary] = @Original_Salary)) AND ((@IsNull_Age = 1 AND [Age] IS NULL) OR ([Age] = @Original_Age)) AND ((@IsNull_Date = 1 AND [Date] IS NULL) OR ([Date] = @Original_Date)));
  1882. SELECT ID, Login, Salary, Age, Date, Description FROM Workers WHERE (ID = @ID)</CommandText>
  1883. <Parameters>
  1884. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Login" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Current" />
  1885. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Salary" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Current" />
  1886. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Current" />
  1887. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Current" />
  1888. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
  1889. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
  1890. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Login" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="true" SourceVersion="Original" />
  1891. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Login" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Login" SourceColumnNullMapping="false" SourceVersion="Original" />
  1892. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Salary" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Salary" SourceColumnNullMapping="true" SourceVersion="Original" />
  1893. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Salary" Precision="18" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="Salary" SourceColumnNullMapping="false" SourceVersion="Original" />
  1894. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="true" SourceVersion="Original" />
  1895. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Age" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Age" SourceColumnNullMapping="false" SourceVersion="Original" />
  1896. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Date" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="true" SourceVersion="Original" />
  1897. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_Date" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="Date" SourceColumnNullMapping="false" SourceVersion="Original" />
  1898. <Parameter AllowDbNull="false" AutogeneratedName="ID" ColumnName="ID" DataSourceName="master.dbo.Workers" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
  1899. </Parameters>
  1900. </DbCommand>
  1901. </UpdateCommand>
  1902. </DbSource>
  1903. </MainSource>
  1904. <Mappings>
  1905. <Mapping SourceColumn="ID" DataSetColumn="ID" />
  1906. <Mapping SourceColumn="Login" DataSetColumn="Login" />
  1907. <Mapping SourceColumn="Salary" DataSetColumn="Salary" />
  1908. <Mapping SourceColumn="Age" DataSetColumn="Age" />
  1909. <Mapping SourceColumn="Date" DataSetColumn="Date" />
  1910. <Mapping SourceColumn="Description" DataSetColumn="Description" />
  1911. </Mappings>
  1912. <Sources />
  1913. </TableAdapter>
  1914. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ПродажиTableAdapter" GeneratorDataComponentClassName="ПродажиTableAdapter" Name="Продажи" UserDataComponentName="ПродажиTableAdapter">
  1915. <MainSource>
  1916. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Продажи" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1917. <DeleteCommand>
  1918. <DbCommand CommandType="Text" ModifiedByUser="false">
  1919. <CommandText>DELETE FROM [dbo].[Продажи] WHERE (([код_товара] = @Original_код_товара) AND ((@IsNull_дата = 1 AND [дата] IS NULL) OR ([дата] = @Original_дата)) AND ((@IsNull_количество = 1 AND [количество] IS NULL) OR ([количество] = @Original_количество)))</CommandText>
  1920. <Parameters>
  1921. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  1922. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  1923. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_дата" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  1924. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  1925. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  1926. </Parameters>
  1927. </DbCommand>
  1928. </DeleteCommand>
  1929. <InsertCommand>
  1930. <DbCommand CommandType="Text" ModifiedByUser="false">
  1931. <CommandText>INSERT INTO [dbo].[Продажи] ([код_товара], [дата], [количество]) VALUES (@код_товара, @дата, @количество);
  1932. SELECT код_товара, дата, количество FROM Продажи WHERE (код_товара = @код_товара)</CommandText>
  1933. <Parameters>
  1934. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  1935. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@дата" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  1936. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  1937. </Parameters>
  1938. </DbCommand>
  1939. </InsertCommand>
  1940. <SelectCommand>
  1941. <DbCommand CommandType="Text" ModifiedByUser="false">
  1942. <CommandText>SELECT код_товара, дата, количество FROM dbo.Продажи</CommandText>
  1943. <Parameters />
  1944. </DbCommand>
  1945. </SelectCommand>
  1946. <UpdateCommand>
  1947. <DbCommand CommandType="Text" ModifiedByUser="false">
  1948. <CommandText>UPDATE [dbo].[Продажи] SET [код_товара] = @код_товара, [дата] = @дата, [количество] = @количество WHERE (([код_товара] = @Original_код_товара) AND ((@IsNull_дата = 1 AND [дата] IS NULL) OR ([дата] = @Original_дата)) AND ((@IsNull_количество = 1 AND [количество] IS NULL) OR ([количество] = @Original_количество)));
  1949. SELECT код_товара, дата, количество FROM Продажи WHERE (код_товара = @код_товара)</CommandText>
  1950. <Parameters>
  1951. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код_товара" SourceColumnNullMapping="false" SourceVersion="Current" />
  1952. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@дата" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="false" SourceVersion="Current" />
  1953. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Current" />
  1954. <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_код_товара" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код_товара" SourceColumnNullMapping="false" SourceVersion="Original" />
  1955. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_дата" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="true" SourceVersion="Original" />
  1956. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_дата" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="дата" SourceColumnNullMapping="false" SourceVersion="Original" />
  1957. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_количество" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="true" SourceVersion="Original" />
  1958. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_количество" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="количество" SourceColumnNullMapping="false" SourceVersion="Original" />
  1959. </Parameters>
  1960. </DbCommand>
  1961. </UpdateCommand>
  1962. </DbSource>
  1963. </MainSource>
  1964. <Mappings>
  1965. <Mapping SourceColumn="код_товара" DataSetColumn="код_товара" />
  1966. <Mapping SourceColumn="дата" DataSetColumn="дата" />
  1967. <Mapping SourceColumn="количество" DataSetColumn="количество" />
  1968. </Mappings>
  1969. <Sources />
  1970. </TableAdapter>
  1971. <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ТоварыTableAdapter" GeneratorDataComponentClassName="ТоварыTableAdapter" Name="Товары" UserDataComponentName="ТоварыTableAdapter">
  1972. <MainSource>
  1973. <DbSource ConnectionRef="ConnectionString (Settings)" DbObjectName="master.dbo.Товары" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
  1974. <InsertCommand>
  1975. <DbCommand CommandType="Text" ModifiedByUser="false">
  1976. <CommandText>INSERT INTO [dbo].[Товары] ([код], [название]) VALUES (@код, @название)</CommandText>
  1977. <Parameters>
  1978. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@код" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="код" SourceColumnNullMapping="false" SourceVersion="Current" />
  1979. <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@название" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="название" SourceColumnNullMapping="false" SourceVersion="Current" />
  1980. </Parameters>
  1981. </DbCommand>
  1982. </InsertCommand>
  1983. <SelectCommand>
  1984. <DbCommand CommandType="Text" ModifiedByUser="false">
  1985. <CommandText>SELECT код, название FROM dbo.Товары</CommandText>
  1986. <Parameters />
  1987. </DbCommand>
  1988. </SelectCommand>
  1989. </DbSource>
  1990. </MainSource>
  1991. <Mappings>
  1992. <Mapping SourceColumn="код" DataSetColumn="код" />
  1993. <Mapping SourceColumn="название" DataSetColumn="название" />
  1994. </Mappings>
  1995. <Sources />
  1996. </TableAdapter>
  1997. </Tables>
  1998. <Sources />
  1999. </DataSource>
  2000. </xs:appinfo>
  2001. </xs:annotation>
  2002. <xs:element name="DataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DataSet1" msprop:Generator_UserDSName="DataSet1">
  2003. <xs:complexType>
  2004. <xs:choice minOccurs="0" maxOccurs="unbounded">
  2005. <xs:element name="Akademiki" msprop:Generator_TableClassName="AkademikiDataTable" msprop:Generator_TableVarName="tableAkademiki" msprop:Generator_TablePropName="Akademiki" msprop:Generator_RowDeletingName="AkademikiRowDeleting" msprop:Generator_RowChangingName="AkademikiRowChanging" msprop:Generator_RowEvHandlerName="AkademikiRowChangeEventHandler" msprop:Generator_RowDeletedName="AkademikiRowDeleted" msprop:Generator_UserTableName="Akademiki" msprop:Generator_RowChangedName="AkademikiRowChanged" msprop:Generator_RowEvArgName="AkademikiRowChangeEvent" msprop:Generator_RowClassName="AkademikiRow">
  2006. <xs:complexType>
  2007. <xs:sequence>
  2008. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2009. <xs:element name="FIO" msprop:Generator_ColumnVarNameInTable="columnFIO" msprop:Generator_ColumnPropNameInRow="FIO" msprop:Generator_ColumnPropNameInTable="FIOColumn" msprop:Generator_UserColumnName="FIO">
  2010. <xs:simpleType>
  2011. <xs:restriction base="xs:string">
  2012. <xs:maxLength value="2147483647" />
  2013. </xs:restriction>
  2014. </xs:simpleType>
  2015. </xs:element>
  2016. <xs:element name="DateOfbirth" msprop:Generator_ColumnVarNameInTable="columnDateOfbirth" msprop:Generator_ColumnPropNameInRow="DateOfbirth" msprop:Generator_ColumnPropNameInTable="DateOfbirthColumn" msprop:Generator_UserColumnName="DateOfbirth" type="xs:dateTime" />
  2017. <xs:element name="Spec" msprop:Generator_ColumnVarNameInTable="columnSpec" msprop:Generator_ColumnPropNameInRow="Spec" msprop:Generator_ColumnPropNameInTable="SpecColumn" msprop:Generator_UserColumnName="Spec">
  2018. <xs:simpleType>
  2019. <xs:restriction base="xs:string">
  2020. <xs:maxLength value="50" />
  2021. </xs:restriction>
  2022. </xs:simpleType>
  2023. </xs:element>
  2024. <xs:element name="yearOrden" msprop:Generator_ColumnVarNameInTable="columnyearOrden" msprop:Generator_ColumnPropNameInRow="yearOrden" msprop:Generator_ColumnPropNameInTable="yearOrdenColumn" msprop:Generator_UserColumnName="yearOrden">
  2025. <xs:simpleType>
  2026. <xs:restriction base="xs:string">
  2027. <xs:maxLength value="50" />
  2028. </xs:restriction>
  2029. </xs:simpleType>
  2030. </xs:element>
  2031. </xs:sequence>
  2032. </xs:complexType>
  2033. </xs:element>
  2034. <xs:element name="applic" msprop:Generator_TableClassName="applicDataTable" msprop:Generator_TableVarName="tableapplic" msprop:Generator_TablePropName="applic" msprop:Generator_RowDeletingName="applicRowDeleting" msprop:Generator_RowChangingName="applicRowChanging" msprop:Generator_RowEvHandlerName="applicRowChangeEventHandler" msprop:Generator_RowDeletedName="applicRowDeleted" msprop:Generator_UserTableName="applic" msprop:Generator_RowChangedName="applicRowChanged" msprop:Generator_RowEvArgName="applicRowChangeEvent" msprop:Generator_RowClassName="applicRow">
  2035. <xs:complexType>
  2036. <xs:sequence>
  2037. <xs:element name="number" msprop:Generator_ColumnVarNameInTable="columnnumber" msprop:Generator_ColumnPropNameInRow="number" msprop:Generator_ColumnPropNameInTable="numberColumn" msprop:Generator_UserColumnName="number">
  2038. <xs:simpleType>
  2039. <xs:restriction base="xs:string">
  2040. <xs:maxLength value="50" />
  2041. </xs:restriction>
  2042. </xs:simpleType>
  2043. </xs:element>
  2044. <xs:element name="kodsubj" msprop:Generator_ColumnVarNameInTable="columnkodsubj" msprop:Generator_ColumnPropNameInRow="kodsubj" msprop:Generator_ColumnPropNameInTable="kodsubjColumn" msprop:Generator_UserColumnName="kodsubj" type="xs:int" />
  2045. </xs:sequence>
  2046. </xs:complexType>
  2047. </xs:element>
  2048. <xs:element name="billin" msprop:Generator_TableClassName="billinDataTable" msprop:Generator_TableVarName="tablebillin" msprop:Generator_TablePropName="billin" msprop:Generator_RowDeletingName="billinRowDeleting" msprop:Generator_RowChangingName="billinRowChanging" msprop:Generator_RowEvHandlerName="billinRowChangeEventHandler" msprop:Generator_RowDeletedName="billinRowDeleted" msprop:Generator_UserTableName="billin" msprop:Generator_RowChangedName="billinRowChanged" msprop:Generator_RowEvArgName="billinRowChangeEvent" msprop:Generator_RowClassName="billinRow">
  2049. <xs:complexType>
  2050. <xs:sequence>
  2051. <xs:element name="emailpayer" msprop:Generator_ColumnVarNameInTable="columnemailpayer" msprop:Generator_ColumnPropNameInRow="emailpayer" msprop:Generator_ColumnPropNameInTable="emailpayerColumn" msprop:Generator_UserColumnName="emailpayer" minOccurs="0">
  2052. <xs:simpleType>
  2053. <xs:restriction base="xs:string">
  2054. <xs:maxLength value="255" />
  2055. </xs:restriction>
  2056. </xs:simpleType>
  2057. </xs:element>
  2058. <xs:element name="emailrecipient" msprop:Generator_ColumnVarNameInTable="columnemailrecipient" msprop:Generator_ColumnPropNameInRow="emailrecipient" msprop:Generator_ColumnPropNameInTable="emailrecipientColumn" msprop:Generator_UserColumnName="emailrecipient" minOccurs="0">
  2059. <xs:simpleType>
  2060. <xs:restriction base="xs:string">
  2061. <xs:maxLength value="255" />
  2062. </xs:restriction>
  2063. </xs:simpleType>
  2064. </xs:element>
  2065. <xs:element name="SUM" msprop:Generator_ColumnVarNameInTable="columnSUM" msprop:Generator_ColumnPropNameInRow="SUM" msprop:Generator_ColumnPropNameInTable="SUMColumn" msprop:Generator_UserColumnName="SUM" type="xs:decimal" minOccurs="0" />
  2066. <xs:element name="CURRENCY" msprop:Generator_ColumnVarNameInTable="columnCURRENCY" msprop:Generator_ColumnPropNameInRow="CURRENCY" msprop:Generator_ColumnPropNameInTable="CURRENCYColumn" msprop:Generator_UserColumnName="CURRENCY" minOccurs="0">
  2067. <xs:simpleType>
  2068. <xs:restriction base="xs:string">
  2069. <xs:maxLength value="3" />
  2070. </xs:restriction>
  2071. </xs:simpleType>
  2072. </xs:element>
  2073. <xs:element name="BILLINGDATE" msprop:Generator_ColumnVarNameInTable="columnBILLINGDATE" msprop:Generator_ColumnPropNameInRow="BILLINGDATE" msprop:Generator_ColumnPropNameInTable="BILLINGDATEColumn" msprop:Generator_UserColumnName="BILLINGDATE" type="xs:dateTime" minOccurs="0" />
  2074. <xs:element name="COMMENT" msprop:Generator_ColumnVarNameInTable="columnCOMMENT" msprop:Generator_ColumnPropNameInRow="COMMENT" msprop:Generator_ColumnPropNameInTable="COMMENTColumn" msprop:Generator_UserColumnName="COMMENT" minOccurs="0">
  2075. <xs:simpleType>
  2076. <xs:restriction base="xs:string">
  2077. <xs:maxLength value="2147483647" />
  2078. </xs:restriction>
  2079. </xs:simpleType>
  2080. </xs:element>
  2081. </xs:sequence>
  2082. </xs:complexType>
  2083. </xs:element>
  2084. <xs:element name="billing" msprop:Generator_TableClassName="billingDataTable" msprop:Generator_TableVarName="tablebilling" msprop:Generator_TablePropName="billing" msprop:Generator_RowDeletingName="billingRowDeleting" msprop:Generator_RowChangingName="billingRowChanging" msprop:Generator_RowEvHandlerName="billingRowChangeEventHandler" msprop:Generator_RowDeletedName="billingRowDeleted" msprop:Generator_UserTableName="billing" msprop:Generator_RowChangedName="billingRowChanged" msprop:Generator_RowEvArgName="billingRowChangeEvent" msprop:Generator_RowClassName="billingRow">
  2085. <xs:complexType>
  2086. <xs:sequence>
  2087. <xs:element name="emailpayer" msprop:Generator_ColumnVarNameInTable="columnemailpayer" msprop:Generator_ColumnPropNameInRow="emailpayer" msprop:Generator_ColumnPropNameInTable="emailpayerColumn" msprop:Generator_UserColumnName="emailpayer" minOccurs="0">
  2088. <xs:simpleType>
  2089. <xs:restriction base="xs:string">
  2090. <xs:maxLength value="255" />
  2091. </xs:restriction>
  2092. </xs:simpleType>
  2093. </xs:element>
  2094. <xs:element name="emailrecipient" msprop:Generator_ColumnVarNameInTable="columnemailrecipient" msprop:Generator_ColumnPropNameInRow="emailrecipient" msprop:Generator_ColumnPropNameInTable="emailrecipientColumn" msprop:Generator_UserColumnName="emailrecipient" minOccurs="0">
  2095. <xs:simpleType>
  2096. <xs:restriction base="xs:string">
  2097. <xs:maxLength value="255" />
  2098. </xs:restriction>
  2099. </xs:simpleType>
  2100. </xs:element>
  2101. <xs:element name="SUM" msprop:Generator_ColumnVarNameInTable="columnSUM" msprop:Generator_ColumnPropNameInRow="SUM" msprop:Generator_ColumnPropNameInTable="SUMColumn" msprop:Generator_UserColumnName="SUM" type="xs:decimal" minOccurs="0" />
  2102. <xs:element name="CURRENCY" msprop:Generator_ColumnVarNameInTable="columnCURRENCY" msprop:Generator_ColumnPropNameInRow="CURRENCY" msprop:Generator_ColumnPropNameInTable="CURRENCYColumn" msprop:Generator_UserColumnName="CURRENCY" minOccurs="0">
  2103. <xs:simpleType>
  2104. <xs:restriction base="xs:string">
  2105. <xs:maxLength value="3" />
  2106. </xs:restriction>
  2107. </xs:simpleType>
  2108. </xs:element>
  2109. <xs:element name="BILLINGDATE" msprop:Generator_ColumnVarNameInTable="columnBILLINGDATE" msprop:Generator_ColumnPropNameInRow="BILLINGDATE" msprop:Generator_ColumnPropNameInTable="BILLINGDATEColumn" msprop:Generator_UserColumnName="BILLINGDATE" type="xs:dateTime" minOccurs="0" />
  2110. <xs:element name="COMMENT" msprop:Generator_ColumnVarNameInTable="columnCOMMENT" msprop:Generator_ColumnPropNameInRow="COMMENT" msprop:Generator_ColumnPropNameInTable="COMMENTColumn" msprop:Generator_UserColumnName="COMMENT" minOccurs="0">
  2111. <xs:simpleType>
  2112. <xs:restriction base="xs:string">
  2113. <xs:maxLength value="2147483647" />
  2114. </xs:restriction>
  2115. </xs:simpleType>
  2116. </xs:element>
  2117. </xs:sequence>
  2118. </xs:complexType>
  2119. </xs:element>
  2120. <xs:element name="Countries" msprop:Generator_TableClassName="CountriesDataTable" msprop:Generator_TableVarName="tableCountries" msprop:Generator_TablePropName="Countries" msprop:Generator_RowDeletingName="CountriesRowDeleting" msprop:Generator_RowChangingName="CountriesRowChanging" msprop:Generator_RowEvHandlerName="CountriesRowChangeEventHandler" msprop:Generator_RowDeletedName="CountriesRowDeleted" msprop:Generator_UserTableName="Countries" msprop:Generator_RowChangedName="CountriesRowChanged" msprop:Generator_RowEvArgName="CountriesRowChangeEvent" msprop:Generator_RowClassName="CountriesRow">
  2121. <xs:complexType>
  2122. <xs:sequence>
  2123. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
  2124. <xs:simpleType>
  2125. <xs:restriction base="xs:string">
  2126. <xs:maxLength value="50" />
  2127. </xs:restriction>
  2128. </xs:simpleType>
  2129. </xs:element>
  2130. <xs:element name="capital" msprop:Generator_ColumnVarNameInTable="columncapital" msprop:Generator_ColumnPropNameInRow="capital" msprop:Generator_ColumnPropNameInTable="capitalColumn" msprop:Generator_UserColumnName="capital">
  2131. <xs:simpleType>
  2132. <xs:restriction base="xs:string">
  2133. <xs:maxLength value="50" />
  2134. </xs:restriction>
  2135. </xs:simpleType>
  2136. </xs:element>
  2137. <xs:element name="square" msprop:Generator_ColumnVarNameInTable="columnsquare" msprop:Generator_ColumnPropNameInRow="square" msprop:Generator_ColumnPropNameInTable="squareColumn" msprop:Generator_UserColumnName="square">
  2138. <xs:simpleType>
  2139. <xs:restriction base="xs:string">
  2140. <xs:maxLength value="50" />
  2141. </xs:restriction>
  2142. </xs:simpleType>
  2143. </xs:element>
  2144. <xs:element name="population" msprop:Generator_ColumnVarNameInTable="columnpopulation" msprop:Generator_ColumnPropNameInRow="population" msprop:Generator_ColumnPropNameInTable="populationColumn" msprop:Generator_UserColumnName="population">
  2145. <xs:simpleType>
  2146. <xs:restriction base="xs:string">
  2147. <xs:maxLength value="50" />
  2148. </xs:restriction>
  2149. </xs:simpleType>
  2150. </xs:element>
  2151. <xs:element name="contin" msprop:Generator_ColumnVarNameInTable="columncontin" msprop:Generator_ColumnPropNameInRow="contin" msprop:Generator_ColumnPropNameInTable="continColumn" msprop:Generator_UserColumnName="contin">
  2152. <xs:simpleType>
  2153. <xs:restriction base="xs:string">
  2154. <xs:maxLength value="50" />
  2155. </xs:restriction>
  2156. </xs:simpleType>
  2157. </xs:element>
  2158. </xs:sequence>
  2159. </xs:complexType>
  2160. </xs:element>
  2161. <xs:element name="Countries2" msprop:Generator_TableClassName="Countries2DataTable" msprop:Generator_TableVarName="tableCountries2" msprop:Generator_TablePropName="Countries2" msprop:Generator_RowDeletingName="Countries2RowDeleting" msprop:Generator_RowChangingName="Countries2RowChanging" msprop:Generator_RowEvHandlerName="Countries2RowChangeEventHandler" msprop:Generator_RowDeletedName="Countries2RowDeleted" msprop:Generator_UserTableName="Countries2" msprop:Generator_RowChangedName="Countries2RowChanged" msprop:Generator_RowEvArgName="Countries2RowChangeEvent" msprop:Generator_RowClassName="Countries2Row">
  2162. <xs:complexType>
  2163. <xs:sequence>
  2164. <xs:element name="country" msprop:Generator_ColumnVarNameInTable="columncountry" msprop:Generator_ColumnPropNameInRow="country" msprop:Generator_ColumnPropNameInTable="countryColumn" msprop:Generator_UserColumnName="country">
  2165. <xs:simpleType>
  2166. <xs:restriction base="xs:string">
  2167. <xs:maxLength value="50" />
  2168. </xs:restriction>
  2169. </xs:simpleType>
  2170. </xs:element>
  2171. <xs:element name="capital" msprop:Generator_ColumnVarNameInTable="columncapital" msprop:Generator_ColumnPropNameInRow="capital" msprop:Generator_ColumnPropNameInTable="capitalColumn" msprop:Generator_UserColumnName="capital">
  2172. <xs:simpleType>
  2173. <xs:restriction base="xs:string">
  2174. <xs:maxLength value="50" />
  2175. </xs:restriction>
  2176. </xs:simpleType>
  2177. </xs:element>
  2178. <xs:element name="cont" msprop:Generator_ColumnVarNameInTable="columncont" msprop:Generator_ColumnPropNameInRow="cont" msprop:Generator_ColumnPropNameInTable="contColumn" msprop:Generator_UserColumnName="cont">
  2179. <xs:simpleType>
  2180. <xs:restriction base="xs:string">
  2181. <xs:maxLength value="50" />
  2182. </xs:restriction>
  2183. </xs:simpleType>
  2184. </xs:element>
  2185. <xs:element name="popul" msprop:Generator_ColumnVarNameInTable="columnpopul" msprop:Generator_ColumnPropNameInRow="popul" msprop:Generator_ColumnPropNameInTable="populColumn" msprop:Generator_UserColumnName="popul">
  2186. <xs:simpleType>
  2187. <xs:restriction base="xs:string">
  2188. <xs:maxLength value="50" />
  2189. </xs:restriction>
  2190. </xs:simpleType>
  2191. </xs:element>
  2192. <xs:element name="sqr" msprop:Generator_ColumnVarNameInTable="columnsqr" msprop:Generator_ColumnPropNameInRow="sqr" msprop:Generator_ColumnPropNameInTable="sqrColumn" msprop:Generator_UserColumnName="sqr">
  2193. <xs:simpleType>
  2194. <xs:restriction base="xs:string">
  2195. <xs:maxLength value="50" />
  2196. </xs:restriction>
  2197. </xs:simpleType>
  2198. </xs:element>
  2199. <xs:element name="typeOfgov" msprop:Generator_ColumnVarNameInTable="columntypeOfgov" msprop:Generator_ColumnPropNameInRow="typeOfgov" msprop:Generator_ColumnPropNameInTable="typeOfgovColumn" msprop:Generator_UserColumnName="typeOfgov" type="xs:int" />
  2200. </xs:sequence>
  2201. </xs:complexType>
  2202. </xs:element>
  2203. <xs:element name="departOwner" msprop:Generator_TableClassName="departOwnerDataTable" msprop:Generator_TableVarName="tabledepartOwner" msprop:Generator_TablePropName="departOwner" msprop:Generator_RowDeletingName="departOwnerRowDeleting" msprop:Generator_RowChangingName="departOwnerRowChanging" msprop:Generator_RowEvHandlerName="departOwnerRowChangeEventHandler" msprop:Generator_RowDeletedName="departOwnerRowDeleted" msprop:Generator_UserTableName="departOwner" msprop:Generator_RowChangedName="departOwnerRowChanged" msprop:Generator_RowEvArgName="departOwnerRowChangeEvent" msprop:Generator_RowClassName="departOwnerRow">
  2204. <xs:complexType>
  2205. <xs:sequence>
  2206. <xs:element name="Tabnumber" msprop:Generator_ColumnVarNameInTable="columnTabnumber" msprop:Generator_ColumnPropNameInRow="Tabnumber" msprop:Generator_ColumnPropNameInTable="TabnumberColumn" msprop:Generator_UserColumnName="Tabnumber" type="xs:int" />
  2207. <xs:element name="exp" msprop:Generator_ColumnVarNameInTable="columnexp" msprop:Generator_ColumnPropNameInRow="exp" msprop:Generator_ColumnPropNameInTable="expColumn" msprop:Generator_UserColumnName="exp" type="xs:int" />
  2208. </xs:sequence>
  2209. </xs:complexType>
  2210. </xs:element>
  2211. <xs:element name="Departs" msprop:Generator_TableClassName="DepartsDataTable" msprop:Generator_TableVarName="tableDeparts" msprop:Generator_TablePropName="Departs" msprop:Generator_RowDeletingName="DepartsRowDeleting" msprop:Generator_RowChangingName="DepartsRowChanging" msprop:Generator_RowEvHandlerName="DepartsRowChangeEventHandler" msprop:Generator_RowDeletedName="DepartsRowDeleted" msprop:Generator_UserTableName="Departs" msprop:Generator_RowChangedName="DepartsRowChanged" msprop:Generator_RowEvArgName="DepartsRowChangeEvent" msprop:Generator_RowClassName="DepartsRow">
  2212. <xs:complexType>
  2213. <xs:sequence>
  2214. <xs:element name="abbrDep" msprop:Generator_ColumnVarNameInTable="columnabbrDep" msprop:Generator_ColumnPropNameInRow="abbrDep" msprop:Generator_ColumnPropNameInTable="abbrDepColumn" msprop:Generator_UserColumnName="abbrDep">
  2215. <xs:simpleType>
  2216. <xs:restriction base="xs:string">
  2217. <xs:maxLength value="50" />
  2218. </xs:restriction>
  2219. </xs:simpleType>
  2220. </xs:element>
  2221. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
  2222. <xs:simpleType>
  2223. <xs:restriction base="xs:string">
  2224. <xs:maxLength value="2147483647" />
  2225. </xs:restriction>
  2226. </xs:simpleType>
  2227. </xs:element>
  2228. <xs:element name="FacultyAbbr" msprop:Generator_ColumnVarNameInTable="columnFacultyAbbr" msprop:Generator_ColumnPropNameInRow="FacultyAbbr" msprop:Generator_ColumnPropNameInTable="FacultyAbbrColumn" msprop:Generator_UserColumnName="FacultyAbbr">
  2229. <xs:simpleType>
  2230. <xs:restriction base="xs:string">
  2231. <xs:maxLength value="50" />
  2232. </xs:restriction>
  2233. </xs:simpleType>
  2234. </xs:element>
  2235. </xs:sequence>
  2236. </xs:complexType>
  2237. </xs:element>
  2238. <xs:element name="engineer" msprop:Generator_TableClassName="engineerDataTable" msprop:Generator_TableVarName="tableengineer" msprop:Generator_TablePropName="engineer" msprop:Generator_RowDeletingName="engineerRowDeleting" msprop:Generator_RowChangingName="engineerRowChanging" msprop:Generator_RowEvHandlerName="engineerRowChangeEventHandler" msprop:Generator_RowDeletedName="engineerRowDeleted" msprop:Generator_UserTableName="engineer" msprop:Generator_RowChangedName="engineerRowChanged" msprop:Generator_RowEvArgName="engineerRowChangeEvent" msprop:Generator_RowClassName="engineerRow">
  2239. <xs:complexType>
  2240. <xs:sequence>
  2241. <xs:element name="tabnumber" msprop:Generator_ColumnVarNameInTable="columntabnumber" msprop:Generator_ColumnPropNameInRow="tabnumber" msprop:Generator_ColumnPropNameInTable="tabnumberColumn" msprop:Generator_UserColumnName="tabnumber" type="xs:int" />
  2242. <xs:element name="spec" msprop:Generator_ColumnVarNameInTable="columnspec" msprop:Generator_ColumnPropNameInRow="spec" msprop:Generator_ColumnPropNameInTable="specColumn" msprop:Generator_UserColumnName="spec">
  2243. <xs:simpleType>
  2244. <xs:restriction base="xs:string">
  2245. <xs:maxLength value="50" />
  2246. </xs:restriction>
  2247. </xs:simpleType>
  2248. </xs:element>
  2249. </xs:sequence>
  2250. </xs:complexType>
  2251. </xs:element>
  2252. <xs:element name="Exams" msprop:Generator_TableClassName="ExamsDataTable" msprop:Generator_TableVarName="tableExams" msprop:Generator_TablePropName="Exams" msprop:Generator_RowDeletingName="ExamsRowDeleting" msprop:Generator_RowChangingName="ExamsRowChanging" msprop:Generator_RowEvHandlerName="ExamsRowChangeEventHandler" msprop:Generator_RowDeletedName="ExamsRowDeleted" msprop:Generator_UserTableName="Exams" msprop:Generator_RowChangedName="ExamsRowChanged" msprop:Generator_RowEvArgName="ExamsRowChangeEvent" msprop:Generator_RowClassName="ExamsRow">
  2253. <xs:complexType>
  2254. <xs:sequence>
  2255. <xs:element name="idExam" msprop:Generator_ColumnVarNameInTable="columnidExam" msprop:Generator_ColumnPropNameInRow="idExam" msprop:Generator_ColumnPropNameInTable="idExamColumn" msprop:Generator_UserColumnName="idExam" type="xs:int" />
  2256. <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date" type="xs:dateTime" />
  2257. <xs:element name="kodSubj" msprop:Generator_ColumnVarNameInTable="columnkodSubj" msprop:Generator_ColumnPropNameInRow="kodSubj" msprop:Generator_ColumnPropNameInTable="kodSubjColumn" msprop:Generator_UserColumnName="kodSubj" type="xs:int" />
  2258. <xs:element name="regNumber" msprop:Generator_ColumnVarNameInTable="columnregNumber" msprop:Generator_ColumnPropNameInRow="regNumber" msprop:Generator_ColumnPropNameInTable="regNumberColumn" msprop:Generator_UserColumnName="regNumber" type="xs:int" />
  2259. <xs:element name="tabNumber" msprop:Generator_ColumnVarNameInTable="columntabNumber" msprop:Generator_ColumnPropNameInRow="tabNumber" msprop:Generator_ColumnPropNameInTable="tabNumberColumn" msprop:Generator_UserColumnName="tabNumber" type="xs:int" />
  2260. <xs:element name="Classroom" msprop:Generator_ColumnVarNameInTable="columnClassroom" msprop:Generator_ColumnPropNameInRow="Classroom" msprop:Generator_ColumnPropNameInTable="ClassroomColumn" msprop:Generator_UserColumnName="Classroom">
  2261. <xs:simpleType>
  2262. <xs:restriction base="xs:string">
  2263. <xs:maxLength value="50" />
  2264. </xs:restriction>
  2265. </xs:simpleType>
  2266. </xs:element>
  2267. <xs:element name="mark" msprop:Generator_ColumnVarNameInTable="columnmark" msprop:Generator_ColumnPropNameInRow="mark" msprop:Generator_ColumnPropNameInTable="markColumn" msprop:Generator_UserColumnName="mark">
  2268. <xs:simpleType>
  2269. <xs:restriction base="xs:string">
  2270. <xs:maxLength value="50" />
  2271. </xs:restriction>
  2272. </xs:simpleType>
  2273. </xs:element>
  2274. </xs:sequence>
  2275. </xs:complexType>
  2276. </xs:element>
  2277. <xs:element name="Fuculty" msprop:Generator_TableClassName="FucultyDataTable" msprop:Generator_TableVarName="tableFuculty" msprop:Generator_TablePropName="Fuculty" msprop:Generator_RowDeletingName="FucultyRowDeleting" msprop:Generator_RowChangingName="FucultyRowChanging" msprop:Generator_RowEvHandlerName="FucultyRowChangeEventHandler" msprop:Generator_RowDeletedName="FucultyRowDeleted" msprop:Generator_UserTableName="Fuculty" msprop:Generator_RowChangedName="FucultyRowChanged" msprop:Generator_RowEvArgName="FucultyRowChangeEvent" msprop:Generator_RowClassName="FucultyRow">
  2278. <xs:complexType>
  2279. <xs:sequence>
  2280. <xs:element name="abbrF" msprop:Generator_ColumnVarNameInTable="columnabbrF" msprop:Generator_ColumnPropNameInRow="abbrF" msprop:Generator_ColumnPropNameInTable="abbrFColumn" msprop:Generator_UserColumnName="abbrF">
  2281. <xs:simpleType>
  2282. <xs:restriction base="xs:string">
  2283. <xs:maxLength value="50" />
  2284. </xs:restriction>
  2285. </xs:simpleType>
  2286. </xs:element>
  2287. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
  2288. <xs:simpleType>
  2289. <xs:restriction base="xs:string">
  2290. <xs:maxLength value="50" />
  2291. </xs:restriction>
  2292. </xs:simpleType>
  2293. </xs:element>
  2294. </xs:sequence>
  2295. </xs:complexType>
  2296. </xs:element>
  2297. <xs:element name="KindOfgov" msprop:Generator_TableClassName="KindOfgovDataTable" msprop:Generator_TableVarName="tableKindOfgov" msprop:Generator_TablePropName="KindOfgov" msprop:Generator_RowDeletingName="KindOfgovRowDeleting" msprop:Generator_RowChangingName="KindOfgovRowChanging" msprop:Generator_RowEvHandlerName="KindOfgovRowChangeEventHandler" msprop:Generator_RowDeletedName="KindOfgovRowDeleted" msprop:Generator_UserTableName="KindOfgov" msprop:Generator_RowChangedName="KindOfgovRowChanged" msprop:Generator_RowEvArgName="KindOfgovRowChangeEvent" msprop:Generator_RowClassName="KindOfgovRow">
  2298. <xs:complexType>
  2299. <xs:sequence>
  2300. <xs:element name="kod" msprop:Generator_ColumnVarNameInTable="columnkod" msprop:Generator_ColumnPropNameInRow="kod" msprop:Generator_ColumnPropNameInTable="kodColumn" msprop:Generator_UserColumnName="kod" type="xs:int" />
  2301. <xs:element name="kind" msprop:Generator_ColumnVarNameInTable="columnkind" msprop:Generator_ColumnPropNameInRow="kind" msprop:Generator_ColumnPropNameInTable="kindColumn" msprop:Generator_UserColumnName="kind">
  2302. <xs:simpleType>
  2303. <xs:restriction base="xs:string">
  2304. <xs:maxLength value="50" />
  2305. </xs:restriction>
  2306. </xs:simpleType>
  2307. </xs:element>
  2308. </xs:sequence>
  2309. </xs:complexType>
  2310. </xs:element>
  2311. <xs:element name="Order" msprop:Generator_TableClassName="OrderDataTable" msprop:Generator_TableVarName="tableOrder" msprop:Generator_TablePropName="Order" msprop:Generator_RowDeletingName="OrderRowDeleting" msprop:Generator_RowChangingName="OrderRowChanging" msprop:Generator_RowEvHandlerName="OrderRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderRowDeleted" msprop:Generator_UserTableName="Order" msprop:Generator_RowChangedName="OrderRowChanged" msprop:Generator_RowEvArgName="OrderRowChangeEvent" msprop:Generator_RowClassName="OrderRow">
  2312. <xs:complexType>
  2313. <xs:sequence>
  2314. <xs:element name="OrderID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
  2315. <xs:element name="OrderStatus" msprop:Generator_ColumnVarNameInTable="columnOrderStatus" msprop:Generator_ColumnPropNameInRow="OrderStatus" msprop:Generator_ColumnPropNameInTable="OrderStatusColumn" msprop:Generator_UserColumnName="OrderStatus">
  2316. <xs:simpleType>
  2317. <xs:restriction base="xs:string">
  2318. <xs:maxLength value="2147483647" />
  2319. </xs:restriction>
  2320. </xs:simpleType>
  2321. </xs:element>
  2322. <xs:element name="OrderDeliveryDate" msprop:Generator_ColumnVarNameInTable="columnOrderDeliveryDate" msprop:Generator_ColumnPropNameInRow="OrderDeliveryDate" msprop:Generator_ColumnPropNameInTable="OrderDeliveryDateColumn" msprop:Generator_UserColumnName="OrderDeliveryDate" type="xs:dateTime" />
  2323. <xs:element name="OrderPickupPoint" msprop:Generator_ColumnVarNameInTable="columnOrderPickupPoint" msprop:Generator_ColumnPropNameInRow="OrderPickupPoint" msprop:Generator_ColumnPropNameInTable="OrderPickupPointColumn" msprop:Generator_UserColumnName="OrderPickupPoint">
  2324. <xs:simpleType>
  2325. <xs:restriction base="xs:string">
  2326. <xs:maxLength value="2147483647" />
  2327. </xs:restriction>
  2328. </xs:simpleType>
  2329. </xs:element>
  2330. </xs:sequence>
  2331. </xs:complexType>
  2332. </xs:element>
  2333. <xs:element name="OrderProduct" msprop:Generator_TableClassName="OrderProductDataTable" msprop:Generator_TableVarName="tableOrderProduct" msprop:Generator_TablePropName="OrderProduct" msprop:Generator_RowDeletingName="OrderProductRowDeleting" msprop:Generator_RowChangingName="OrderProductRowChanging" msprop:Generator_RowEvHandlerName="OrderProductRowChangeEventHandler" msprop:Generator_RowDeletedName="OrderProductRowDeleted" msprop:Generator_UserTableName="OrderProduct" msprop:Generator_RowChangedName="OrderProductRowChanged" msprop:Generator_RowEvArgName="OrderProductRowChangeEvent" msprop:Generator_RowClassName="OrderProductRow">
  2334. <xs:complexType>
  2335. <xs:sequence>
  2336. <xs:element name="OrderID" msprop:Generator_ColumnVarNameInTable="columnOrderID" msprop:Generator_ColumnPropNameInRow="OrderID" msprop:Generator_ColumnPropNameInTable="OrderIDColumn" msprop:Generator_UserColumnName="OrderID" type="xs:int" />
  2337. <xs:element name="ProductArticleNumber" msprop:Generator_ColumnVarNameInTable="columnProductArticleNumber" msprop:Generator_ColumnPropNameInRow="ProductArticleNumber" msprop:Generator_ColumnPropNameInTable="ProductArticleNumberColumn" msprop:Generator_UserColumnName="ProductArticleNumber">
  2338. <xs:simpleType>
  2339. <xs:restriction base="xs:string">
  2340. <xs:maxLength value="100" />
  2341. </xs:restriction>
  2342. </xs:simpleType>
  2343. </xs:element>
  2344. </xs:sequence>
  2345. </xs:complexType>
  2346. </xs:element>
  2347. <xs:element name="Product" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_TablePropName="Product" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_UserTableName="Product" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_RowEvArgName="ProductRowChangeEvent" msprop:Generator_RowClassName="ProductRow">
  2348. <xs:complexType>
  2349. <xs:sequence>
  2350. <xs:element name="ProductArticleNumber" msprop:Generator_ColumnVarNameInTable="columnProductArticleNumber" msprop:Generator_ColumnPropNameInRow="ProductArticleNumber" msprop:Generator_ColumnPropNameInTable="ProductArticleNumberColumn" msprop:Generator_UserColumnName="ProductArticleNumber">
  2351. <xs:simpleType>
  2352. <xs:restriction base="xs:string">
  2353. <xs:maxLength value="100" />
  2354. </xs:restriction>
  2355. </xs:simpleType>
  2356. </xs:element>
  2357. <xs:element name="ProductName" msprop:Generator_ColumnVarNameInTable="columnProductName" msprop:Generator_ColumnPropNameInRow="ProductName" msprop:Generator_ColumnPropNameInTable="ProductNameColumn" msprop:Generator_UserColumnName="ProductName">
  2358. <xs:simpleType>
  2359. <xs:restriction base="xs:string">
  2360. <xs:maxLength value="2147483647" />
  2361. </xs:restriction>
  2362. </xs:simpleType>
  2363. </xs:element>
  2364. <xs:element name="ProductDescription" msprop:Generator_ColumnVarNameInTable="columnProductDescription" msprop:Generator_ColumnPropNameInRow="ProductDescription" msprop:Generator_ColumnPropNameInTable="ProductDescriptionColumn" msprop:Generator_UserColumnName="ProductDescription">
  2365. <xs:simpleType>
  2366. <xs:restriction base="xs:string">
  2367. <xs:maxLength value="2147483647" />
  2368. </xs:restriction>
  2369. </xs:simpleType>
  2370. </xs:element>
  2371. <xs:element name="ProductCategory" msprop:Generator_ColumnVarNameInTable="columnProductCategory" msprop:Generator_ColumnPropNameInRow="ProductCategory" msprop:Generator_ColumnPropNameInTable="ProductCategoryColumn" msprop:Generator_UserColumnName="ProductCategory">
  2372. <xs:simpleType>
  2373. <xs:restriction base="xs:string">
  2374. <xs:maxLength value="2147483647" />
  2375. </xs:restriction>
  2376. </xs:simpleType>
  2377. </xs:element>
  2378. <xs:element name="ProductPhoto" msprop:Generator_ColumnVarNameInTable="columnProductPhoto" msprop:Generator_ColumnPropNameInRow="ProductPhoto" msprop:Generator_ColumnPropNameInTable="ProductPhotoColumn" msprop:Generator_UserColumnName="ProductPhoto" type="xs:base64Binary" />
  2379. <xs:element name="ProductManufacturer" msprop:Generator_ColumnVarNameInTable="columnProductManufacturer" msprop:Generator_ColumnPropNameInRow="ProductManufacturer" msprop:Generator_ColumnPropNameInTable="ProductManufacturerColumn" msprop:Generator_UserColumnName="ProductManufacturer">
  2380. <xs:simpleType>
  2381. <xs:restriction base="xs:string">
  2382. <xs:maxLength value="2147483647" />
  2383. </xs:restriction>
  2384. </xs:simpleType>
  2385. </xs:element>
  2386. <xs:element name="ProductCost" msprop:Generator_ColumnVarNameInTable="columnProductCost" msprop:Generator_ColumnPropNameInRow="ProductCost" msprop:Generator_ColumnPropNameInTable="ProductCostColumn" msprop:Generator_UserColumnName="ProductCost" type="xs:decimal" />
  2387. <xs:element name="ProductDiscountAmount" msprop:Generator_ColumnVarNameInTable="columnProductDiscountAmount" msprop:Generator_ColumnPropNameInRow="ProductDiscountAmount" msprop:Generator_ColumnPropNameInTable="ProductDiscountAmountColumn" msprop:Generator_UserColumnName="ProductDiscountAmount" type="xs:unsignedByte" minOccurs="0" />
  2388. <xs:element name="ProductQuantityInStock" msprop:Generator_ColumnVarNameInTable="columnProductQuantityInStock" msprop:Generator_ColumnPropNameInRow="ProductQuantityInStock" msprop:Generator_ColumnPropNameInTable="ProductQuantityInStockColumn" msprop:Generator_UserColumnName="ProductQuantityInStock" type="xs:int" />
  2389. <xs:element name="ProductStatus" msprop:Generator_ColumnVarNameInTable="columnProductStatus" msprop:Generator_ColumnPropNameInRow="ProductStatus" msprop:Generator_ColumnPropNameInTable="ProductStatusColumn" msprop:Generator_UserColumnName="ProductStatus">
  2390. <xs:simpleType>
  2391. <xs:restriction base="xs:string">
  2392. <xs:maxLength value="2147483647" />
  2393. </xs:restriction>
  2394. </xs:simpleType>
  2395. </xs:element>
  2396. </xs:sequence>
  2397. </xs:complexType>
  2398. </xs:element>
  2399. <xs:element name="Role" msprop:Generator_TableClassName="RoleDataTable" msprop:Generator_TableVarName="tableRole" msprop:Generator_TablePropName="Role" msprop:Generator_RowDeletingName="RoleRowDeleting" msprop:Generator_RowChangingName="RoleRowChanging" msprop:Generator_RowEvHandlerName="RoleRowChangeEventHandler" msprop:Generator_RowDeletedName="RoleRowDeleted" msprop:Generator_UserTableName="Role" msprop:Generator_RowChangedName="RoleRowChanged" msprop:Generator_RowEvArgName="RoleRowChangeEvent" msprop:Generator_RowClassName="RoleRow">
  2400. <xs:complexType>
  2401. <xs:sequence>
  2402. <xs:element name="RoleID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnRoleID" msprop:Generator_ColumnPropNameInRow="RoleID" msprop:Generator_ColumnPropNameInTable="RoleIDColumn" msprop:Generator_UserColumnName="RoleID" type="xs:int" />
  2403. <xs:element name="RoleName" msprop:Generator_ColumnVarNameInTable="columnRoleName" msprop:Generator_ColumnPropNameInRow="RoleName" msprop:Generator_ColumnPropNameInTable="RoleNameColumn" msprop:Generator_UserColumnName="RoleName">
  2404. <xs:simpleType>
  2405. <xs:restriction base="xs:string">
  2406. <xs:maxLength value="100" />
  2407. </xs:restriction>
  2408. </xs:simpleType>
  2409. </xs:element>
  2410. </xs:sequence>
  2411. </xs:complexType>
  2412. </xs:element>
  2413. <xs:element name="Specs" msprop:Generator_TableClassName="SpecsDataTable" msprop:Generator_TableVarName="tableSpecs" msprop:Generator_TablePropName="Specs" msprop:Generator_RowDeletingName="SpecsRowDeleting" msprop:Generator_RowChangingName="SpecsRowChanging" msprop:Generator_RowEvHandlerName="SpecsRowChangeEventHandler" msprop:Generator_RowDeletedName="SpecsRowDeleted" msprop:Generator_UserTableName="Specs" msprop:Generator_RowChangedName="SpecsRowChanged" msprop:Generator_RowEvArgName="SpecsRowChangeEvent" msprop:Generator_RowClassName="SpecsRow">
  2414. <xs:complexType>
  2415. <xs:sequence>
  2416. <xs:element name="NumberOfSpec" msprop:Generator_ColumnVarNameInTable="columnNumberOfSpec" msprop:Generator_ColumnPropNameInRow="NumberOfSpec" msprop:Generator_ColumnPropNameInTable="NumberOfSpecColumn" msprop:Generator_UserColumnName="NumberOfSpec">
  2417. <xs:simpleType>
  2418. <xs:restriction base="xs:string">
  2419. <xs:maxLength value="50" />
  2420. </xs:restriction>
  2421. </xs:simpleType>
  2422. </xs:element>
  2423. <xs:element name="Direction" msprop:Generator_ColumnVarNameInTable="columnDirection" msprop:Generator_ColumnPropNameInRow="Direction" msprop:Generator_ColumnPropNameInTable="DirectionColumn" msprop:Generator_UserColumnName="Direction">
  2424. <xs:simpleType>
  2425. <xs:restriction base="xs:string">
  2426. <xs:maxLength value="2147483647" />
  2427. </xs:restriction>
  2428. </xs:simpleType>
  2429. </xs:element>
  2430. <xs:element name="abbr" msprop:Generator_ColumnVarNameInTable="columnabbr" msprop:Generator_ColumnPropNameInRow="abbr" msprop:Generator_ColumnPropNameInTable="abbrColumn" msprop:Generator_UserColumnName="abbr">
  2431. <xs:simpleType>
  2432. <xs:restriction base="xs:string">
  2433. <xs:maxLength value="50" />
  2434. </xs:restriction>
  2435. </xs:simpleType>
  2436. </xs:element>
  2437. </xs:sequence>
  2438. </xs:complexType>
  2439. </xs:element>
  2440. <xs:element name="Students" msprop:Generator_TableClassName="StudentsDataTable" msprop:Generator_TableVarName="tableStudents" msprop:Generator_TablePropName="Students" msprop:Generator_RowDeletingName="StudentsRowDeleting" msprop:Generator_RowChangingName="StudentsRowChanging" msprop:Generator_RowEvHandlerName="StudentsRowChangeEventHandler" msprop:Generator_RowDeletedName="StudentsRowDeleted" msprop:Generator_UserTableName="Students" msprop:Generator_RowChangedName="StudentsRowChanged" msprop:Generator_RowEvArgName="StudentsRowChangeEvent" msprop:Generator_RowClassName="StudentsRow">
  2441. <xs:complexType>
  2442. <xs:sequence>
  2443. <xs:element name="idStud" msprop:Generator_ColumnVarNameInTable="columnidStud" msprop:Generator_ColumnPropNameInRow="idStud" msprop:Generator_ColumnPropNameInTable="idStudColumn" msprop:Generator_UserColumnName="idStud" type="xs:int" />
  2444. <xs:element name="number" msprop:Generator_ColumnVarNameInTable="columnnumber" msprop:Generator_ColumnPropNameInRow="number" msprop:Generator_ColumnPropNameInTable="numberColumn" msprop:Generator_UserColumnName="number">
  2445. <xs:simpleType>
  2446. <xs:restriction base="xs:string">
  2447. <xs:maxLength value="50" />
  2448. </xs:restriction>
  2449. </xs:simpleType>
  2450. </xs:element>
  2451. <xs:element name="FIO" msprop:Generator_ColumnVarNameInTable="columnFIO" msprop:Generator_ColumnPropNameInRow="FIO" msprop:Generator_ColumnPropNameInTable="FIOColumn" msprop:Generator_UserColumnName="FIO">
  2452. <xs:simpleType>
  2453. <xs:restriction base="xs:string">
  2454. <xs:maxLength value="2147483647" />
  2455. </xs:restriction>
  2456. </xs:simpleType>
  2457. </xs:element>
  2458. </xs:sequence>
  2459. </xs:complexType>
  2460. </xs:element>
  2461. <xs:element name="students2" msprop:Generator_TableClassName="students2DataTable" msprop:Generator_TableVarName="tablestudents2" msprop:Generator_TablePropName="students2" msprop:Generator_RowDeletingName="students2RowDeleting" msprop:Generator_RowChangingName="students2RowChanging" msprop:Generator_RowEvHandlerName="students2RowChangeEventHandler" msprop:Generator_RowDeletedName="students2RowDeleted" msprop:Generator_UserTableName="students2" msprop:Generator_RowChangedName="students2RowChanged" msprop:Generator_RowEvArgName="students2RowChangeEvent" msprop:Generator_RowClassName="students2Row">
  2462. <xs:complexType>
  2463. <xs:sequence>
  2464. <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  2465. <xs:element name="FIO" msprop:Generator_ColumnVarNameInTable="columnFIO" msprop:Generator_ColumnPropNameInRow="FIO" msprop:Generator_ColumnPropNameInTable="FIOColumn" msprop:Generator_UserColumnName="FIO">
  2466. <xs:simpleType>
  2467. <xs:restriction base="xs:string">
  2468. <xs:maxLength value="50" />
  2469. </xs:restriction>
  2470. </xs:simpleType>
  2471. </xs:element>
  2472. <xs:element name="subj" msprop:Generator_ColumnVarNameInTable="columnsubj" msprop:Generator_ColumnPropNameInRow="subj" msprop:Generator_ColumnPropNameInTable="subjColumn" msprop:Generator_UserColumnName="subj">
  2473. <xs:simpleType>
  2474. <xs:restriction base="xs:string">
  2475. <xs:maxLength value="50" />
  2476. </xs:restriction>
  2477. </xs:simpleType>
  2478. </xs:element>
  2479. <xs:element name="School" msprop:Generator_ColumnVarNameInTable="columnSchool" msprop:Generator_ColumnPropNameInRow="School" msprop:Generator_ColumnPropNameInTable="SchoolColumn" msprop:Generator_UserColumnName="School">
  2480. <xs:simpleType>
  2481. <xs:restriction base="xs:string">
  2482. <xs:maxLength value="50" />
  2483. </xs:restriction>
  2484. </xs:simpleType>
  2485. </xs:element>
  2486. <xs:element name="Points" msprop:Generator_ColumnVarNameInTable="columnPoints" msprop:Generator_ColumnPropNameInRow="Points" msprop:Generator_ColumnPropNameInTable="PointsColumn" msprop:Generator_UserColumnName="Points">
  2487. <xs:simpleType>
  2488. <xs:restriction base="xs:string">
  2489. <xs:maxLength value="50" />
  2490. </xs:restriction>
  2491. </xs:simpleType>
  2492. </xs:element>
  2493. </xs:sequence>
  2494. </xs:complexType>
  2495. </xs:element>
  2496. <xs:element name="Subjs" msprop:Generator_TableClassName="SubjsDataTable" msprop:Generator_TableVarName="tableSubjs" msprop:Generator_TablePropName="Subjs" msprop:Generator_RowDeletingName="SubjsRowDeleting" msprop:Generator_RowChangingName="SubjsRowChanging" msprop:Generator_RowEvHandlerName="SubjsRowChangeEventHandler" msprop:Generator_RowDeletedName="SubjsRowDeleted" msprop:Generator_UserTableName="Subjs" msprop:Generator_RowChangedName="SubjsRowChanged" msprop:Generator_RowEvArgName="SubjsRowChangeEvent" msprop:Generator_RowClassName="SubjsRow">
  2497. <xs:complexType>
  2498. <xs:sequence>
  2499. <xs:element name="idsubj" msprop:Generator_ColumnVarNameInTable="columnidsubj" msprop:Generator_ColumnPropNameInRow="idsubj" msprop:Generator_ColumnPropNameInTable="idsubjColumn" msprop:Generator_UserColumnName="idsubj" type="xs:int" />
  2500. <xs:element name="hours" msprop:Generator_ColumnVarNameInTable="columnhours" msprop:Generator_ColumnPropNameInRow="hours" msprop:Generator_ColumnPropNameInTable="hoursColumn" msprop:Generator_UserColumnName="hours" type="xs:int" />
  2501. <xs:element name="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnPropNameInTable="NameColumn" msprop:Generator_UserColumnName="Name">
  2502. <xs:simpleType>
  2503. <xs:restriction base="xs:string">
  2504. <xs:maxLength value="50" />
  2505. </xs:restriction>
  2506. </xs:simpleType>
  2507. </xs:element>
  2508. <xs:element name="abbr" msprop:Generator_ColumnVarNameInTable="columnabbr" msprop:Generator_ColumnPropNameInRow="abbr" msprop:Generator_ColumnPropNameInTable="abbrColumn" msprop:Generator_UserColumnName="abbr">
  2509. <xs:simpleType>
  2510. <xs:restriction base="xs:string">
  2511. <xs:maxLength value="50" />
  2512. </xs:restriction>
  2513. </xs:simpleType>
  2514. </xs:element>
  2515. </xs:sequence>
  2516. </xs:complexType>
  2517. </xs:element>
  2518. <xs:element name="tbl_categories" msprop:Generator_TableClassName="tbl_categoriesDataTable" msprop:Generator_TableVarName="tabletbl_categories" msprop:Generator_TablePropName="tbl_categories" msprop:Generator_RowDeletingName="tbl_categoriesRowDeleting" msprop:Generator_RowChangingName="tbl_categoriesRowChanging" msprop:Generator_RowEvHandlerName="tbl_categoriesRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_categoriesRowDeleted" msprop:Generator_UserTableName="tbl_categories" msprop:Generator_RowChangedName="tbl_categoriesRowChanged" msprop:Generator_RowEvArgName="tbl_categoriesRowChangeEvent" msprop:Generator_RowClassName="tbl_categoriesRow">
  2519. <xs:complexType>
  2520. <xs:sequence>
  2521. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2522. <xs:element name="title" msprop:Generator_ColumnVarNameInTable="columntitle" msprop:Generator_ColumnPropNameInRow="title" msprop:Generator_ColumnPropNameInTable="titleColumn" msprop:Generator_UserColumnName="title" minOccurs="0">
  2523. <xs:simpleType>
  2524. <xs:restriction base="xs:string">
  2525. <xs:maxLength value="50" />
  2526. </xs:restriction>
  2527. </xs:simpleType>
  2528. </xs:element>
  2529. <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description" minOccurs="0">
  2530. <xs:simpleType>
  2531. <xs:restriction base="xs:string">
  2532. <xs:maxLength value="2147483647" />
  2533. </xs:restriction>
  2534. </xs:simpleType>
  2535. </xs:element>
  2536. <xs:element name="added_date" msprop:Generator_ColumnVarNameInTable="columnadded_date" msprop:Generator_ColumnPropNameInRow="added_date" msprop:Generator_ColumnPropNameInTable="added_dateColumn" msprop:Generator_UserColumnName="added_date" type="xs:dateTime" minOccurs="0" />
  2537. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2538. </xs:sequence>
  2539. </xs:complexType>
  2540. </xs:element>
  2541. <xs:element name="tbl_dea_cust" msprop:Generator_TableClassName="tbl_dea_custDataTable" msprop:Generator_TableVarName="tabletbl_dea_cust" msprop:Generator_TablePropName="tbl_dea_cust" msprop:Generator_RowDeletingName="tbl_dea_custRowDeleting" msprop:Generator_RowChangingName="tbl_dea_custRowChanging" msprop:Generator_RowEvHandlerName="tbl_dea_custRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_dea_custRowDeleted" msprop:Generator_UserTableName="tbl_dea_cust" msprop:Generator_RowChangedName="tbl_dea_custRowChanged" msprop:Generator_RowEvArgName="tbl_dea_custRowChangeEvent" msprop:Generator_RowClassName="tbl_dea_custRow">
  2542. <xs:complexType>
  2543. <xs:sequence>
  2544. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2545. <xs:element name="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" minOccurs="0">
  2546. <xs:simpleType>
  2547. <xs:restriction base="xs:string">
  2548. <xs:maxLength value="50" />
  2549. </xs:restriction>
  2550. </xs:simpleType>
  2551. </xs:element>
  2552. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  2553. <xs:simpleType>
  2554. <xs:restriction base="xs:string">
  2555. <xs:maxLength value="150" />
  2556. </xs:restriction>
  2557. </xs:simpleType>
  2558. </xs:element>
  2559. <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
  2560. <xs:simpleType>
  2561. <xs:restriction base="xs:string">
  2562. <xs:maxLength value="150" />
  2563. </xs:restriction>
  2564. </xs:simpleType>
  2565. </xs:element>
  2566. <xs:element name="contact" msprop:Generator_ColumnVarNameInTable="columncontact" msprop:Generator_ColumnPropNameInRow="contact" msprop:Generator_ColumnPropNameInTable="contactColumn" msprop:Generator_UserColumnName="contact" minOccurs="0">
  2567. <xs:simpleType>
  2568. <xs:restriction base="xs:string">
  2569. <xs:maxLength value="15" />
  2570. </xs:restriction>
  2571. </xs:simpleType>
  2572. </xs:element>
  2573. <xs:element name="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address" minOccurs="0">
  2574. <xs:simpleType>
  2575. <xs:restriction base="xs:string">
  2576. <xs:maxLength value="2147483647" />
  2577. </xs:restriction>
  2578. </xs:simpleType>
  2579. </xs:element>
  2580. <xs:element name="added_date" msprop:Generator_ColumnVarNameInTable="columnadded_date" msprop:Generator_ColumnPropNameInRow="added_date" msprop:Generator_ColumnPropNameInTable="added_dateColumn" msprop:Generator_UserColumnName="added_date" type="xs:dateTime" minOccurs="0" />
  2581. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2582. </xs:sequence>
  2583. </xs:complexType>
  2584. </xs:element>
  2585. <xs:element name="tbl_products" msprop:Generator_TableClassName="tbl_productsDataTable" msprop:Generator_TableVarName="tabletbl_products" msprop:Generator_TablePropName="tbl_products" msprop:Generator_RowDeletingName="tbl_productsRowDeleting" msprop:Generator_RowChangingName="tbl_productsRowChanging" msprop:Generator_RowEvHandlerName="tbl_productsRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_productsRowDeleted" msprop:Generator_UserTableName="tbl_products" msprop:Generator_RowChangedName="tbl_productsRowChanged" msprop:Generator_RowEvArgName="tbl_productsRowChangeEvent" msprop:Generator_RowClassName="tbl_productsRow">
  2586. <xs:complexType>
  2587. <xs:sequence>
  2588. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2589. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name" minOccurs="0">
  2590. <xs:simpleType>
  2591. <xs:restriction base="xs:string">
  2592. <xs:maxLength value="50" />
  2593. </xs:restriction>
  2594. </xs:simpleType>
  2595. </xs:element>
  2596. <xs:element name="category" msprop:Generator_ColumnVarNameInTable="columncategory" msprop:Generator_ColumnPropNameInRow="category" msprop:Generator_ColumnPropNameInTable="categoryColumn" msprop:Generator_UserColumnName="category" minOccurs="0">
  2597. <xs:simpleType>
  2598. <xs:restriction base="xs:string">
  2599. <xs:maxLength value="50" />
  2600. </xs:restriction>
  2601. </xs:simpleType>
  2602. </xs:element>
  2603. <xs:element name="description" msprop:Generator_ColumnVarNameInTable="columndescription" msprop:Generator_ColumnPropNameInRow="description" msprop:Generator_ColumnPropNameInTable="descriptionColumn" msprop:Generator_UserColumnName="description" minOccurs="0">
  2604. <xs:simpleType>
  2605. <xs:restriction base="xs:string">
  2606. <xs:maxLength value="2147483647" />
  2607. </xs:restriction>
  2608. </xs:simpleType>
  2609. </xs:element>
  2610. <xs:element name="rate" msprop:Generator_ColumnVarNameInTable="columnrate" msprop:Generator_ColumnPropNameInRow="rate" msprop:Generator_ColumnPropNameInTable="rateColumn" msprop:Generator_UserColumnName="rate" type="xs:decimal" minOccurs="0" />
  2611. <xs:element name="qty" msprop:Generator_ColumnVarNameInTable="columnqty" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_UserColumnName="qty" type="xs:decimal" minOccurs="0" />
  2612. <xs:element name="added_date" msprop:Generator_ColumnVarNameInTable="columnadded_date" msprop:Generator_ColumnPropNameInRow="added_date" msprop:Generator_ColumnPropNameInTable="added_dateColumn" msprop:Generator_UserColumnName="added_date" type="xs:dateTime" minOccurs="0" />
  2613. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2614. </xs:sequence>
  2615. </xs:complexType>
  2616. </xs:element>
  2617. <xs:element name="tbl_transaction_detail" msprop:Generator_TableClassName="tbl_transaction_detailDataTable" msprop:Generator_TableVarName="tabletbl_transaction_detail" msprop:Generator_TablePropName="tbl_transaction_detail" msprop:Generator_RowDeletingName="tbl_transaction_detailRowDeleting" msprop:Generator_RowChangingName="tbl_transaction_detailRowChanging" msprop:Generator_RowEvHandlerName="tbl_transaction_detailRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_transaction_detailRowDeleted" msprop:Generator_UserTableName="tbl_transaction_detail" msprop:Generator_RowChangedName="tbl_transaction_detailRowChanged" msprop:Generator_RowEvArgName="tbl_transaction_detailRowChangeEvent" msprop:Generator_RowClassName="tbl_transaction_detailRow">
  2618. <xs:complexType>
  2619. <xs:sequence>
  2620. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2621. <xs:element name="product_id" msprop:Generator_ColumnVarNameInTable="columnproduct_id" msprop:Generator_ColumnPropNameInRow="product_id" msprop:Generator_ColumnPropNameInTable="product_idColumn" msprop:Generator_UserColumnName="product_id" type="xs:int" minOccurs="0" />
  2622. <xs:element name="rate" msprop:Generator_ColumnVarNameInTable="columnrate" msprop:Generator_ColumnPropNameInRow="rate" msprop:Generator_ColumnPropNameInTable="rateColumn" msprop:Generator_UserColumnName="rate" type="xs:decimal" minOccurs="0" />
  2623. <xs:element name="qty" msprop:Generator_ColumnVarNameInTable="columnqty" msprop:Generator_ColumnPropNameInRow="qty" msprop:Generator_ColumnPropNameInTable="qtyColumn" msprop:Generator_UserColumnName="qty" type="xs:decimal" minOccurs="0" />
  2624. <xs:element name="total" msprop:Generator_ColumnVarNameInTable="columntotal" msprop:Generator_ColumnPropNameInRow="total" msprop:Generator_ColumnPropNameInTable="totalColumn" msprop:Generator_UserColumnName="total" type="xs:decimal" minOccurs="0" />
  2625. <xs:element name="dea_cust_id" msprop:Generator_ColumnVarNameInTable="columndea_cust_id" msprop:Generator_ColumnPropNameInRow="dea_cust_id" msprop:Generator_ColumnPropNameInTable="dea_cust_idColumn" msprop:Generator_UserColumnName="dea_cust_id" type="xs:int" minOccurs="0" />
  2626. <xs:element name="added_date" msprop:Generator_ColumnVarNameInTable="columnadded_date" msprop:Generator_ColumnPropNameInRow="added_date" msprop:Generator_ColumnPropNameInTable="added_dateColumn" msprop:Generator_UserColumnName="added_date" type="xs:dateTime" minOccurs="0" />
  2627. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2628. </xs:sequence>
  2629. </xs:complexType>
  2630. </xs:element>
  2631. <xs:element name="tbl_transactions" msprop:Generator_TableClassName="tbl_transactionsDataTable" msprop:Generator_TableVarName="tabletbl_transactions" msprop:Generator_TablePropName="tbl_transactions" msprop:Generator_RowDeletingName="tbl_transactionsRowDeleting" msprop:Generator_RowChangingName="tbl_transactionsRowChanging" msprop:Generator_RowEvHandlerName="tbl_transactionsRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_transactionsRowDeleted" msprop:Generator_UserTableName="tbl_transactions" msprop:Generator_RowChangedName="tbl_transactionsRowChanged" msprop:Generator_RowEvArgName="tbl_transactionsRowChangeEvent" msprop:Generator_RowClassName="tbl_transactionsRow">
  2632. <xs:complexType>
  2633. <xs:sequence>
  2634. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2635. <xs:element name="type" msprop:Generator_ColumnVarNameInTable="columntype" msprop:Generator_ColumnPropNameInRow="type" msprop:Generator_ColumnPropNameInTable="typeColumn" msprop:Generator_UserColumnName="type" minOccurs="0">
  2636. <xs:simpleType>
  2637. <xs:restriction base="xs:string">
  2638. <xs:maxLength value="50" />
  2639. </xs:restriction>
  2640. </xs:simpleType>
  2641. </xs:element>
  2642. <xs:element name="dea_cust_id" msprop:Generator_ColumnVarNameInTable="columndea_cust_id" msprop:Generator_ColumnPropNameInRow="dea_cust_id" msprop:Generator_ColumnPropNameInTable="dea_cust_idColumn" msprop:Generator_UserColumnName="dea_cust_id" type="xs:int" minOccurs="0" />
  2643. <xs:element name="grandTotal" msprop:Generator_ColumnVarNameInTable="columngrandTotal" msprop:Generator_ColumnPropNameInRow="grandTotal" msprop:Generator_ColumnPropNameInTable="grandTotalColumn" msprop:Generator_UserColumnName="grandTotal" type="xs:decimal" minOccurs="0" />
  2644. <xs:element name="transaction_date" msprop:Generator_ColumnVarNameInTable="columntransaction_date" msprop:Generator_ColumnPropNameInRow="transaction_date" msprop:Generator_ColumnPropNameInTable="transaction_dateColumn" msprop:Generator_UserColumnName="transaction_date" type="xs:dateTime" minOccurs="0" />
  2645. <xs:element name="tax" msprop:Generator_ColumnVarNameInTable="columntax" msprop:Generator_ColumnPropNameInRow="tax" msprop:Generator_ColumnPropNameInTable="taxColumn" msprop:Generator_UserColumnName="tax" type="xs:decimal" minOccurs="0" />
  2646. <xs:element name="discount" msprop:Generator_ColumnVarNameInTable="columndiscount" msprop:Generator_ColumnPropNameInRow="discount" msprop:Generator_ColumnPropNameInTable="discountColumn" msprop:Generator_UserColumnName="discount" type="xs:decimal" minOccurs="0" />
  2647. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2648. </xs:sequence>
  2649. </xs:complexType>
  2650. </xs:element>
  2651. <xs:element name="tbl_users" msprop:Generator_TableClassName="tbl_usersDataTable" msprop:Generator_TableVarName="tabletbl_users" msprop:Generator_TablePropName="tbl_users" msprop:Generator_RowDeletingName="tbl_usersRowDeleting" msprop:Generator_RowChangingName="tbl_usersRowChanging" msprop:Generator_RowEvHandlerName="tbl_usersRowChangeEventHandler" msprop:Generator_RowDeletedName="tbl_usersRowDeleted" msprop:Generator_UserTableName="tbl_users" msprop:Generator_RowChangedName="tbl_usersRowChanged" msprop:Generator_RowEvArgName="tbl_usersRowChangeEvent" msprop:Generator_RowClassName="tbl_usersRow">
  2652. <xs:complexType>
  2653. <xs:sequence>
  2654. <xs:element name="id" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2655. <xs:element name="first_name" msprop:Generator_ColumnVarNameInTable="columnfirst_name" msprop:Generator_ColumnPropNameInRow="first_name" msprop:Generator_ColumnPropNameInTable="first_nameColumn" msprop:Generator_UserColumnName="first_name" minOccurs="0">
  2656. <xs:simpleType>
  2657. <xs:restriction base="xs:string">
  2658. <xs:maxLength value="50" />
  2659. </xs:restriction>
  2660. </xs:simpleType>
  2661. </xs:element>
  2662. <xs:element name="last_name" msprop:Generator_ColumnVarNameInTable="columnlast_name" msprop:Generator_ColumnPropNameInRow="last_name" msprop:Generator_ColumnPropNameInTable="last_nameColumn" msprop:Generator_UserColumnName="last_name" minOccurs="0">
  2663. <xs:simpleType>
  2664. <xs:restriction base="xs:string">
  2665. <xs:maxLength value="50" />
  2666. </xs:restriction>
  2667. </xs:simpleType>
  2668. </xs:element>
  2669. <xs:element name="email" msprop:Generator_ColumnVarNameInTable="columnemail" msprop:Generator_ColumnPropNameInRow="email" msprop:Generator_ColumnPropNameInTable="emailColumn" msprop:Generator_UserColumnName="email" minOccurs="0">
  2670. <xs:simpleType>
  2671. <xs:restriction base="xs:string">
  2672. <xs:maxLength value="150" />
  2673. </xs:restriction>
  2674. </xs:simpleType>
  2675. </xs:element>
  2676. <xs:element name="username" msprop:Generator_ColumnVarNameInTable="columnusername" msprop:Generator_ColumnPropNameInRow="username" msprop:Generator_ColumnPropNameInTable="usernameColumn" msprop:Generator_UserColumnName="username" minOccurs="0">
  2677. <xs:simpleType>
  2678. <xs:restriction base="xs:string">
  2679. <xs:maxLength value="50" />
  2680. </xs:restriction>
  2681. </xs:simpleType>
  2682. </xs:element>
  2683. <xs:element name="password" msprop:Generator_ColumnVarNameInTable="columnpassword" msprop:Generator_ColumnPropNameInRow="password" msprop:Generator_ColumnPropNameInTable="passwordColumn" msprop:Generator_UserColumnName="password" minOccurs="0">
  2684. <xs:simpleType>
  2685. <xs:restriction base="xs:string">
  2686. <xs:maxLength value="50" />
  2687. </xs:restriction>
  2688. </xs:simpleType>
  2689. </xs:element>
  2690. <xs:element name="contact" msprop:Generator_ColumnVarNameInTable="columncontact" msprop:Generator_ColumnPropNameInRow="contact" msprop:Generator_ColumnPropNameInTable="contactColumn" msprop:Generator_UserColumnName="contact" minOccurs="0">
  2691. <xs:simpleType>
  2692. <xs:restriction base="xs:string">
  2693. <xs:maxLength value="15" />
  2694. </xs:restriction>
  2695. </xs:simpleType>
  2696. </xs:element>
  2697. <xs:element name="address" msprop:Generator_ColumnVarNameInTable="columnaddress" msprop:Generator_ColumnPropNameInRow="address" msprop:Generator_ColumnPropNameInTable="addressColumn" msprop:Generator_UserColumnName="address" minOccurs="0">
  2698. <xs:simpleType>
  2699. <xs:restriction base="xs:string">
  2700. <xs:maxLength value="2147483647" />
  2701. </xs:restriction>
  2702. </xs:simpleType>
  2703. </xs:element>
  2704. <xs:element name="gender" msprop:Generator_ColumnVarNameInTable="columngender" msprop:Generator_ColumnPropNameInRow="gender" msprop:Generator_ColumnPropNameInTable="genderColumn" msprop:Generator_UserColumnName="gender" minOccurs="0">
  2705. <xs:simpleType>
  2706. <xs:restriction base="xs:string">
  2707. <xs:maxLength value="10" />
  2708. </xs:restriction>
  2709. </xs:simpleType>
  2710. </xs:element>
  2711. <xs:element name="user_type" msprop:Generator_ColumnVarNameInTable="columnuser_type" msprop:Generator_ColumnPropNameInRow="user_type" msprop:Generator_ColumnPropNameInTable="user_typeColumn" msprop:Generator_UserColumnName="user_type" minOccurs="0">
  2712. <xs:simpleType>
  2713. <xs:restriction base="xs:string">
  2714. <xs:maxLength value="15" />
  2715. </xs:restriction>
  2716. </xs:simpleType>
  2717. </xs:element>
  2718. <xs:element name="added_date" msprop:Generator_ColumnVarNameInTable="columnadded_date" msprop:Generator_ColumnPropNameInRow="added_date" msprop:Generator_ColumnPropNameInTable="added_dateColumn" msprop:Generator_UserColumnName="added_date" type="xs:dateTime" minOccurs="0" />
  2719. <xs:element name="added_by" msprop:Generator_ColumnVarNameInTable="columnadded_by" msprop:Generator_ColumnPropNameInRow="added_by" msprop:Generator_ColumnPropNameInTable="added_byColumn" msprop:Generator_UserColumnName="added_by" type="xs:int" minOccurs="0" />
  2720. </xs:sequence>
  2721. </xs:complexType>
  2722. </xs:element>
  2723. <xs:element name="Teachers" msprop:Generator_TableClassName="TeachersDataTable" msprop:Generator_TableVarName="tableTeachers" msprop:Generator_TablePropName="Teachers" msprop:Generator_RowDeletingName="TeachersRowDeleting" msprop:Generator_RowChangingName="TeachersRowChanging" msprop:Generator_RowEvHandlerName="TeachersRowChangeEventHandler" msprop:Generator_RowDeletedName="TeachersRowDeleted" msprop:Generator_UserTableName="Teachers" msprop:Generator_RowChangedName="TeachersRowChanged" msprop:Generator_RowEvArgName="TeachersRowChangeEvent" msprop:Generator_RowClassName="TeachersRow">
  2724. <xs:complexType>
  2725. <xs:sequence>
  2726. <xs:element name="tabNumber" msprop:Generator_ColumnVarNameInTable="columntabNumber" msprop:Generator_ColumnPropNameInRow="tabNumber" msprop:Generator_ColumnPropNameInTable="tabNumberColumn" msprop:Generator_UserColumnName="tabNumber" type="xs:int" />
  2727. <xs:element name="rank" msprop:Generator_ColumnVarNameInTable="columnrank" msprop:Generator_ColumnPropNameInRow="rank" msprop:Generator_ColumnPropNameInTable="rankColumn" msprop:Generator_UserColumnName="rank">
  2728. <xs:simpleType>
  2729. <xs:restriction base="xs:string">
  2730. <xs:maxLength value="50" />
  2731. </xs:restriction>
  2732. </xs:simpleType>
  2733. </xs:element>
  2734. <xs:element name="step" msprop:Generator_ColumnVarNameInTable="columnstep" msprop:Generator_ColumnPropNameInRow="step" msprop:Generator_ColumnPropNameInTable="stepColumn" msprop:Generator_UserColumnName="step">
  2735. <xs:simpleType>
  2736. <xs:restriction base="xs:string">
  2737. <xs:maxLength value="50" />
  2738. </xs:restriction>
  2739. </xs:simpleType>
  2740. </xs:element>
  2741. </xs:sequence>
  2742. </xs:complexType>
  2743. </xs:element>
  2744. <xs:element name="Tovari" msprop:Generator_TableClassName="TovariDataTable" msprop:Generator_TableVarName="tableTovari" msprop:Generator_TablePropName="Tovari" msprop:Generator_RowDeletingName="TovariRowDeleting" msprop:Generator_RowChangingName="TovariRowChanging" msprop:Generator_RowEvHandlerName="TovariRowChangeEventHandler" msprop:Generator_RowDeletedName="TovariRowDeleted" msprop:Generator_UserTableName="Tovari" msprop:Generator_RowChangedName="TovariRowChanged" msprop:Generator_RowEvArgName="TovariRowChangeEvent" msprop:Generator_RowClassName="TovariRow">
  2745. <xs:complexType>
  2746. <xs:sequence>
  2747. <xs:element name="Товар" msprop:Generator_ColumnVarNameInTable="columnТовар" msprop:Generator_ColumnPropNameInRow="Товар" msprop:Generator_ColumnPropNameInTable="ТоварColumn" msprop:Generator_UserColumnName="Товар" minOccurs="0">
  2748. <xs:simpleType>
  2749. <xs:restriction base="xs:string">
  2750. <xs:maxLength value="2147483647" />
  2751. </xs:restriction>
  2752. </xs:simpleType>
  2753. </xs:element>
  2754. </xs:sequence>
  2755. </xs:complexType>
  2756. </xs:element>
  2757. <xs:element name="User" msprop:Generator_TableClassName="UserDataTable" msprop:Generator_TableVarName="tableUser" msprop:Generator_TablePropName="User" msprop:Generator_RowDeletingName="UserRowDeleting" msprop:Generator_RowChangingName="UserRowChanging" msprop:Generator_RowEvHandlerName="UserRowChangeEventHandler" msprop:Generator_RowDeletedName="UserRowDeleted" msprop:Generator_UserTableName="User" msprop:Generator_RowChangedName="UserRowChanged" msprop:Generator_RowEvArgName="UserRowChangeEvent" msprop:Generator_RowClassName="UserRow">
  2758. <xs:complexType>
  2759. <xs:sequence>
  2760. <xs:element name="UserID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnUserID" msprop:Generator_ColumnPropNameInRow="UserID" msprop:Generator_ColumnPropNameInTable="UserIDColumn" msprop:Generator_UserColumnName="UserID" type="xs:int" />
  2761. <xs:element name="UserSurname" msprop:Generator_ColumnVarNameInTable="columnUserSurname" msprop:Generator_ColumnPropNameInRow="UserSurname" msprop:Generator_ColumnPropNameInTable="UserSurnameColumn" msprop:Generator_UserColumnName="UserSurname">
  2762. <xs:simpleType>
  2763. <xs:restriction base="xs:string">
  2764. <xs:maxLength value="100" />
  2765. </xs:restriction>
  2766. </xs:simpleType>
  2767. </xs:element>
  2768. <xs:element name="UserName" msprop:Generator_ColumnVarNameInTable="columnUserName" msprop:Generator_ColumnPropNameInRow="UserName" msprop:Generator_ColumnPropNameInTable="UserNameColumn" msprop:Generator_UserColumnName="UserName">
  2769. <xs:simpleType>
  2770. <xs:restriction base="xs:string">
  2771. <xs:maxLength value="100" />
  2772. </xs:restriction>
  2773. </xs:simpleType>
  2774. </xs:element>
  2775. <xs:element name="UserPatronymic" msprop:Generator_ColumnVarNameInTable="columnUserPatronymic" msprop:Generator_ColumnPropNameInRow="UserPatronymic" msprop:Generator_ColumnPropNameInTable="UserPatronymicColumn" msprop:Generator_UserColumnName="UserPatronymic">
  2776. <xs:simpleType>
  2777. <xs:restriction base="xs:string">
  2778. <xs:maxLength value="100" />
  2779. </xs:restriction>
  2780. </xs:simpleType>
  2781. </xs:element>
  2782. <xs:element name="UserLogin" msprop:Generator_ColumnVarNameInTable="columnUserLogin" msprop:Generator_ColumnPropNameInRow="UserLogin" msprop:Generator_ColumnPropNameInTable="UserLoginColumn" msprop:Generator_UserColumnName="UserLogin">
  2783. <xs:simpleType>
  2784. <xs:restriction base="xs:string">
  2785. <xs:maxLength value="2147483647" />
  2786. </xs:restriction>
  2787. </xs:simpleType>
  2788. </xs:element>
  2789. <xs:element name="UserPassword" msprop:Generator_ColumnVarNameInTable="columnUserPassword" msprop:Generator_ColumnPropNameInRow="UserPassword" msprop:Generator_ColumnPropNameInTable="UserPasswordColumn" msprop:Generator_UserColumnName="UserPassword">
  2790. <xs:simpleType>
  2791. <xs:restriction base="xs:string">
  2792. <xs:maxLength value="2147483647" />
  2793. </xs:restriction>
  2794. </xs:simpleType>
  2795. </xs:element>
  2796. <xs:element name="UserRole" msprop:Generator_ColumnVarNameInTable="columnUserRole" msprop:Generator_ColumnPropNameInRow="UserRole" msprop:Generator_ColumnPropNameInTable="UserRoleColumn" msprop:Generator_UserColumnName="UserRole" type="xs:int" />
  2797. </xs:sequence>
  2798. </xs:complexType>
  2799. </xs:element>
  2800. <xs:element name="woorkers" msprop:Generator_TableClassName="woorkersDataTable" msprop:Generator_TableVarName="tablewoorkers" msprop:Generator_TablePropName="woorkers" msprop:Generator_RowDeletingName="woorkersRowDeleting" msprop:Generator_RowChangingName="woorkersRowChanging" msprop:Generator_RowEvHandlerName="woorkersRowChangeEventHandler" msprop:Generator_RowDeletedName="woorkersRowDeleted" msprop:Generator_UserTableName="woorkers" msprop:Generator_RowChangedName="woorkersRowChanged" msprop:Generator_RowEvArgName="woorkersRowChangeEvent" msprop:Generator_RowClassName="woorkersRow">
  2801. <xs:complexType>
  2802. <xs:sequence>
  2803. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  2804. <xs:element name="NAME" msprop:Generator_ColumnVarNameInTable="columnNAME" msprop:Generator_ColumnPropNameInRow="NAME" msprop:Generator_ColumnPropNameInTable="NAMEColumn" msprop:Generator_UserColumnName="NAME" minOccurs="0">
  2805. <xs:simpleType>
  2806. <xs:restriction base="xs:string">
  2807. <xs:maxLength value="50" />
  2808. </xs:restriction>
  2809. </xs:simpleType>
  2810. </xs:element>
  2811. <xs:element name="login" msprop:Generator_ColumnVarNameInTable="columnlogin" msprop:Generator_ColumnPropNameInRow="login" msprop:Generator_ColumnPropNameInTable="loginColumn" msprop:Generator_UserColumnName="login" minOccurs="0">
  2812. <xs:simpleType>
  2813. <xs:restriction base="xs:string">
  2814. <xs:maxLength value="50" />
  2815. </xs:restriction>
  2816. </xs:simpleType>
  2817. </xs:element>
  2818. <xs:element name="Salary" msprop:Generator_ColumnVarNameInTable="columnSalary" msprop:Generator_ColumnPropNameInRow="Salary" msprop:Generator_ColumnPropNameInTable="SalaryColumn" msprop:Generator_UserColumnName="Salary" type="xs:int" minOccurs="0" />
  2819. <xs:element name="Age" msprop:Generator_ColumnVarNameInTable="columnAge" msprop:Generator_ColumnPropNameInRow="Age" msprop:Generator_ColumnPropNameInTable="AgeColumn" msprop:Generator_UserColumnName="Age" type="xs:int" minOccurs="0" />
  2820. <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" minOccurs="0" />
  2821. <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
  2822. <xs:simpleType>
  2823. <xs:restriction base="xs:string">
  2824. <xs:maxLength value="50" />
  2825. </xs:restriction>
  2826. </xs:simpleType>
  2827. </xs:element>
  2828. </xs:sequence>
  2829. </xs:complexType>
  2830. </xs:element>
  2831. <xs:element name="Worker" msprop:Generator_TableClassName="WorkerDataTable" msprop:Generator_TableVarName="tableWorker" msprop:Generator_TablePropName="Worker" msprop:Generator_RowDeletingName="WorkerRowDeleting" msprop:Generator_RowChangingName="WorkerRowChanging" msprop:Generator_RowEvHandlerName="WorkerRowChangeEventHandler" msprop:Generator_RowDeletedName="WorkerRowDeleted" msprop:Generator_UserTableName="Worker" msprop:Generator_RowChangedName="WorkerRowChanged" msprop:Generator_RowEvArgName="WorkerRowChangeEvent" msprop:Generator_RowClassName="WorkerRow">
  2832. <xs:complexType>
  2833. <xs:sequence>
  2834. <xs:element name="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
  2835. <xs:element name="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" msprop:Generator_UserColumnName="name">
  2836. <xs:simpleType>
  2837. <xs:restriction base="xs:string">
  2838. <xs:maxLength value="255" />
  2839. </xs:restriction>
  2840. </xs:simpleType>
  2841. </xs:element>
  2842. <xs:element name="logn" msprop:Generator_ColumnVarNameInTable="columnlogn" msprop:Generator_ColumnPropNameInRow="logn" msprop:Generator_ColumnPropNameInTable="lognColumn" msprop:Generator_UserColumnName="logn">
  2843. <xs:simpleType>
  2844. <xs:restriction base="xs:string">
  2845. <xs:maxLength value="255" />
  2846. </xs:restriction>
  2847. </xs:simpleType>
  2848. </xs:element>
  2849. <xs:element name="salary" msprop:Generator_ColumnVarNameInTable="columnsalary" msprop:Generator_ColumnPropNameInRow="salary" msprop:Generator_ColumnPropNameInTable="salaryColumn" msprop:Generator_UserColumnName="salary">
  2850. <xs:simpleType>
  2851. <xs:restriction base="xs:string">
  2852. <xs:maxLength value="255" />
  2853. </xs:restriction>
  2854. </xs:simpleType>
  2855. </xs:element>
  2856. <xs:element name="age" msprop:Generator_ColumnVarNameInTable="columnage" msprop:Generator_ColumnPropNameInRow="age" msprop:Generator_ColumnPropNameInTable="ageColumn" msprop:Generator_UserColumnName="age">
  2857. <xs:simpleType>
  2858. <xs:restriction base="xs:string">
  2859. <xs:maxLength value="255" />
  2860. </xs:restriction>
  2861. </xs:simpleType>
  2862. </xs:element>
  2863. <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date" type="xs:dateTime" />
  2864. <xs:element name="discription" msprop:Generator_ColumnVarNameInTable="columndiscription" msprop:Generator_ColumnPropNameInRow="discription" msprop:Generator_ColumnPropNameInTable="discriptionColumn" msprop:Generator_UserColumnName="discription">
  2865. <xs:simpleType>
  2866. <xs:restriction base="xs:string">
  2867. <xs:maxLength value="255" />
  2868. </xs:restriction>
  2869. </xs:simpleType>
  2870. </xs:element>
  2871. </xs:sequence>
  2872. </xs:complexType>
  2873. </xs:element>
  2874. <xs:element name="Workers" msprop:Generator_TableClassName="WorkersDataTable" msprop:Generator_TableVarName="tableWorkers" msprop:Generator_TablePropName="Workers" msprop:Generator_RowDeletingName="WorkersRowDeleting" msprop:Generator_RowChangingName="WorkersRowChanging" msprop:Generator_RowEvHandlerName="WorkersRowChangeEventHandler" msprop:Generator_RowDeletedName="WorkersRowDeleted" msprop:Generator_UserTableName="Workers" msprop:Generator_RowChangedName="WorkersRowChanged" msprop:Generator_RowEvArgName="WorkersRowChangeEvent" msprop:Generator_RowClassName="WorkersRow">
  2875. <xs:complexType>
  2876. <xs:sequence>
  2877. <xs:element name="ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID" type="xs:int" />
  2878. <xs:element name="Login" msprop:Generator_ColumnVarNameInTable="columnLogin" msprop:Generator_ColumnPropNameInRow="Login" msprop:Generator_ColumnPropNameInTable="LoginColumn" msprop:Generator_UserColumnName="Login" minOccurs="0">
  2879. <xs:simpleType>
  2880. <xs:restriction base="xs:string">
  2881. <xs:maxLength value="255" />
  2882. </xs:restriction>
  2883. </xs:simpleType>
  2884. </xs:element>
  2885. <xs:element name="Salary" msprop:Generator_ColumnVarNameInTable="columnSalary" msprop:Generator_ColumnPropNameInRow="Salary" msprop:Generator_ColumnPropNameInTable="SalaryColumn" msprop:Generator_UserColumnName="Salary" type="xs:decimal" minOccurs="0" />
  2886. <xs:element name="Age" msprop:Generator_ColumnVarNameInTable="columnAge" msprop:Generator_ColumnPropNameInRow="Age" msprop:Generator_ColumnPropNameInTable="AgeColumn" msprop:Generator_UserColumnName="Age" type="xs:int" minOccurs="0" />
  2887. <xs:element name="Date" msprop:Generator_ColumnVarNameInTable="columnDate" msprop:Generator_ColumnPropNameInRow="Date" msprop:Generator_ColumnPropNameInTable="DateColumn" msprop:Generator_UserColumnName="Date" type="xs:dateTime" minOccurs="0" />
  2888. <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" minOccurs="0">
  2889. <xs:simpleType>
  2890. <xs:restriction base="xs:string">
  2891. <xs:maxLength value="2147483647" />
  2892. </xs:restriction>
  2893. </xs:simpleType>
  2894. </xs:element>
  2895. </xs:sequence>
  2896. </xs:complexType>
  2897. </xs:element>
  2898. <xs:element name="Продажи" msprop:Generator_TableClassName="ПродажиDataTable" msprop:Generator_TableVarName="tableПродажи" msprop:Generator_TablePropName="Продажи" msprop:Generator_RowDeletingName="ПродажиRowDeleting" msprop:Generator_RowChangingName="ПродажиRowChanging" msprop:Generator_RowEvHandlerName="ПродажиRowChangeEventHandler" msprop:Generator_RowDeletedName="ПродажиRowDeleted" msprop:Generator_UserTableName="Продажи" msprop:Generator_RowChangedName="ПродажиRowChanged" msprop:Generator_RowEvArgName="ПродажиRowChangeEvent" msprop:Generator_RowClassName="ПродажиRow">
  2899. <xs:complexType>
  2900. <xs:sequence>
  2901. <xs:element name="код_товара" msprop:Generator_ColumnVarNameInTable="columnкод_товара" msprop:Generator_ColumnPropNameInRow="код_товара" msprop:Generator_ColumnPropNameInTable="код_товараColumn" msprop:Generator_UserColumnName="код_товара" type="xs:int" />
  2902. <xs:element name="дата" msprop:Generator_ColumnVarNameInTable="columnдата" msprop:Generator_ColumnPropNameInRow="дата" msprop:Generator_ColumnPropNameInTable="датаColumn" msprop:Generator_UserColumnName="дата" minOccurs="0">
  2903. <xs:simpleType>
  2904. <xs:restriction base="xs:string">
  2905. <xs:maxLength value="50" />
  2906. </xs:restriction>
  2907. </xs:simpleType>
  2908. </xs:element>
  2909. <xs:element name="количество" msprop:Generator_ColumnVarNameInTable="columnколичество" msprop:Generator_ColumnPropNameInRow="количество" msprop:Generator_ColumnPropNameInTable="количествоColumn" msprop:Generator_UserColumnName="количество" minOccurs="0">
  2910. <xs:simpleType>
  2911. <xs:restriction base="xs:string">
  2912. <xs:maxLength value="50" />
  2913. </xs:restriction>
  2914. </xs:simpleType>
  2915. </xs:element>
  2916. </xs:sequence>
  2917. </xs:complexType>
  2918. </xs:element>
  2919. <xs:element name="Товары" msprop:Generator_TableClassName="ТоварыDataTable" msprop:Generator_TableVarName="tableТовары" msprop:Generator_TablePropName="Товары" msprop:Generator_RowDeletingName="ТоварыRowDeleting" msprop:Generator_RowChangingName="ТоварыRowChanging" msprop:Generator_RowEvHandlerName="ТоварыRowChangeEventHandler" msprop:Generator_RowDeletedName="ТоварыRowDeleted" msprop:Generator_UserTableName="Товары" msprop:Generator_RowChangedName="ТоварыRowChanged" msprop:Generator_RowEvArgName="ТоварыRowChangeEvent" msprop:Generator_RowClassName="ТоварыRow">
  2920. <xs:complexType>
  2921. <xs:sequence>
  2922. <xs:element name="код" msprop:Generator_ColumnVarNameInTable="columnкод" msprop:Generator_ColumnPropNameInRow="код" msprop:Generator_ColumnPropNameInTable="кодColumn" msprop:Generator_UserColumnName="код" type="xs:int" minOccurs="0" />
  2923. <xs:element name="название" msprop:Generator_ColumnVarNameInTable="columnназвание" msprop:Generator_ColumnPropNameInRow="название" msprop:Generator_ColumnPropNameInTable="названиеColumn" msprop:Generator_UserColumnName="название" minOccurs="0">
  2924. <xs:simpleType>
  2925. <xs:restriction base="xs:string">
  2926. <xs:maxLength value="50" />
  2927. </xs:restriction>
  2928. </xs:simpleType>
  2929. </xs:element>
  2930. </xs:sequence>
  2931. </xs:complexType>
  2932. </xs:element>
  2933. </xs:choice>
  2934. </xs:complexType>
  2935. <xs:unique name="Constraint1" msdata:PrimaryKey="true">
  2936. <xs:selector xpath=".//mstns:Akademiki" />
  2937. <xs:field xpath="mstns:id" />
  2938. </xs:unique>
  2939. <xs:unique name="Countries_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2940. <xs:selector xpath=".//mstns:Countries" />
  2941. <xs:field xpath="mstns:Name" />
  2942. </xs:unique>
  2943. <xs:unique name="Countries2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2944. <xs:selector xpath=".//mstns:Countries2" />
  2945. <xs:field xpath="mstns:country" />
  2946. </xs:unique>
  2947. <xs:unique name="Departs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2948. <xs:selector xpath=".//mstns:Departs" />
  2949. <xs:field xpath="mstns:abbrDep" />
  2950. </xs:unique>
  2951. <xs:unique name="engineer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2952. <xs:selector xpath=".//mstns:engineer" />
  2953. <xs:field xpath="mstns:tabnumber" />
  2954. </xs:unique>
  2955. <xs:unique name="Exams_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2956. <xs:selector xpath=".//mstns:Exams" />
  2957. <xs:field xpath="mstns:idExam" />
  2958. </xs:unique>
  2959. <xs:unique name="Fuculty_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2960. <xs:selector xpath=".//mstns:Fuculty" />
  2961. <xs:field xpath="mstns:abbrF" />
  2962. </xs:unique>
  2963. <xs:unique name="KindOfgov_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2964. <xs:selector xpath=".//mstns:KindOfgov" />
  2965. <xs:field xpath="mstns:kod" />
  2966. </xs:unique>
  2967. <xs:unique name="Order_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2968. <xs:selector xpath=".//mstns:Order" />
  2969. <xs:field xpath="mstns:OrderID" />
  2970. </xs:unique>
  2971. <xs:unique name="OrderProduct_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2972. <xs:selector xpath=".//mstns:OrderProduct" />
  2973. <xs:field xpath="mstns:OrderID" />
  2974. <xs:field xpath="mstns:ProductArticleNumber" />
  2975. </xs:unique>
  2976. <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2977. <xs:selector xpath=".//mstns:Product" />
  2978. <xs:field xpath="mstns:ProductArticleNumber" />
  2979. </xs:unique>
  2980. <xs:unique name="Role_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2981. <xs:selector xpath=".//mstns:Role" />
  2982. <xs:field xpath="mstns:RoleID" />
  2983. </xs:unique>
  2984. <xs:unique name="Specs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2985. <xs:selector xpath=".//mstns:Specs" />
  2986. <xs:field xpath="mstns:NumberOfSpec" />
  2987. </xs:unique>
  2988. <xs:unique name="Students_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2989. <xs:selector xpath=".//mstns:Students" />
  2990. <xs:field xpath="mstns:idStud" />
  2991. </xs:unique>
  2992. <xs:unique name="students2_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2993. <xs:selector xpath=".//mstns:students2" />
  2994. <xs:field xpath="mstns:ID" />
  2995. </xs:unique>
  2996. <xs:unique name="Subjs_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  2997. <xs:selector xpath=".//mstns:Subjs" />
  2998. <xs:field xpath="mstns:idsubj" />
  2999. </xs:unique>
  3000. <xs:unique name="tbl_categories_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3001. <xs:selector xpath=".//mstns:tbl_categories" />
  3002. <xs:field xpath="mstns:id" />
  3003. </xs:unique>
  3004. <xs:unique name="tbl_dea_cust_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3005. <xs:selector xpath=".//mstns:tbl_dea_cust" />
  3006. <xs:field xpath="mstns:id" />
  3007. </xs:unique>
  3008. <xs:unique name="tbl_products_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3009. <xs:selector xpath=".//mstns:tbl_products" />
  3010. <xs:field xpath="mstns:id" />
  3011. </xs:unique>
  3012. <xs:unique name="tbl_transaction_detail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3013. <xs:selector xpath=".//mstns:tbl_transaction_detail" />
  3014. <xs:field xpath="mstns:id" />
  3015. </xs:unique>
  3016. <xs:unique name="tbl_transactions_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3017. <xs:selector xpath=".//mstns:tbl_transactions" />
  3018. <xs:field xpath="mstns:id" />
  3019. </xs:unique>
  3020. <xs:unique name="tbl_users_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3021. <xs:selector xpath=".//mstns:tbl_users" />
  3022. <xs:field xpath="mstns:id" />
  3023. </xs:unique>
  3024. <xs:unique name="Teachers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3025. <xs:selector xpath=".//mstns:Teachers" />
  3026. <xs:field xpath="mstns:tabNumber" />
  3027. </xs:unique>
  3028. <xs:unique name="User_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3029. <xs:selector xpath=".//mstns:User" />
  3030. <xs:field xpath="mstns:UserID" />
  3031. </xs:unique>
  3032. <xs:unique name="woorkers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3033. <xs:selector xpath=".//mstns:woorkers" />
  3034. <xs:field xpath="mstns:ID" />
  3035. </xs:unique>
  3036. <xs:unique name="Workers_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3037. <xs:selector xpath=".//mstns:Workers" />
  3038. <xs:field xpath="mstns:ID" />
  3039. </xs:unique>
  3040. <xs:unique name="Продажи_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
  3041. <xs:selector xpath=".//mstns:Продажи" />
  3042. <xs:field xpath="mstns:код_товара" />
  3043. </xs:unique>
  3044. </xs:element>
  3045. <xs:annotation>
  3046. <xs:appinfo>
  3047. <msdata:Relationship name="FK__OrderProd__Order__405A880E" msdata:parent="Order" msdata:child="OrderProduct" msdata:parentkey="OrderID" msdata:childkey="OrderID" msprop:Generator_UserChildTable="OrderProduct" msprop:Generator_ChildPropName="GetOrderProductRows" msprop:Generator_UserRelationName="FK__OrderProd__Order__405A880E" msprop:Generator_ParentPropName="OrderRow" msprop:Generator_RelationVarName="relationFK__OrderProd__Order__405A880E" msprop:Generator_UserParentTable="Order" />
  3048. <msdata:Relationship name="FK__OrderProd__Produ__414EAC47" msdata:parent="Product" msdata:child="OrderProduct" msdata:parentkey="ProductArticleNumber" msdata:childkey="ProductArticleNumber" msprop:Generator_UserChildTable="OrderProduct" msprop:Generator_ChildPropName="GetOrderProductRows" msprop:Generator_UserRelationName="FK__OrderProd__Produ__414EAC47" msprop:Generator_RelationVarName="relationFK__OrderProd__Produ__414EAC47" msprop:Generator_UserParentTable="Product" msprop:Generator_ParentPropName="ProductRow" />
  3049. <msdata:Relationship name="FK__User__UserRole__39AD8A7F" msdata:parent="Role" msdata:child="User" msdata:parentkey="RoleID" msdata:childkey="UserRole" msprop:Generator_UserChildTable="User" msprop:Generator_ChildPropName="GetUserRows" msprop:Generator_UserRelationName="FK__User__UserRole__39AD8A7F" msprop:Generator_ParentPropName="RoleRow" msprop:Generator_RelationVarName="relationFK__User__UserRole__39AD8A7F" msprop:Generator_UserParentTable="Role" />
  3050. </xs:appinfo>
  3051. </xs:annotation>
  3052. </xs:schema>