Produced by Araxis Merge on 1/31/2018 10:47:14 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | TBIe_Phase2 _Build 3.zip\Registries TBI\TBI_UserInterface\App_Code | ReportUserAccess.cs | Fri Jan 12 15:50:48 2018 UTC |
| 2 | TBIe_Phase2 _Build 3.zip\Registries TBI\TBI_UserInterface\App_Code | ReportUserAccess.cs | Tue Jan 30 21:10:42 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 1 | 8518 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | #pragma ch ecksum "C: \Users\ DN S D N S \Documents \Developme nt\Project s\CRS\TBI\ TBI_UserIn terface\Ap p_Code\Rep ortUserAcc ess.xsd" " {ff1816ec- aa5e-4d10- 87f7-6f496 3833460}" "1F6CAB7A3 2365167739 1EDCA02EFC 2292EAAD56 E" | |
| 2 | //-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- | |
| 3 | // <auto-g enerated> | |
| 4 | // Thi s code was generated by a tool . | |
| 5 | // Run time Versi on:4.0.303 19.42000 | |
| 6 | // | |
| 7 | // Cha nges to th is file ma y cause in correct be havior and will be l ost if | |
| 8 | // the code is r egenerated . | |
| 9 | // </auto- generated> | |
| 10 | //-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- | |
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | /// <summa ry> | |
| 15 | ///Represe nts a stro ngly typed in-memory cache of data. | |
| 16 | ///</summa ry> | |
| 17 | [global::S ystem.Seri alizable() ] | |
| 18 | [global::S ystem.Comp onentModel .DesignerC ategoryAtt ribute("co de")] | |
| 19 | [global::S ystem.Comp onentModel .ToolboxIt em(true)] | |
| 20 | [global::S ystem.Xml. Serializat ion.XmlSch emaProvide rAttribute ("GetTyped DataSetSch ema")] | |
| 21 | [global::S ystem.Xml. Serializat ion.XmlRoo tAttribute ("ReportUs erAccess") ] | |
| 22 | [global::S ystem.Comp onentModel .Design.He lpKeywordA ttribute(" vs.data.Da taSet")] | |
| 23 | public par tial class ReportUse rAccess : global::Sy stem.Data. DataSet | |
| 24 | { | |
| 25 | ||
| 26 | privat e TBI_GetP ermittedVI SNsDataTab le tableTB I_GetPermi ttedVISNs; | |
| 27 | ||
| 28 | privat e TBI_GetP ermittedSt ationVISNs DataTable tableTBI_G etPermitte dStationVI SNs; | |
| 29 | ||
| 30 | privat e TBI_GetD irectlyPer mittedVISN sDataTable tableTBI_ GetDirectl yPermitted VISNs; | |
| 31 | ||
| 32 | privat e TBI_GetI ndirectlyP ermittedVI SNsDataTab le tableTB I_GetIndir ectlyPermi ttedVISNs; | |
| 33 | ||
| 34 | privat e TBI_GetP ermittedSt ationsData Table tabl eTBI_GetPe rmittedSta tions; | |
| 35 | ||
| 36 | privat e TBI_GetD irectliAnd Indirectly PermittedS tationsDat aTable tab leTBI_GetD irectliAnd Indirectly PermittedS tations; | |
| 37 | ||
| 38 | privat e global:: System.Dat a.SchemaSe rializatio nMode _sch emaSeriali zationMode = global: :System.Da ta.SchemaS erializati onMode.Inc ludeSchema ; | |
| 39 | ||
| 40 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 41 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 42 | public ReportUse rAccess() | |
| 43 | { | |
| 44 | th is.BeginIn it(); | |
| 45 | th is.InitCla ss(); | |
| 46 | gl obal::Syst em.Compone ntModel.Co llectionCh angeEventH andler sch emaChanged Handler = new global ::System.C omponentMo del.Collec tionChange EventHandl er(this.Sc hemaChange d); | |
| 47 | ba se.Tables. Collection Changed += schemaCha ngedHandle r; | |
| 48 | ba se.Relatio ns.Collect ionChanged += schema ChangedHan dler; | |
| 49 | th is.EndInit (); | |
| 50 | } | |
| 51 | ||
| 52 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 53 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 54 | protec ted Report UserAccess (global::S ystem.Runt ime.Serial ization.Se rializatio nInfo info , global:: System.Run time.Seria lization.S treamingCo ntext cont ext) : | |
| 55 | ba se(info, c ontext, fa lse) | |
| 56 | { | |
| 57 | if ((this.Is BinarySeri alized(inf o, context ) == true) ) | |
| 58 | { | |
| 59 | this.Ini tVars(fals e); | |
| 60 | global:: System.Com ponentMode l.Collecti onChangeEv entHandler schemaCha ngedHandle r1 = new g lobal::Sys tem.Compon entModel.C ollectionC hangeEvent Handler(th is.SchemaC hanged); | |
| 61 | this.Tab les.Collec tionChange d += schem aChangedHa ndler1; | |
| 62 | this.Rel ations.Col lectionCha nged += sc hemaChange dHandler1; | |
| 63 | return; | |
| 64 | } | |
| 65 | st ring strSc hema = ((s tring)(inf o.GetValue ("XmlSchem a", typeof (string))) ); | |
| 66 | if ((this.De termineSch emaSeriali zationMode (info, con text) == g lobal::Sys tem.Data.S chemaSeria lizationMo de.Include Schema)) | |
| 67 | { | |
| 68 | global:: System.Dat a.DataSet ds = new g lobal::Sys tem.Data.D ataSet(); | |
| 69 | ds.ReadX mlSchema(n ew global: :System.Xm l.XmlTextR eader(new global::Sy stem.IO.St ringReader (strSchema ))); | |
| 70 | if ((ds. Tables["TB I_GetPermi ttedVISNs" ] != null) ) | |
| 71 | { | |
| 72 | base .Tables.Ad d(new TBI_ GetPermitt edVISNsDat aTable(ds. Tables["TB I_GetPermi ttedVISNs" ])); | |
| 73 | } | |
| 74 | if ((ds. Tables["TB I_GetPermi ttedStatio nVISNs"] ! = null)) | |
| 75 | { | |
| 76 | base .Tables.Ad d(new TBI_ GetPermitt edStationV ISNsDataTa ble(ds.Tab les["TBI_G etPermitte dStationVI SNs"])); | |
| 77 | } | |
| 78 | if ((ds. Tables["TB I_GetDirec tlyPermitt edVISNs"] != null)) | |
| 79 | { | |
| 80 | base .Tables.Ad d(new TBI_ GetDirectl yPermitted VISNsDataT able(ds.Ta bles["TBI_ GetDirectl yPermitted VISNs"])); | |
| 81 | } | |
| 82 | if ((ds. Tables["TB I_GetIndir ectlyPermi ttedVISNs" ] != null) ) | |
| 83 | { | |
| 84 | base .Tables.Ad d(new TBI_ GetIndirec tlyPermitt edVISNsDat aTable(ds. Tables["TB I_GetIndir ectlyPermi ttedVISNs" ])); | |
| 85 | } | |
| 86 | if ((ds. Tables["TB I_GetPermi ttedStatio ns"] != nu ll)) | |
| 87 | { | |
| 88 | base .Tables.Ad d(new TBI_ GetPermitt edStations DataTable( ds.Tables[ "TBI_GetPe rmittedSta tions"])); | |
| 89 | } | |
| 90 | if ((ds. Tables["TB I_GetDirec tliAndIndi rectlyPerm ittedStati ons"] != n ull)) | |
| 91 | { | |
| 92 | base .Tables.Ad d(new TBI_ GetDirectl iAndIndire ctlyPermit tedStation sDataTable (ds.Tables ["TBI_GetD irectliAnd Indirectly PermittedS tations"]) ); | |
| 93 | } | |
| 94 | this.Dat aSetName = ds.DataSe tName; | |
| 95 | this.Pre fix = ds.P refix; | |
| 96 | this.Nam espace = d s.Namespac e; | |
| 97 | this.Loc ale = ds.L ocale; | |
| 98 | this.Cas eSensitive = ds.Case Sensitive; | |
| 99 | this.Enf orceConstr aints = ds .EnforceCo nstraints; | |
| 100 | this.Mer ge(ds, fal se, global ::System.D ata.Missin gSchemaAct ion.Add); | |
| 101 | this.Ini tVars(); | |
| 102 | } | |
| 103 | el se | |
| 104 | { | |
| 105 | this.Rea dXmlSchema (new globa l::System. Xml.XmlTex tReader(ne w global:: System.IO. StringRead er(strSche ma))); | |
| 106 | } | |
| 107 | th is.GetSeri alizationD ata(info, context); | |
| 108 | gl obal::Syst em.Compone ntModel.Co llectionCh angeEventH andler sch emaChanged Handler = new global ::System.C omponentMo del.Collec tionChange EventHandl er(this.Sc hemaChange d); | |
| 109 | ba se.Tables. Collection Changed += schemaCha ngedHandle r; | |
| 110 | th is.Relatio ns.Collect ionChanged += schema ChangedHan dler; | |
| 111 | } | |
| 112 | ||
| 113 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 114 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 115 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 116 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 117 | public TBI_GetPe rmittedVIS NsDataTabl e TBI_GetP ermittedVI SNs | |
| 118 | { | |
| 119 | ge t | |
| 120 | { | |
| 121 | return t his.tableT BI_GetPerm ittedVISNs ; | |
| 122 | } | |
| 123 | } | |
| 124 | ||
| 125 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 126 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 127 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 128 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 129 | public TBI_GetPe rmittedSta tionVISNsD ataTable T BI_GetPerm ittedStati onVISNs | |
| 130 | { | |
| 131 | ge t | |
| 132 | { | |
| 133 | return t his.tableT BI_GetPerm ittedStati onVISNs; | |
| 134 | } | |
| 135 | } | |
| 136 | ||
| 137 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 138 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 139 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 140 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 141 | public TBI_GetDi rectlyPerm ittedVISNs DataTable TBI_GetDir ectlyPermi ttedVISNs | |
| 142 | { | |
| 143 | ge t | |
| 144 | { | |
| 145 | return t his.tableT BI_GetDire ctlyPermit tedVISNs; | |
| 146 | } | |
| 147 | } | |
| 148 | ||
| 149 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 150 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 151 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 152 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 153 | public TBI_GetIn directlyPe rmittedVIS NsDataTabl e TBI_GetI ndirectlyP ermittedVI SNs | |
| 154 | { | |
| 155 | ge t | |
| 156 | { | |
| 157 | return t his.tableT BI_GetIndi rectlyPerm ittedVISNs ; | |
| 158 | } | |
| 159 | } | |
| 160 | ||
| 161 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 162 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 163 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 164 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 165 | public TBI_GetPe rmittedSta tionsDataT able TBI_G etPermitte dStations | |
| 166 | { | |
| 167 | ge t | |
| 168 | { | |
| 169 | return t his.tableT BI_GetPerm ittedStati ons; | |
| 170 | } | |
| 171 | } | |
| 172 | ||
| 173 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 174 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 175 | [globa l::System. ComponentM odel.Brows able(false )] | |
| 176 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)] | |
| 177 | public TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsData Table TBI_ GetDirectl iAndIndire ctlyPermit tedStation s | |
| 178 | { | |
| 179 | ge t | |
| 180 | { | |
| 181 | return t his.tableT BI_GetDire ctliAndInd irectlyPer mittedStat ions; | |
| 182 | } | |
| 183 | } | |
| 184 | ||
| 185 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 186 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 187 | [globa l::System. ComponentM odel.Brows ableAttrib ute(true)] | |
| 188 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Vi sible)] | |
| 189 | public override global::Sy stem.Data. SchemaSeri alizationM ode Schema Serializat ionMode | |
| 190 | { | |
| 191 | ge t | |
| 192 | { | |
| 193 | return t his._schem aSerializa tionMode; | |
| 194 | } | |
| 195 | se t | |
| 196 | { | |
| 197 | this._sc hemaSerial izationMod e = value; | |
| 198 | } | |
| 199 | } | |
| 200 | ||
| 201 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 202 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 203 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Hi dden)] | |
| 204 | public new globa l::System. Data.DataT ableCollec tion Table s | |
| 205 | { | |
| 206 | ge t | |
| 207 | { | |
| 208 | return b ase.Tables ; | |
| 209 | } | |
| 210 | } | |
| 211 | ||
| 212 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 213 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 214 | [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Hi dden)] | |
| 215 | public new globa l::System. Data.DataR elationCol lection Re lations | |
| 216 | { | |
| 217 | ge t | |
| 218 | { | |
| 219 | return b ase.Relati ons; | |
| 220 | } | |
| 221 | } | |
| 222 | ||
| 223 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 224 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 225 | protec ted overri de void In itializeDe rivedDataS et() | |
| 226 | { | |
| 227 | th is.BeginIn it(); | |
| 228 | th is.InitCla ss(); | |
| 229 | th is.EndInit (); | |
| 230 | } | |
| 231 | ||
| 232 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 233 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 234 | public override global::Sy stem.Data. DataSet Cl one() | |
| 235 | { | |
| 236 | Re portUserAc cess cln = ((ReportU serAccess) (base.Clon e())); | |
| 237 | cl n.InitVars (); | |
| 238 | cl n.SchemaSe rializatio nMode = th is.SchemaS erializati onMode; | |
| 239 | re turn cln; | |
| 240 | } | |
| 241 | ||
| 242 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 243 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 244 | protec ted overri de bool Sh ouldSerial izeTables( ) | |
| 245 | { | |
| 246 | re turn false ; | |
| 247 | } | |
| 248 | ||
| 249 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 250 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 251 | protec ted overri de bool Sh ouldSerial izeRelatio ns() | |
| 252 | { | |
| 253 | re turn false ; | |
| 254 | } | |
| 255 | ||
| 256 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 257 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 258 | protec ted overri de void Re adXmlSeria lizable(gl obal::Syst em.Xml.Xml Reader rea der) | |
| 259 | { | |
| 260 | if ((this.De termineSch emaSeriali zationMode (reader) = = global:: System.Dat a.SchemaSe rializatio nMode.Incl udeSchema) ) | |
| 261 | { | |
| 262 | this.Res et(); | |
| 263 | global:: System.Dat a.DataSet ds = new g lobal::Sys tem.Data.D ataSet(); | |
| 264 | ds.ReadX ml(reader) ; | |
| 265 | if ((ds. Tables["TB I_GetPermi ttedVISNs" ] != null) ) | |
| 266 | { | |
| 267 | base .Tables.Ad d(new TBI_ GetPermitt edVISNsDat aTable(ds. Tables["TB I_GetPermi ttedVISNs" ])); | |
| 268 | } | |
| 269 | if ((ds. Tables["TB I_GetPermi ttedStatio nVISNs"] ! = null)) | |
| 270 | { | |
| 271 | base .Tables.Ad d(new TBI_ GetPermitt edStationV ISNsDataTa ble(ds.Tab les["TBI_G etPermitte dStationVI SNs"])); | |
| 272 | } | |
| 273 | if ((ds. Tables["TB I_GetDirec tlyPermitt edVISNs"] != null)) | |
| 274 | { | |
| 275 | base .Tables.Ad d(new TBI_ GetDirectl yPermitted VISNsDataT able(ds.Ta bles["TBI_ GetDirectl yPermitted VISNs"])); | |
| 276 | } | |
| 277 | if ((ds. Tables["TB I_GetIndir ectlyPermi ttedVISNs" ] != null) ) | |
| 278 | { | |
| 279 | base .Tables.Ad d(new TBI_ GetIndirec tlyPermitt edVISNsDat aTable(ds. Tables["TB I_GetIndir ectlyPermi ttedVISNs" ])); | |
| 280 | } | |
| 281 | if ((ds. Tables["TB I_GetPermi ttedStatio ns"] != nu ll)) | |
| 282 | { | |
| 283 | base .Tables.Ad d(new TBI_ GetPermitt edStations DataTable( ds.Tables[ "TBI_GetPe rmittedSta tions"])); | |
| 284 | } | |
| 285 | if ((ds. Tables["TB I_GetDirec tliAndIndi rectlyPerm ittedStati ons"] != n ull)) | |
| 286 | { | |
| 287 | base .Tables.Ad d(new TBI_ GetDirectl iAndIndire ctlyPermit tedStation sDataTable (ds.Tables ["TBI_GetD irectliAnd Indirectly PermittedS tations"]) ); | |
| 288 | } | |
| 289 | this.Dat aSetName = ds.DataSe tName; | |
| 290 | this.Pre fix = ds.P refix; | |
| 291 | this.Nam espace = d s.Namespac e; | |
| 292 | this.Loc ale = ds.L ocale; | |
| 293 | this.Cas eSensitive = ds.Case Sensitive; | |
| 294 | this.Enf orceConstr aints = ds .EnforceCo nstraints; | |
| 295 | this.Mer ge(ds, fal se, global ::System.D ata.Missin gSchemaAct ion.Add); | |
| 296 | this.Ini tVars(); | |
| 297 | } | |
| 298 | el se | |
| 299 | { | |
| 300 | this.Rea dXml(reade r); | |
| 301 | this.Ini tVars(); | |
| 302 | } | |
| 303 | } | |
| 304 | ||
| 305 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 306 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 307 | protec ted overri de global: :System.Xm l.Schema.X mlSchema G etSchemaSe rializable () | |
| 308 | { | |
| 309 | gl obal::Syst em.IO.Memo ryStream s tream = ne w global:: System.IO. MemoryStre am(); | |
| 310 | th is.WriteXm lSchema(ne w global:: System.Xml .XmlTextWr iter(strea m, null)); | |
| 311 | st ream.Posit ion = 0; | |
| 312 | re turn globa l::System. Xml.Schema .XmlSchema .Read(new global::Sy stem.Xml.X mlTextRead er(stream) , null); | |
| 313 | } | |
| 314 | ||
| 315 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 316 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 317 | intern al void In itVars() | |
| 318 | { | |
| 319 | th is.InitVar s(true); | |
| 320 | } | |
| 321 | ||
| 322 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 323 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 324 | intern al void In itVars(boo l initTabl e) | |
| 325 | { | |
| 326 | th is.tableTB I_GetPermi ttedVISNs = ((TBI_Ge tPermitted VISNsDataT able)(base .Tables["T BI_GetPerm ittedVISNs "])); | |
| 327 | if ((initTab le == true )) | |
| 328 | { | |
| 329 | if ((thi s.tableTBI _GetPermit tedVISNs ! = null)) | |
| 330 | { | |
| 331 | this .tableTBI_ GetPermitt edVISNs.In itVars(); | |
| 332 | } | |
| 333 | } | |
| 334 | th is.tableTB I_GetPermi ttedStatio nVISNs = ( (TBI_GetPe rmittedSta tionVISNsD ataTable)( base.Table s["TBI_Get PermittedS tationVISN s"])); | |
| 335 | if ((initTab le == true )) | |
| 336 | { | |
| 337 | if ((thi s.tableTBI _GetPermit tedStation VISNs != n ull)) | |
| 338 | { | |
| 339 | this .tableTBI_ GetPermitt edStationV ISNs.InitV ars(); | |
| 340 | } | |
| 341 | } | |
| 342 | th is.tableTB I_GetDirec tlyPermitt edVISNs = ((TBI_GetD irectlyPer mittedVISN sDataTable )(base.Tab les["TBI_G etDirectly PermittedV ISNs"])); | |
| 343 | if ((initTab le == true )) | |
| 344 | { | |
| 345 | if ((thi s.tableTBI _GetDirect lyPermitte dVISNs != null)) | |
| 346 | { | |
| 347 | this .tableTBI_ GetDirectl yPermitted VISNs.Init Vars(); | |
| 348 | } | |
| 349 | } | |
| 350 | th is.tableTB I_GetIndir ectlyPermi ttedVISNs = ((TBI_Ge tIndirectl yPermitted VISNsDataT able)(base .Tables["T BI_GetIndi rectlyPerm ittedVISNs "])); | |
| 351 | if ((initTab le == true )) | |
| 352 | { | |
| 353 | if ((thi s.tableTBI _GetIndire ctlyPermit tedVISNs ! = null)) | |
| 354 | { | |
| 355 | this .tableTBI_ GetIndirec tlyPermitt edVISNs.In itVars(); | |
| 356 | } | |
| 357 | } | |
| 358 | th is.tableTB I_GetPermi ttedStatio ns = ((TBI _GetPermit tedStation sDataTable )(base.Tab les["TBI_G etPermitte dStations" ])); | |
| 359 | if ((initTab le == true )) | |
| 360 | { | |
| 361 | if ((thi s.tableTBI _GetPermit tedStation s != null) ) | |
| 362 | { | |
| 363 | this .tableTBI_ GetPermitt edStations .InitVars( ); | |
| 364 | } | |
| 365 | } | |
| 366 | th is.tableTB I_GetDirec tliAndIndi rectlyPerm ittedStati ons = ((TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsDataTab le)(base.T ables["TBI _GetDirect liAndIndir ectlyPermi ttedStatio ns"])); | |
| 367 | if ((initTab le == true )) | |
| 368 | { | |
| 369 | if ((thi s.tableTBI _GetDirect liAndIndir ectlyPermi ttedStatio ns != null )) | |
| 370 | { | |
| 371 | this .tableTBI_ GetDirectl iAndIndire ctlyPermit tedStation s.InitVars (); | |
| 372 | } | |
| 373 | } | |
| 374 | } | |
| 375 | ||
| 376 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 377 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 378 | privat e void Ini tClass() | |
| 379 | { | |
| 380 | th is.DataSet Name = "Re portUserAc cess"; | |
| 381 | th is.Prefix = ""; | |
| 382 | th is.Namespa ce = "http ://tempuri .org/Repor tUserAcces s.xsd"; | |
| 383 | th is.Enforce Constraint s = true; | |
| 384 | th is.SchemaS erializati onMode = g lobal::Sys tem.Data.S chemaSeria lizationMo de.Include Schema; | |
| 385 | th is.tableTB I_GetPermi ttedVISNs = new TBI_ GetPermitt edVISNsDat aTable(); | |
| 386 | ba se.Tables. Add(this.t ableTBI_Ge tPermitted VISNs); | |
| 387 | th is.tableTB I_GetPermi ttedStatio nVISNs = n ew TBI_Get PermittedS tationVISN sDataTable (); | |
| 388 | ba se.Tables. Add(this.t ableTBI_Ge tPermitted StationVIS Ns); | |
| 389 | th is.tableTB I_GetDirec tlyPermitt edVISNs = new TBI_Ge tDirectlyP ermittedVI SNsDataTab le(); | |
| 390 | ba se.Tables. Add(this.t ableTBI_Ge tDirectlyP ermittedVI SNs); | |
| 391 | th is.tableTB I_GetIndir ectlyPermi ttedVISNs = new TBI_ GetIndirec tlyPermitt edVISNsDat aTable(); | |
| 392 | ba se.Tables. Add(this.t ableTBI_Ge tIndirectl yPermitted VISNs); | |
| 393 | th is.tableTB I_GetPermi ttedStatio ns = new T BI_GetPerm ittedStati onsDataTab le(); | |
| 394 | ba se.Tables. Add(this.t ableTBI_Ge tPermitted Stations); | |
| 395 | th is.tableTB I_GetDirec tliAndIndi rectlyPerm ittedStati ons = new TBI_GetDir ectliAndIn directlyPe rmittedSta tionsDataT able(); | |
| 396 | ba se.Tables. Add(this.t ableTBI_Ge tDirectliA ndIndirect lyPermitte dStations) ; | |
| 397 | } | |
| 398 | ||
| 399 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 400 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 401 | privat e bool Sho uldSeriali zeTBI_GetP ermittedVI SNs() | |
| 402 | { | |
| 403 | re turn false ; | |
| 404 | } | |
| 405 | ||
| 406 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 407 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 408 | privat e bool Sho uldSeriali zeTBI_GetP ermittedSt ationVISNs () | |
| 409 | { | |
| 410 | re turn false ; | |
| 411 | } | |
| 412 | ||
| 413 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 414 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 415 | privat e bool Sho uldSeriali zeTBI_GetD irectlyPer mittedVISN s() | |
| 416 | { | |
| 417 | re turn false ; | |
| 418 | } | |
| 419 | ||
| 420 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 421 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 422 | privat e bool Sho uldSeriali zeTBI_GetI ndirectlyP ermittedVI SNs() | |
| 423 | { | |
| 424 | re turn false ; | |
| 425 | } | |
| 426 | ||
| 427 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 428 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 429 | privat e bool Sho uldSeriali zeTBI_GetP ermittedSt ations() | |
| 430 | { | |
| 431 | re turn false ; | |
| 432 | } | |
| 433 | ||
| 434 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 435 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 436 | privat e bool Sho uldSeriali zeTBI_GetD irectliAnd Indirectly PermittedS tations() | |
| 437 | { | |
| 438 | re turn false ; | |
| 439 | } | |
| 440 | ||
| 441 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 442 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 443 | privat e void Sch emaChanged (object se nder, glob al::System .Component Model.Coll ectionChan geEventArg s e) | |
| 444 | { | |
| 445 | if ((e.Actio n == globa l::System. ComponentM odel.Colle ctionChang eAction.Re move)) | |
| 446 | { | |
| 447 | this.Ini tVars(); | |
| 448 | } | |
| 449 | } | |
| 450 | ||
| 451 | [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()] | |
| 452 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 453 | public static gl obal::Syst em.Xml.Sch ema.XmlSch emaComplex Type GetTy pedDataSet Schema(glo bal::Syste m.Xml.Sche ma.XmlSche maSet xs) | |
| 454 | { | |
| 455 | Re portUserAc cess ds = new Report UserAccess (); | |
| 456 | gl obal::Syst em.Xml.Sch ema.XmlSch emaComplex Type type = new glob al::System .Xml.Schem a.XmlSchem aComplexTy pe(); | |
| 457 | gl obal::Syst em.Xml.Sch ema.XmlSch emaSequenc e sequence = new glo bal::Syste m.Xml.Sche ma.XmlSche maSequence (); | |
| 458 | gl obal::Syst em.Xml.Sch ema.XmlSch emaAny any = new glo bal::Syste m.Xml.Sche ma.XmlSche maAny(); | |
| 459 | an y.Namespac e = ds.Nam espace; | |
| 460 | se quence.Ite ms.Add(any ); | |
| 461 | ty pe.Particl e = sequen ce; | |
| 462 | gl obal::Syst em.Xml.Sch ema.XmlSch ema dsSche ma = ds.Ge tSchemaSer ializable( ); | |
| 463 | if (xs.Conta ins(dsSche ma.TargetN amespace)) | |
| 464 | { | |
| 465 | global:: System.IO. MemoryStre am s1 = ne w global:: System.IO. MemoryStre am(); | |
| 466 | global:: System.IO. MemoryStre am s2 = ne w global:: System.IO. MemoryStre am(); | |
| 467 | try | |
| 468 | { | |
| 469 | glob al::System .Xml.Schem a.XmlSchem a schema = null; | |
| 470 | dsSc hema.Write (s1); | |
| 471 | for (global::S ystem.Coll ections.IE numerator schemas = xs.Schemas (dsSchema. TargetName space).Get Enumerator (); schema s.MoveNext (); ) | |
| 472 | { | |
| 473 | schema = ( (global::S ystem.Xml. Schema.Xml Schema)(sc hemas.Curr ent)); | |
| 474 | s2.SetLeng th(0); | |
| 475 | schema.Wri te(s2); | |
| 476 | if ((s1.Le ngth == s2 .Length)) | |
| 477 | { | |
| 478 | s1.Pos ition = 0; | |
| 479 | s2.Pos ition = 0; | |
| 480 | for (; ((s1.Posi tion != s1 .Length) | |
| 481 | && ( s1.ReadByt e() == s2. ReadByte() )); ) | |
| 482 | { | |
| 483 | ; | |
| 484 | } | |
| 485 | if ((s 1.Position == s1.Len gth)) | |
| 486 | { | |
| 487 | re turn type; | |
| 488 | } | |
| 489 | } | |
| 490 | } | |
| 491 | } | |
| 492 | finally | |
| 493 | { | |
| 494 | if ( (s1 != nul l)) | |
| 495 | { | |
| 496 | s1.Close() ; | |
| 497 | } | |
| 498 | if ( (s2 != nul l)) | |
| 499 | { | |
| 500 | s2.Close() ; | |
| 501 | } | |
| 502 | } | |
| 503 | } | |
| 504 | xs .Add(dsSch ema); | |
| 505 | re turn type; | |
| 506 | } | |
| 507 | ||
| 508 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 509 | public delegate void TBI_G etPermitte dVISNsRowC hangeEvent Handler(ob ject sende r, TBI_Get PermittedV ISNsRowCha ngeEvent e ); | |
| 510 | ||
| 511 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 512 | public delegate void TBI_G etPermitte dStationVI SNsRowChan geEventHan dler(objec t sender, TBI_GetPer mittedStat ionVISNsRo wChangeEve nt e); | |
| 513 | ||
| 514 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 515 | public delegate void TBI_G etDirectly PermittedV ISNsRowCha ngeEventHa ndler(obje ct sender, TBI_GetDi rectlyPerm ittedVISNs RowChangeE vent e); | |
| 516 | ||
| 517 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 518 | public delegate void TBI_G etIndirect lyPermitte dVISNsRowC hangeEvent Handler(ob ject sende r, TBI_Get Indirectly PermittedV ISNsRowCha ngeEvent e ); | |
| 519 | ||
| 520 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 521 | public delegate void TBI_G etPermitte dStationsR owChangeEv entHandler (object se nder, TBI_ GetPermitt edStations RowChangeE vent e); | |
| 522 | ||
| 523 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 524 | public delegate void TBI_G etDirectli AndIndirec tlyPermitt edStations RowChangeE ventHandle r(object s ender, TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRowChang eEvent e); | |
| 525 | ||
| 526 | /// <s ummary> | |
| 527 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 528 | ///</s ummary> | |
| 529 | [globa l::System. Serializab le()] | |
| 530 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 531 | public partial c lass TBI_G etPermitte dVISNsData Table : gl obal::Syst em.Data.Ty pedTableBa se<TBI_Get PermittedV ISNsRow> | |
| 532 | { | |
| 533 | ||
| 534 | pr ivate glob al::System .Data.Data Column col umnvisnId; | |
| 535 | ||
| 536 | pr ivate glob al::System .Data.Data Column col umnvisnNam e; | |
| 537 | ||
| 538 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 539 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 540 | pu blic TBI_G etPermitte dVISNsData Table() | |
| 541 | { | |
| 542 | this.Tab leName = " TBI_GetPer mittedVISN s"; | |
| 543 | this.Beg inInit(); | |
| 544 | this.Ini tClass(); | |
| 545 | this.End Init(); | |
| 546 | } | |
| 547 | ||
| 548 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 549 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 550 | in ternal TBI _GetPermit tedVISNsDa taTable(gl obal::Syst em.Data.Da taTable ta ble) | |
| 551 | { | |
| 552 | this.Tab leName = t able.Table Name; | |
| 553 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 554 | { | |
| 555 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 556 | } | |
| 557 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 558 | { | |
| 559 | this .Locale = table.Loca le; | |
| 560 | } | |
| 561 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 562 | { | |
| 563 | this .Namespace = table.N amespace; | |
| 564 | } | |
| 565 | this.Pre fix = tabl e.Prefix; | |
| 566 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 567 | } | |
| 568 | ||
| 569 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 570 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 571 | pr otected TB I_GetPermi ttedVISNsD ataTable(g lobal::Sys tem.Runtim e.Serializ ation.Seri alizationI nfo info, global::Sy stem.Runti me.Seriali zation.Str eamingCont ext contex t) : | |
| 572 | base(inf o, context ) | |
| 573 | { | |
| 574 | this.Ini tVars(); | |
| 575 | } | |
| 576 | ||
| 577 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 578 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 579 | pu blic globa l::System. Data.DataC olumn visn IdColumn | |
| 580 | { | |
| 581 | get | |
| 582 | { | |
| 583 | retu rn this.co lumnvisnId ; | |
| 584 | } | |
| 585 | } | |
| 586 | ||
| 587 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 588 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 589 | pu blic globa l::System. Data.DataC olumn visn NameColumn | |
| 590 | { | |
| 591 | get | |
| 592 | { | |
| 593 | retu rn this.co lumnvisnNa me; | |
| 594 | } | |
| 595 | } | |
| 596 | ||
| 597 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 598 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 599 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 600 | pu blic int C ount | |
| 601 | { | |
| 602 | get | |
| 603 | { | |
| 604 | retu rn this.Ro ws.Count; | |
| 605 | } | |
| 606 | } | |
| 607 | ||
| 608 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 609 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 610 | pu blic TBI_G etPermitte dVISNsRow this[int i ndex] | |
| 611 | { | |
| 612 | get | |
| 613 | { | |
| 614 | retu rn ((TBI_G etPermitte dVISNsRow) (this.Rows [index])); | |
| 615 | } | |
| 616 | } | |
| 617 | ||
| 618 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 619 | [f ield:Syste m.NonSeria lized()] | |
| 620 | pu blic event TBI_GetPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tPermitted VISNsRowCh anging; | |
| 621 | ||
| 622 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 623 | [f ield: Syst em.NonSeri alized()] | |
| 624 | pu blic event TBI_GetPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tPermitted VISNsRowCh anged; | |
| 625 | ||
| 626 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 627 | [f ield: Syst em.NonSeri alized()] | |
| 628 | pu blic event TBI_GetPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tPermitted VISNsRowDe leting; | |
| 629 | ||
| 630 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 631 | [f ield: Syst em.NonSeri alized()] | |
| 632 | pu blic event TBI_GetPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tPermitted VISNsRowDe leted; | |
| 633 | ||
| 634 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 635 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 636 | pu blic void AddTBI_Get PermittedV ISNsRow(TB I_GetPermi ttedVISNsR ow row) | |
| 637 | { | |
| 638 | this.Row s.Add(row) ; | |
| 639 | } | |
| 640 | ||
| 641 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 642 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 643 | pu blic TBI_G etPermitte dVISNsRow AddTBI_Get PermittedV ISNsRow(st ring visnI d, string visnName) | |
| 644 | { | |
| 645 | TBI_GetP ermittedVI SNsRow row TBI_GetPer mittedVISN sRow = ((T BI_GetPerm ittedVISNs Row)(this. NewRow())) ; | |
| 646 | object[] columnVal uesArray = new objec t[] { | |
| 647 | visnId, | |
| 648 | visnName}; | |
| 649 | rowTBI_G etPermitte dVISNsRow. ItemArray = columnVa luesArray; | |
| 650 | this.Row s.Add(rowT BI_GetPerm ittedVISNs Row); | |
| 651 | return r owTBI_GetP ermittedVI SNsRow; | |
| 652 | } | |
| 653 | ||
| 654 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 655 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 656 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 657 | { | |
| 658 | TBI_GetP ermittedVI SNsDataTab le cln = ( (TBI_GetPe rmittedVIS NsDataTabl e)(base.Cl one())); | |
| 659 | cln.Init Vars(); | |
| 660 | return c ln; | |
| 661 | } | |
| 662 | ||
| 663 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 664 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 665 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 666 | { | |
| 667 | return n ew TBI_Get PermittedV ISNsDataTa ble(); | |
| 668 | } | |
| 669 | ||
| 670 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 671 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 672 | in ternal voi d InitVars () | |
| 673 | { | |
| 674 | this.col umnvisnId = base.Col umns["visn Id"]; | |
| 675 | this.col umnvisnNam e = base.C olumns["vi snName"]; | |
| 676 | } | |
| 677 | ||
| 678 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 679 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 680 | pr ivate void InitClass () | |
| 681 | { | |
| 682 | this.col umnvisnId = new glob al::System .Data.Data Column("vi snId", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element); | |
| 683 | base.Col umns.Add(t his.column visnId); | |
| 684 | this.col umnvisnNam e = new gl obal::Syst em.Data.Da taColumn(" visnName", typeof(st ring), nul l, global: :System.Da ta.Mapping Type.Eleme nt); | |
| 685 | base.Col umns.Add(t his.column visnName); | |
| 686 | this.col umnvisnId. ReadOnly = true; | |
| 687 | this.col umnvisnId. MaxLength = 6; | |
| 688 | this.col umnvisnNam e.AllowDBN ull = fals e; | |
| 689 | this.col umnvisnNam e.MaxLengt h = 100; | |
| 690 | } | |
| 691 | ||
| 692 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 693 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 694 | pu blic TBI_G etPermitte dVISNsRow NewTBI_Get PermittedV ISNsRow() | |
| 695 | { | |
| 696 | return ( (TBI_GetPe rmittedVIS NsRow)(thi s.NewRow() )); | |
| 697 | } | |
| 698 | ||
| 699 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 700 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 701 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 702 | { | |
| 703 | return n ew TBI_Get PermittedV ISNsRow(bu ilder); | |
| 704 | } | |
| 705 | ||
| 706 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 707 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 708 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 709 | { | |
| 710 | return t ypeof(TBI_ GetPermitt edVISNsRow ); | |
| 711 | } | |
| 712 | ||
| 713 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 714 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 715 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 716 | { | |
| 717 | base.OnR owChanged( e); | |
| 718 | if ((thi s.TBI_GetP ermittedVI SNsRowChan ged != nul l)) | |
| 719 | { | |
| 720 | this .TBI_GetPe rmittedVIS NsRowChang ed(this, n ew TBI_Get PermittedV ISNsRowCha ngeEvent(( (TBI_GetPe rmittedVIS NsRow)(e.R ow)), e.Ac tion)); | |
| 721 | } | |
| 722 | } | |
| 723 | ||
| 724 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 725 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 726 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 727 | { | |
| 728 | base.OnR owChanging (e); | |
| 729 | if ((thi s.TBI_GetP ermittedVI SNsRowChan ging != nu ll)) | |
| 730 | { | |
| 731 | this .TBI_GetPe rmittedVIS NsRowChang ing(this, new TBI_Ge tPermitted VISNsRowCh angeEvent( ((TBI_GetP ermittedVI SNsRow)(e. Row)), e.A ction)); | |
| 732 | } | |
| 733 | } | |
| 734 | ||
| 735 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 736 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 737 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 738 | { | |
| 739 | base.OnR owDeleted( e); | |
| 740 | if ((thi s.TBI_GetP ermittedVI SNsRowDele ted != nul l)) | |
| 741 | { | |
| 742 | this .TBI_GetPe rmittedVIS NsRowDelet ed(this, n ew TBI_Get PermittedV ISNsRowCha ngeEvent(( (TBI_GetPe rmittedVIS NsRow)(e.R ow)), e.Ac tion)); | |
| 743 | } | |
| 744 | } | |
| 745 | ||
| 746 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 747 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 748 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 749 | { | |
| 750 | base.OnR owDeleting (e); | |
| 751 | if ((thi s.TBI_GetP ermittedVI SNsRowDele ting != nu ll)) | |
| 752 | { | |
| 753 | this .TBI_GetPe rmittedVIS NsRowDelet ing(this, new TBI_Ge tPermitted VISNsRowCh angeEvent( ((TBI_GetP ermittedVI SNsRow)(e. Row)), e.A ction)); | |
| 754 | } | |
| 755 | } | |
| 756 | ||
| 757 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 758 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 759 | pu blic void RemoveTBI_ GetPermitt edVISNsRow (TBI_GetPe rmittedVIS NsRow row) | |
| 760 | { | |
| 761 | this.Row s.Remove(r ow); | |
| 762 | } | |
| 763 | ||
| 764 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 765 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 766 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 767 | { | |
| 768 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 769 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 770 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 771 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 772 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 773 | any1.Min Occurs = n ew decimal (0); | |
| 774 | any1.Max Occurs = d ecimal.Max Value; | |
| 775 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 776 | sequence .Items.Add (any1); | |
| 777 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 778 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 779 | any2.Min Occurs = n ew decimal (1); | |
| 780 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 781 | sequence .Items.Add (any2); | |
| 782 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 783 | attribut e1.Name = "namespace "; | |
| 784 | attribut e1.FixedVa lue = ds.N amespace; | |
| 785 | type.Att ributes.Ad d(attribut e1); | |
| 786 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 787 | attribut e2.Name = "tableType Name"; | |
| 788 | attribut e2.FixedVa lue = "TBI _GetPermit tedVISNsDa taTable"; | |
| 789 | type.Att ributes.Ad d(attribut e2); | |
| 790 | type.Par ticle = se quence; | |
| 791 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 792 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 793 | { | |
| 794 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 795 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 796 | try | |
| 797 | { | |
| 798 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 799 | dsSchema.W rite(s1); | |
| 800 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 801 | { | |
| 802 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 803 | s2.Set Length(0); | |
| 804 | schema .Write(s2) ; | |
| 805 | if ((s 1.Length = = s2.Lengt h)) | |
| 806 | { | |
| 807 | s1 .Position = 0; | |
| 808 | s2 .Position = 0; | |
| 809 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 810 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 811 | { | |
| 812 | ; | |
| 813 | } | |
| 814 | if ((s1.Posi tion == s1 .Length)) | |
| 815 | { | |
| 816 | return t ype; | |
| 817 | } | |
| 818 | } | |
| 819 | } | |
| 820 | } | |
| 821 | fina lly | |
| 822 | { | |
| 823 | if ((s1 != null)) | |
| 824 | { | |
| 825 | s1.Clo se(); | |
| 826 | } | |
| 827 | if ((s2 != null)) | |
| 828 | { | |
| 829 | s2.Clo se(); | |
| 830 | } | |
| 831 | } | |
| 832 | } | |
| 833 | xs.Add(d sSchema); | |
| 834 | return t ype; | |
| 835 | } | |
| 836 | } | |
| 837 | ||
| 838 | /// <s ummary> | |
| 839 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 840 | ///</s ummary> | |
| 841 | [globa l::System. Serializab le()] | |
| 842 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 843 | public partial c lass TBI_G etPermitte dStationVI SNsDataTab le : globa l::System. Data.Typed TableBase< TBI_GetPer mittedStat ionVISNsRo w> | |
| 844 | { | |
| 845 | ||
| 846 | pr ivate glob al::System .Data.Data Column col umnvisnId; | |
| 847 | ||
| 848 | pr ivate glob al::System .Data.Data Column col umnvisnNam e; | |
| 849 | ||
| 850 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 851 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 852 | pu blic TBI_G etPermitte dStationVI SNsDataTab le() | |
| 853 | { | |
| 854 | this.Tab leName = " TBI_GetPer mittedStat ionVISNs"; | |
| 855 | this.Beg inInit(); | |
| 856 | this.Ini tClass(); | |
| 857 | this.End Init(); | |
| 858 | } | |
| 859 | ||
| 860 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 861 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 862 | in ternal TBI _GetPermit tedStation VISNsDataT able(globa l::System. Data.DataT able table ) | |
| 863 | { | |
| 864 | this.Tab leName = t able.Table Name; | |
| 865 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 866 | { | |
| 867 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 868 | } | |
| 869 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 870 | { | |
| 871 | this .Locale = table.Loca le; | |
| 872 | } | |
| 873 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 874 | { | |
| 875 | this .Namespace = table.N amespace; | |
| 876 | } | |
| 877 | this.Pre fix = tabl e.Prefix; | |
| 878 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 879 | } | |
| 880 | ||
| 881 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 882 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 883 | pr otected TB I_GetPermi ttedStatio nVISNsData Table(glob al::System .Runtime.S erializati on.Seriali zationInfo info, glo bal::Syste m.Runtime. Serializat ion.Stream ingContext context) : | |
| 884 | base(inf o, context ) | |
| 885 | { | |
| 886 | this.Ini tVars(); | |
| 887 | } | |
| 888 | ||
| 889 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 890 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 891 | pu blic globa l::System. Data.DataC olumn visn IdColumn | |
| 892 | { | |
| 893 | get | |
| 894 | { | |
| 895 | retu rn this.co lumnvisnId ; | |
| 896 | } | |
| 897 | } | |
| 898 | ||
| 899 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 900 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 901 | pu blic globa l::System. Data.DataC olumn visn NameColumn | |
| 902 | { | |
| 903 | get | |
| 904 | { | |
| 905 | retu rn this.co lumnvisnNa me; | |
| 906 | } | |
| 907 | } | |
| 908 | ||
| 909 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 910 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 911 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 912 | pu blic int C ount | |
| 913 | { | |
| 914 | get | |
| 915 | { | |
| 916 | retu rn this.Ro ws.Count; | |
| 917 | } | |
| 918 | } | |
| 919 | ||
| 920 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 921 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 922 | pu blic TBI_G etPermitte dStationVI SNsRow thi s[int inde x] | |
| 923 | { | |
| 924 | get | |
| 925 | { | |
| 926 | retu rn ((TBI_G etPermitte dStationVI SNsRow)(th is.Rows[in dex])); | |
| 927 | } | |
| 928 | } | |
| 929 | ||
| 930 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 931 | [f ield: Syst em.NonSeri alized()] | |
| 932 | pu blic event TBI_GetPe rmittedSta tionVISNsR owChangeEv entHandler TBI_GetPe rmittedSta tionVISNsR owChanging ; | |
| 933 | ||
| 934 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 935 | [f ield: Syst em.NonSeri alized()] | |
| 936 | pu blic event TBI_GetPe rmittedSta tionVISNsR owChangeEv entHandler TBI_GetPe rmittedSta tionVISNsR owChanged; | |
| 937 | ||
| 938 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 939 | [f ield: Syst em.NonSeri alized()] | |
| 940 | pu blic event TBI_GetPe rmittedSta tionVISNsR owChangeEv entHandler TBI_GetPe rmittedSta tionVISNsR owDeleting ; | |
| 941 | ||
| 942 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 943 | [f ield: Syst em.NonSeri alized()] | |
| 944 | pu blic event TBI_GetPe rmittedSta tionVISNsR owChangeEv entHandler TBI_GetPe rmittedSta tionVISNsR owDeleted; | |
| 945 | ||
| 946 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 947 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 948 | pu blic void AddTBI_Get PermittedS tationVISN sRow(TBI_G etPermitte dStationVI SNsRow row ) | |
| 949 | { | |
| 950 | this.Row s.Add(row) ; | |
| 951 | } | |
| 952 | ||
| 953 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 954 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 955 | pu blic TBI_G etPermitte dStationVI SNsRow Add TBI_GetPer mittedStat ionVISNsRo w(string v isnId, str ing visnNa me) | |
| 956 | { | |
| 957 | TBI_GetP ermittedSt ationVISNs Row rowTBI _GetPermit tedStation VISNsRow = ((TBI_Get PermittedS tationVISN sRow)(this .NewRow()) ); | |
| 958 | object[] columnVal uesArray = new objec t[] { | |
| 959 | visnId, | |
| 960 | visnName}; | |
| 961 | rowTBI_G etPermitte dStationVI SNsRow.Ite mArray = c olumnValue sArray; | |
| 962 | this.Row s.Add(rowT BI_GetPerm ittedStati onVISNsRow ); | |
| 963 | return r owTBI_GetP ermittedSt ationVISNs Row; | |
| 964 | } | |
| 965 | ||
| 966 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 967 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 968 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 969 | { | |
| 970 | TBI_GetP ermittedSt ationVISNs DataTable cln = ((TB I_GetPermi ttedStatio nVISNsData Table)(bas e.Clone()) ); | |
| 971 | cln.Init Vars(); | |
| 972 | return c ln; | |
| 973 | } | |
| 974 | ||
| 975 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 976 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 977 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 978 | { | |
| 979 | return n ew TBI_Get PermittedS tationVISN sDataTable (); | |
| 980 | } | |
| 981 | ||
| 982 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 983 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 984 | in ternal voi d InitVars () | |
| 985 | { | |
| 986 | this.col umnvisnId = base.Col umns["visn Id"]; | |
| 987 | this.col umnvisnNam e = base.C olumns["vi snName"]; | |
| 988 | } | |
| 989 | ||
| 990 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 991 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 992 | pr ivate void InitClass () | |
| 993 | { | |
| 994 | this.col umnvisnId = new glob al::System .Data.Data Column("vi snId", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element); | |
| 995 | base.Col umns.Add(t his.column visnId); | |
| 996 | this.col umnvisnNam e = new gl obal::Syst em.Data.Da taColumn(" visnName", typeof(st ring), nul l, global: :System.Da ta.Mapping Type.Eleme nt); | |
| 997 | base.Col umns.Add(t his.column visnName); | |
| 998 | this.col umnvisnId. MaxLength = 10; | |
| 999 | this.col umnvisnNam e.MaxLengt h = 10; | |
| 1000 | } | |
| 1001 | ||
| 1002 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1003 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1004 | pu blic TBI_G etPermitte dStationVI SNsRow New TBI_GetPer mittedStat ionVISNsRo w() | |
| 1005 | { | |
| 1006 | return ( (TBI_GetPe rmittedSta tionVISNsR ow)(this.N ewRow())); | |
| 1007 | } | |
| 1008 | ||
| 1009 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1010 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1011 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 1012 | { | |
| 1013 | return n ew TBI_Get PermittedS tationVISN sRow(build er); | |
| 1014 | } | |
| 1015 | ||
| 1016 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1017 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1018 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 1019 | { | |
| 1020 | return t ypeof(TBI_ GetPermitt edStationV ISNsRow); | |
| 1021 | } | |
| 1022 | ||
| 1023 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1024 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1025 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1026 | { | |
| 1027 | base.OnR owChanged( e); | |
| 1028 | if ((thi s.TBI_GetP ermittedSt ationVISNs RowChanged != null)) | |
| 1029 | { | |
| 1030 | this .TBI_GetPe rmittedSta tionVISNsR owChanged( this, new TBI_GetPer mittedStat ionVISNsRo wChangeEve nt(((TBI_G etPermitte dStationVI SNsRow)(e. Row)), e.A ction)); | |
| 1031 | } | |
| 1032 | } | |
| 1033 | ||
| 1034 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1035 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1036 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1037 | { | |
| 1038 | base.OnR owChanging (e); | |
| 1039 | if ((thi s.TBI_GetP ermittedSt ationVISNs RowChangin g != null) ) | |
| 1040 | { | |
| 1041 | this .TBI_GetPe rmittedSta tionVISNsR owChanging (this, new TBI_GetPe rmittedSta tionVISNsR owChangeEv ent(((TBI_ GetPermitt edStationV ISNsRow)(e .Row)), e. Action)); | |
| 1042 | } | |
| 1043 | } | |
| 1044 | ||
| 1045 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1046 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1047 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1048 | { | |
| 1049 | base.OnR owDeleted( e); | |
| 1050 | if ((thi s.TBI_GetP ermittedSt ationVISNs RowDeleted != null)) | |
| 1051 | { | |
| 1052 | this .TBI_GetPe rmittedSta tionVISNsR owDeleted( this, new TBI_GetPer mittedStat ionVISNsRo wChangeEve nt(((TBI_G etPermitte dStationVI SNsRow)(e. Row)), e.A ction)); | |
| 1053 | } | |
| 1054 | } | |
| 1055 | ||
| 1056 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1057 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1058 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1059 | { | |
| 1060 | base.OnR owDeleting (e); | |
| 1061 | if ((thi s.TBI_GetP ermittedSt ationVISNs RowDeletin g != null) ) | |
| 1062 | { | |
| 1063 | this .TBI_GetPe rmittedSta tionVISNsR owDeleting (this, new TBI_GetPe rmittedSta tionVISNsR owChangeEv ent(((TBI_ GetPermitt edStationV ISNsRow)(e .Row)), e. Action)); | |
| 1064 | } | |
| 1065 | } | |
| 1066 | ||
| 1067 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1068 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1069 | pu blic void RemoveTBI_ GetPermitt edStationV ISNsRow(TB I_GetPermi ttedStatio nVISNsRow row) | |
| 1070 | { | |
| 1071 | this.Row s.Remove(r ow); | |
| 1072 | } | |
| 1073 | ||
| 1074 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1075 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1076 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 1077 | { | |
| 1078 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 1079 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 1080 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 1081 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1082 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 1083 | any1.Min Occurs = n ew decimal (0); | |
| 1084 | any1.Max Occurs = d ecimal.Max Value; | |
| 1085 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1086 | sequence .Items.Add (any1); | |
| 1087 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1088 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 1089 | any2.Min Occurs = n ew decimal (1); | |
| 1090 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1091 | sequence .Items.Add (any2); | |
| 1092 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1093 | attribut e1.Name = "namespace "; | |
| 1094 | attribut e1.FixedVa lue = ds.N amespace; | |
| 1095 | type.Att ributes.Ad d(attribut e1); | |
| 1096 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1097 | attribut e2.Name = "tableType Name"; | |
| 1098 | attribut e2.FixedVa lue = "TBI _GetPermit tedStation VISNsDataT able"; | |
| 1099 | type.Att ributes.Ad d(attribut e2); | |
| 1100 | type.Par ticle = se quence; | |
| 1101 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 1102 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 1103 | { | |
| 1104 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 1105 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 1106 | try | |
| 1107 | { | |
| 1108 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 1109 | dsSchema.W rite(s1); | |
| 1110 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 1111 | { | |
| 1112 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 1113 | s2.Set Length(0); | |
| 1114 | schema .Write(s2) ; | |
| 1115 | if ((s 1.Length = = s2.Lengt h)) | |
| 1116 | { | |
| 1117 | s1 .Position = 0; | |
| 1118 | s2 .Position = 0; | |
| 1119 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 1120 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 1121 | { | |
| 1122 | ; | |
| 1123 | } | |
| 1124 | if ((s1.Posi tion == s1 .Length)) | |
| 1125 | { | |
| 1126 | return t ype; | |
| 1127 | } | |
| 1128 | } | |
| 1129 | } | |
| 1130 | } | |
| 1131 | fina lly | |
| 1132 | { | |
| 1133 | if ((s1 != null)) | |
| 1134 | { | |
| 1135 | s1.Clo se(); | |
| 1136 | } | |
| 1137 | if ((s2 != null)) | |
| 1138 | { | |
| 1139 | s2.Clo se(); | |
| 1140 | } | |
| 1141 | } | |
| 1142 | } | |
| 1143 | xs.Add(d sSchema); | |
| 1144 | return t ype; | |
| 1145 | } | |
| 1146 | } | |
| 1147 | ||
| 1148 | /// <s ummary> | |
| 1149 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 1150 | ///</s ummary> | |
| 1151 | [globa l::System. Serializab le()] | |
| 1152 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 1153 | public partial c lass TBI_G etDirectly PermittedV ISNsDataTa ble : glob al::System .Data.Type dTableBase <TBI_GetDi rectlyPerm ittedVISNs Row> | |
| 1154 | { | |
| 1155 | ||
| 1156 | pr ivate glob al::System .Data.Data Column col umnvisnId; | |
| 1157 | ||
| 1158 | pr ivate glob al::System .Data.Data Column col umnvisnNam e; | |
| 1159 | ||
| 1160 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1161 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1162 | pu blic TBI_G etDirectly PermittedV ISNsDataTa ble() | |
| 1163 | { | |
| 1164 | this.Tab leName = " TBI_GetDir ectlyPermi ttedVISNs" ; | |
| 1165 | this.Beg inInit(); | |
| 1166 | this.Ini tClass(); | |
| 1167 | this.End Init(); | |
| 1168 | } | |
| 1169 | ||
| 1170 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1171 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1172 | in ternal TBI _GetDirect lyPermitte dVISNsData Table(glob al::System .Data.Data Table tabl e) | |
| 1173 | { | |
| 1174 | this.Tab leName = t able.Table Name; | |
| 1175 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 1176 | { | |
| 1177 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 1178 | } | |
| 1179 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 1180 | { | |
| 1181 | this .Locale = table.Loca le; | |
| 1182 | } | |
| 1183 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 1184 | { | |
| 1185 | this .Namespace = table.N amespace; | |
| 1186 | } | |
| 1187 | this.Pre fix = tabl e.Prefix; | |
| 1188 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 1189 | } | |
| 1190 | ||
| 1191 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1192 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1193 | pr otected TB I_GetDirec tlyPermitt edVISNsDat aTable(glo bal::Syste m.Runtime. Serializat ion.Serial izationInf o info, gl obal::Syst em.Runtime .Serializa tion.Strea mingContex t context) : | |
| 1194 | base(inf o, context ) | |
| 1195 | { | |
| 1196 | this.Ini tVars(); | |
| 1197 | } | |
| 1198 | ||
| 1199 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1200 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1201 | pu blic globa l::System. Data.DataC olumn visn IdColumn | |
| 1202 | { | |
| 1203 | get | |
| 1204 | { | |
| 1205 | retu rn this.co lumnvisnId ; | |
| 1206 | } | |
| 1207 | } | |
| 1208 | ||
| 1209 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1210 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1211 | pu blic globa l::System. Data.DataC olumn visn NameColumn | |
| 1212 | { | |
| 1213 | get | |
| 1214 | { | |
| 1215 | retu rn this.co lumnvisnNa me; | |
| 1216 | } | |
| 1217 | } | |
| 1218 | ||
| 1219 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1220 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1221 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 1222 | pu blic int C ount | |
| 1223 | { | |
| 1224 | get | |
| 1225 | { | |
| 1226 | retu rn this.Ro ws.Count; | |
| 1227 | } | |
| 1228 | } | |
| 1229 | ||
| 1230 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1231 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1232 | pu blic TBI_G etDirectly PermittedV ISNsRow th is[int ind ex] | |
| 1233 | { | |
| 1234 | get | |
| 1235 | { | |
| 1236 | retu rn ((TBI_G etDirectly PermittedV ISNsRow)(t his.Rows[i ndex])); | |
| 1237 | } | |
| 1238 | } | |
| 1239 | ||
| 1240 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1241 | [f ield: Syst em.NonSeri alized()] | |
| 1242 | pu blic event TBI_GetDi rectlyPerm ittedVISNs RowChangeE ventHandle r TBI_GetD irectlyPer mittedVISN sRowChangi ng; | |
| 1243 | ||
| 1244 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1245 | [f ield: Syst em.NonSeri alized()] | |
| 1246 | pu blic event TBI_GetDi rectlyPerm ittedVISNs RowChangeE ventHandle r TBI_GetD irectlyPer mittedVISN sRowChange d; | |
| 1247 | ||
| 1248 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1249 | [f ield: Syst em.NonSeri alized()] | |
| 1250 | pu blic event TBI_GetDi rectlyPerm ittedVISNs RowChangeE ventHandle r TBI_GetD irectlyPer mittedVISN sRowDeleti ng; | |
| 1251 | ||
| 1252 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1253 | [f ield: Syst em.NonSeri alized()] | |
| 1254 | pu blic event TBI_GetDi rectlyPerm ittedVISNs RowChangeE ventHandle r TBI_GetD irectlyPer mittedVISN sRowDelete d; | |
| 1255 | ||
| 1256 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1257 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1258 | pu blic void AddTBI_Get DirectlyPe rmittedVIS NsRow(TBI_ GetDirectl yPermitted VISNsRow r ow) | |
| 1259 | { | |
| 1260 | this.Row s.Add(row) ; | |
| 1261 | } | |
| 1262 | ||
| 1263 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1264 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1265 | pu blic TBI_G etDirectly PermittedV ISNsRow Ad dTBI_GetDi rectlyPerm ittedVISNs Row(string visnId, s tring visn Name) | |
| 1266 | { | |
| 1267 | TBI_GetD irectlyPer mittedVISN sRow rowTB I_GetDirec tlyPermitt edVISNsRow = ((TBI_G etDirectly PermittedV ISNsRow)(t his.NewRow ())); | |
| 1268 | object[] columnVal uesArray = new objec t[] { | |
| 1269 | visnId, | |
| 1270 | visnName}; | |
| 1271 | rowTBI_G etDirectly PermittedV ISNsRow.It emArray = columnValu esArray; | |
| 1272 | this.Row s.Add(rowT BI_GetDire ctlyPermit tedVISNsRo w); | |
| 1273 | return r owTBI_GetD irectlyPer mittedVISN sRow; | |
| 1274 | } | |
| 1275 | ||
| 1276 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1277 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1278 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 1279 | { | |
| 1280 | TBI_GetD irectlyPer mittedVISN sDataTable cln = ((T BI_GetDire ctlyPermit tedVISNsDa taTable)(b ase.Clone( ))); | |
| 1281 | cln.Init Vars(); | |
| 1282 | return c ln; | |
| 1283 | } | |
| 1284 | ||
| 1285 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1286 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1287 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 1288 | { | |
| 1289 | return n ew TBI_Get DirectlyPe rmittedVIS NsDataTabl e(); | |
| 1290 | } | |
| 1291 | ||
| 1292 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1293 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1294 | in ternal voi d InitVars () | |
| 1295 | { | |
| 1296 | this.col umnvisnId = base.Col umns["visn Id"]; | |
| 1297 | this.col umnvisnNam e = base.C olumns["vi snName"]; | |
| 1298 | } | |
| 1299 | ||
| 1300 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1301 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1302 | pr ivate void InitClass () | |
| 1303 | { | |
| 1304 | this.col umnvisnId = new glob al::System .Data.Data Column("vi snId", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element); | |
| 1305 | base.Col umns.Add(t his.column visnId); | |
| 1306 | this.col umnvisnNam e = new gl obal::Syst em.Data.Da taColumn(" visnName", typeof(st ring), nul l, global: :System.Da ta.Mapping Type.Eleme nt); | |
| 1307 | base.Col umns.Add(t his.column visnName); | |
| 1308 | this.col umnvisnId. ReadOnly = true; | |
| 1309 | this.col umnvisnId. MaxLength = 6; | |
| 1310 | this.col umnvisnNam e.AllowDBN ull = fals e; | |
| 1311 | this.col umnvisnNam e.MaxLengt h = 100; | |
| 1312 | } | |
| 1313 | ||
| 1314 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1315 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1316 | pu blic TBI_G etDirectly PermittedV ISNsRow Ne wTBI_GetDi rectlyPerm ittedVISNs Row() | |
| 1317 | { | |
| 1318 | return ( (TBI_GetDi rectlyPerm ittedVISNs Row)(this. NewRow())) ; | |
| 1319 | } | |
| 1320 | ||
| 1321 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1322 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1323 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 1324 | { | |
| 1325 | return n ew TBI_Get DirectlyPe rmittedVIS NsRow(buil der); | |
| 1326 | } | |
| 1327 | ||
| 1328 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1329 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1330 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 1331 | { | |
| 1332 | return t ypeof(TBI_ GetDirectl yPermitted VISNsRow); | |
| 1333 | } | |
| 1334 | ||
| 1335 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1336 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1337 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1338 | { | |
| 1339 | base.OnR owChanged( e); | |
| 1340 | if ((thi s.TBI_GetD irectlyPer mittedVISN sRowChange d != null) ) | |
| 1341 | { | |
| 1342 | this .TBI_GetDi rectlyPerm ittedVISNs RowChanged (this, new TBI_GetDi rectlyPerm ittedVISNs RowChangeE vent(((TBI _GetDirect lyPermitte dVISNsRow) (e.Row)), e.Action)) ; | |
| 1343 | } | |
| 1344 | } | |
| 1345 | ||
| 1346 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1347 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1348 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1349 | { | |
| 1350 | base.OnR owChanging (e); | |
| 1351 | if ((thi s.TBI_GetD irectlyPer mittedVISN sRowChangi ng != null )) | |
| 1352 | { | |
| 1353 | this .TBI_GetDi rectlyPerm ittedVISNs RowChangin g(this, ne w TBI_GetD irectlyPer mittedVISN sRowChange Event(((TB I_GetDirec tlyPermitt edVISNsRow )(e.Row)), e.Action) ); | |
| 1354 | } | |
| 1355 | } | |
| 1356 | ||
| 1357 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1358 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1359 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1360 | { | |
| 1361 | base.OnR owDeleted( e); | |
| 1362 | if ((thi s.TBI_GetD irectlyPer mittedVISN sRowDelete d != null) ) | |
| 1363 | { | |
| 1364 | this .TBI_GetDi rectlyPerm ittedVISNs RowDeleted (this, new TBI_GetDi rectlyPerm ittedVISNs RowChangeE vent(((TBI _GetDirect lyPermitte dVISNsRow) (e.Row)), e.Action)) ; | |
| 1365 | } | |
| 1366 | } | |
| 1367 | ||
| 1368 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1369 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1370 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1371 | { | |
| 1372 | base.OnR owDeleting (e); | |
| 1373 | if ((thi s.TBI_GetD irectlyPer mittedVISN sRowDeleti ng != null )) | |
| 1374 | { | |
| 1375 | this .TBI_GetDi rectlyPerm ittedVISNs RowDeletin g(this, ne w TBI_GetD irectlyPer mittedVISN sRowChange Event(((TB I_GetDirec tlyPermitt edVISNsRow )(e.Row)), e.Action) ); | |
| 1376 | } | |
| 1377 | } | |
| 1378 | ||
| 1379 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1380 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1381 | pu blic void RemoveTBI_ GetDirectl yPermitted VISNsRow(T BI_GetDire ctlyPermit tedVISNsRo w row) | |
| 1382 | { | |
| 1383 | this.Row s.Remove(r ow); | |
| 1384 | } | |
| 1385 | ||
| 1386 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1387 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1388 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 1389 | { | |
| 1390 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 1391 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 1392 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 1393 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1394 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 1395 | any1.Min Occurs = n ew decimal (0); | |
| 1396 | any1.Max Occurs = d ecimal.Max Value; | |
| 1397 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1398 | sequence .Items.Add (any1); | |
| 1399 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1400 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 1401 | any2.Min Occurs = n ew decimal (1); | |
| 1402 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1403 | sequence .Items.Add (any2); | |
| 1404 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1405 | attribut e1.Name = "namespace "; | |
| 1406 | attribut e1.FixedVa lue = ds.N amespace; | |
| 1407 | type.Att ributes.Ad d(attribut e1); | |
| 1408 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1409 | attribut e2.Name = "tableType Name"; | |
| 1410 | attribut e2.FixedVa lue = "TBI _GetDirect lyPermitte dVISNsData Table"; | |
| 1411 | type.Att ributes.Ad d(attribut e2); | |
| 1412 | type.Par ticle = se quence; | |
| 1413 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 1414 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 1415 | { | |
| 1416 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 1417 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 1418 | try | |
| 1419 | { | |
| 1420 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 1421 | dsSchema.W rite(s1); | |
| 1422 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 1423 | { | |
| 1424 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 1425 | s2.Set Length(0); | |
| 1426 | schema .Write(s2) ; | |
| 1427 | if ((s 1.Length = = s2.Lengt h)) | |
| 1428 | { | |
| 1429 | s1 .Position = 0; | |
| 1430 | s2 .Position = 0; | |
| 1431 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 1432 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 1433 | { | |
| 1434 | ; | |
| 1435 | } | |
| 1436 | if ((s1.Posi tion == s1 .Length)) | |
| 1437 | { | |
| 1438 | return t ype; | |
| 1439 | } | |
| 1440 | } | |
| 1441 | } | |
| 1442 | } | |
| 1443 | fina lly | |
| 1444 | { | |
| 1445 | if ((s1 != null)) | |
| 1446 | { | |
| 1447 | s1.Clo se(); | |
| 1448 | } | |
| 1449 | if ((s2 != null)) | |
| 1450 | { | |
| 1451 | s2.Clo se(); | |
| 1452 | } | |
| 1453 | } | |
| 1454 | } | |
| 1455 | xs.Add(d sSchema); | |
| 1456 | return t ype; | |
| 1457 | } | |
| 1458 | } | |
| 1459 | ||
| 1460 | /// <s ummary> | |
| 1461 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 1462 | ///</s ummary> | |
| 1463 | [globa l::System. Serializab le()] | |
| 1464 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 1465 | public partial c lass TBI_G etIndirect lyPermitte dVISNsData Table : gl obal::Syst em.Data.Ty pedTableBa se<TBI_Get Indirectly PermittedV ISNsRow> | |
| 1466 | { | |
| 1467 | ||
| 1468 | pr ivate glob al::System .Data.Data Column col umnvisnId; | |
| 1469 | ||
| 1470 | pr ivate glob al::System .Data.Data Column col umnvisnNam e; | |
| 1471 | ||
| 1472 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1473 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1474 | pu blic TBI_G etIndirect lyPermitte dVISNsData Table() | |
| 1475 | { | |
| 1476 | this.Tab leName = " TBI_GetInd irectlyPer mittedVISN s"; | |
| 1477 | this.Beg inInit(); | |
| 1478 | this.Ini tClass(); | |
| 1479 | this.End Init(); | |
| 1480 | } | |
| 1481 | ||
| 1482 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1483 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1484 | in ternal TBI _GetIndire ctlyPermit tedVISNsDa taTable(gl obal::Syst em.Data.Da taTable ta ble) | |
| 1485 | { | |
| 1486 | this.Tab leName = t able.Table Name; | |
| 1487 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 1488 | { | |
| 1489 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 1490 | } | |
| 1491 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 1492 | { | |
| 1493 | this .Locale = table.Loca le; | |
| 1494 | } | |
| 1495 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 1496 | { | |
| 1497 | this .Namespace = table.N amespace; | |
| 1498 | } | |
| 1499 | this.Pre fix = tabl e.Prefix; | |
| 1500 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 1501 | } | |
| 1502 | ||
| 1503 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1504 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1505 | pr otected TB I_GetIndir ectlyPermi ttedVISNsD ataTable(g lobal::Sys tem.Runtim e.Serializ ation.Seri alizationI nfo info, global::Sy stem.Runti me.Seriali zation.Str eamingCont ext contex t) : | |
| 1506 | base(inf o, context ) | |
| 1507 | { | |
| 1508 | this.Ini tVars(); | |
| 1509 | } | |
| 1510 | ||
| 1511 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1512 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1513 | pu blic globa l::System. Data.DataC olumn visn IdColumn | |
| 1514 | { | |
| 1515 | get | |
| 1516 | { | |
| 1517 | retu rn this.co lumnvisnId ; | |
| 1518 | } | |
| 1519 | } | |
| 1520 | ||
| 1521 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1522 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1523 | pu blic globa l::System. Data.DataC olumn visn NameColumn | |
| 1524 | { | |
| 1525 | get | |
| 1526 | { | |
| 1527 | retu rn this.co lumnvisnNa me; | |
| 1528 | } | |
| 1529 | } | |
| 1530 | ||
| 1531 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1532 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1533 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 1534 | pu blic int C ount | |
| 1535 | { | |
| 1536 | get | |
| 1537 | { | |
| 1538 | retu rn this.Ro ws.Count; | |
| 1539 | } | |
| 1540 | } | |
| 1541 | ||
| 1542 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1543 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1544 | pu blic TBI_G etIndirect lyPermitte dVISNsRow this[int i ndex] | |
| 1545 | { | |
| 1546 | get | |
| 1547 | { | |
| 1548 | retu rn ((TBI_G etIndirect lyPermitte dVISNsRow) (this.Rows [index])); | |
| 1549 | } | |
| 1550 | } | |
| 1551 | ||
| 1552 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1553 | [f ield: Syst em.NonSeri alized()] | |
| 1554 | pu blic event TBI_GetIn directlyPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tIndirectl yPermitted VISNsRowCh anging; | |
| 1555 | ||
| 1556 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1557 | [f ield: Syst em.NonSeri alized()] | |
| 1558 | pu blic event TBI_GetIn directlyPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tIndirectl yPermitted VISNsRowCh anged; | |
| 1559 | ||
| 1560 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1561 | [f ield: Syst em.NonSeri alized()] | |
| 1562 | pu blic event TBI_GetIn directlyPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tIndirectl yPermitted VISNsRowDe leting; | |
| 1563 | ||
| 1564 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1565 | [f ield: Syst em.NonSeri alized()] | |
| 1566 | pu blic event TBI_GetIn directlyPe rmittedVIS NsRowChang eEventHand ler TBI_Ge tIndirectl yPermitted VISNsRowDe leted; | |
| 1567 | ||
| 1568 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1569 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1570 | pu blic void AddTBI_Get Indirectly PermittedV ISNsRow(TB I_GetIndir ectlyPermi ttedVISNsR ow row) | |
| 1571 | { | |
| 1572 | this.Row s.Add(row) ; | |
| 1573 | } | |
| 1574 | ||
| 1575 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1576 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1577 | pu blic TBI_G etIndirect lyPermitte dVISNsRow AddTBI_Get Indirectly PermittedV ISNsRow(st ring visnI d, string visnName) | |
| 1578 | { | |
| 1579 | TBI_GetI ndirectlyP ermittedVI SNsRow row TBI_GetInd irectlyPer mittedVISN sRow = ((T BI_GetIndi rectlyPerm ittedVISNs Row)(this. NewRow())) ; | |
| 1580 | object[] columnVal uesArray = new objec t[] { | |
| 1581 | visnId, | |
| 1582 | visnName}; | |
| 1583 | rowTBI_G etIndirect lyPermitte dVISNsRow. ItemArray = columnVa luesArray; | |
| 1584 | this.Row s.Add(rowT BI_GetIndi rectlyPerm ittedVISNs Row); | |
| 1585 | return r owTBI_GetI ndirectlyP ermittedVI SNsRow; | |
| 1586 | } | |
| 1587 | ||
| 1588 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1589 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1590 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 1591 | { | |
| 1592 | TBI_GetI ndirectlyP ermittedVI SNsDataTab le cln = ( (TBI_GetIn directlyPe rmittedVIS NsDataTabl e)(base.Cl one())); | |
| 1593 | cln.Init Vars(); | |
| 1594 | return c ln; | |
| 1595 | } | |
| 1596 | ||
| 1597 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1598 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1599 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 1600 | { | |
| 1601 | return n ew TBI_Get Indirectly PermittedV ISNsDataTa ble(); | |
| 1602 | } | |
| 1603 | ||
| 1604 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1605 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1606 | in ternal voi d InitVars () | |
| 1607 | { | |
| 1608 | this.col umnvisnId = base.Col umns["visn Id"]; | |
| 1609 | this.col umnvisnNam e = base.C olumns["vi snName"]; | |
| 1610 | } | |
| 1611 | ||
| 1612 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1613 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1614 | pr ivate void InitClass () | |
| 1615 | { | |
| 1616 | this.col umnvisnId = new glob al::System .Data.Data Column("vi snId", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element); | |
| 1617 | base.Col umns.Add(t his.column visnId); | |
| 1618 | this.col umnvisnNam e = new gl obal::Syst em.Data.Da taColumn(" visnName", typeof(st ring), nul l, global: :System.Da ta.Mapping Type.Eleme nt); | |
| 1619 | base.Col umns.Add(t his.column visnName); | |
| 1620 | this.col umnvisnId. ReadOnly = true; | |
| 1621 | this.col umnvisnId. MaxLength = 7; | |
| 1622 | this.col umnvisnNam e.ReadOnly = true; | |
| 1623 | this.col umnvisnNam e.MaxLengt h = 10; | |
| 1624 | } | |
| 1625 | ||
| 1626 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1627 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1628 | pu blic TBI_G etIndirect lyPermitte dVISNsRow NewTBI_Get Indirectly PermittedV ISNsRow() | |
| 1629 | { | |
| 1630 | return ( (TBI_GetIn directlyPe rmittedVIS NsRow)(thi s.NewRow() )); | |
| 1631 | } | |
| 1632 | ||
| 1633 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1634 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1635 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 1636 | { | |
| 1637 | return n ew TBI_Get Indirectly PermittedV ISNsRow(bu ilder); | |
| 1638 | } | |
| 1639 | ||
| 1640 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1641 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1642 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 1643 | { | |
| 1644 | return t ypeof(TBI_ GetIndirec tlyPermitt edVISNsRow ); | |
| 1645 | } | |
| 1646 | ||
| 1647 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1648 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1649 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1650 | { | |
| 1651 | base.OnR owChanged( e); | |
| 1652 | if ((thi s.TBI_GetI ndirectlyP ermittedVI SNsRowChan ged != nul l)) | |
| 1653 | { | |
| 1654 | this .TBI_GetIn directlyPe rmittedVIS NsRowChang ed(this, n ew TBI_Get Indirectly PermittedV ISNsRowCha ngeEvent(( (TBI_GetIn directlyPe rmittedVIS NsRow)(e.R ow)), e.Ac tion)); | |
| 1655 | } | |
| 1656 | } | |
| 1657 | ||
| 1658 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1659 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1660 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1661 | { | |
| 1662 | base.OnR owChanging (e); | |
| 1663 | if ((thi s.TBI_GetI ndirectlyP ermittedVI SNsRowChan ging != nu ll)) | |
| 1664 | { | |
| 1665 | this .TBI_GetIn directlyPe rmittedVIS NsRowChang ing(this, new TBI_Ge tIndirectl yPermitted VISNsRowCh angeEvent( ((TBI_GetI ndirectlyP ermittedVI SNsRow)(e. Row)), e.A ction)); | |
| 1666 | } | |
| 1667 | } | |
| 1668 | ||
| 1669 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1670 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1671 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1672 | { | |
| 1673 | base.OnR owDeleted( e); | |
| 1674 | if ((thi s.TBI_GetI ndirectlyP ermittedVI SNsRowDele ted != nul l)) | |
| 1675 | { | |
| 1676 | this .TBI_GetIn directlyPe rmittedVIS NsRowDelet ed(this, n ew TBI_Get Indirectly PermittedV ISNsRowCha ngeEvent(( (TBI_GetIn directlyPe rmittedVIS NsRow)(e.R ow)), e.Ac tion)); | |
| 1677 | } | |
| 1678 | } | |
| 1679 | ||
| 1680 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1681 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1682 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1683 | { | |
| 1684 | base.OnR owDeleting (e); | |
| 1685 | if ((thi s.TBI_GetI ndirectlyP ermittedVI SNsRowDele ting != nu ll)) | |
| 1686 | { | |
| 1687 | this .TBI_GetIn directlyPe rmittedVIS NsRowDelet ing(this, new TBI_Ge tIndirectl yPermitted VISNsRowCh angeEvent( ((TBI_GetI ndirectlyP ermittedVI SNsRow)(e. Row)), e.A ction)); | |
| 1688 | } | |
| 1689 | } | |
| 1690 | ||
| 1691 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1692 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1693 | pu blic void RemoveTBI_ GetIndirec tlyPermitt edVISNsRow (TBI_GetIn directlyPe rmittedVIS NsRow row) | |
| 1694 | { | |
| 1695 | this.Row s.Remove(r ow); | |
| 1696 | } | |
| 1697 | ||
| 1698 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1699 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1700 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 1701 | { | |
| 1702 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 1703 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 1704 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 1705 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1706 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 1707 | any1.Min Occurs = n ew decimal (0); | |
| 1708 | any1.Max Occurs = d ecimal.Max Value; | |
| 1709 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1710 | sequence .Items.Add (any1); | |
| 1711 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 1712 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 1713 | any2.Min Occurs = n ew decimal (1); | |
| 1714 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 1715 | sequence .Items.Add (any2); | |
| 1716 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1717 | attribut e1.Name = "namespace "; | |
| 1718 | attribut e1.FixedVa lue = ds.N amespace; | |
| 1719 | type.Att ributes.Ad d(attribut e1); | |
| 1720 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 1721 | attribut e2.Name = "tableType Name"; | |
| 1722 | attribut e2.FixedVa lue = "TBI _GetIndire ctlyPermit tedVISNsDa taTable"; | |
| 1723 | type.Att ributes.Ad d(attribut e2); | |
| 1724 | type.Par ticle = se quence; | |
| 1725 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 1726 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 1727 | { | |
| 1728 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 1729 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 1730 | try | |
| 1731 | { | |
| 1732 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 1733 | dsSchema.W rite(s1); | |
| 1734 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 1735 | { | |
| 1736 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 1737 | s2.Set Length(0); | |
| 1738 | schema .Write(s2) ; | |
| 1739 | if ((s 1.Length = = s2.Lengt h)) | |
| 1740 | { | |
| 1741 | s1 .Position = 0; | |
| 1742 | s2 .Position = 0; | |
| 1743 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 1744 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 1745 | { | |
| 1746 | ; | |
| 1747 | } | |
| 1748 | if ((s1.Posi tion == s1 .Length)) | |
| 1749 | { | |
| 1750 | return t ype; | |
| 1751 | } | |
| 1752 | } | |
| 1753 | } | |
| 1754 | } | |
| 1755 | fina lly | |
| 1756 | { | |
| 1757 | if ((s1 != null)) | |
| 1758 | { | |
| 1759 | s1.Clo se(); | |
| 1760 | } | |
| 1761 | if ((s2 != null)) | |
| 1762 | { | |
| 1763 | s2.Clo se(); | |
| 1764 | } | |
| 1765 | } | |
| 1766 | } | |
| 1767 | xs.Add(d sSchema); | |
| 1768 | return t ype; | |
| 1769 | } | |
| 1770 | } | |
| 1771 | ||
| 1772 | /// <s ummary> | |
| 1773 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 1774 | ///</s ummary> | |
| 1775 | [globa l::System. Serializab le()] | |
| 1776 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 1777 | public partial c lass TBI_G etPermitte dStationsD ataTable : global::S ystem.Data .TypedTabl eBase<TBI_ GetPermitt edStations Row> | |
| 1778 | { | |
| 1779 | ||
| 1780 | pr ivate glob al::System .Data.Data Column col umnstation _number; | |
| 1781 | ||
| 1782 | pr ivate glob al::System .Data.Data Column col umnName; | |
| 1783 | ||
| 1784 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1785 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1786 | pu blic TBI_G etPermitte dStationsD ataTable() | |
| 1787 | { | |
| 1788 | this.Tab leName = " TBI_GetPer mittedStat ions"; | |
| 1789 | this.Beg inInit(); | |
| 1790 | this.Ini tClass(); | |
| 1791 | this.End Init(); | |
| 1792 | } | |
| 1793 | ||
| 1794 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1795 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1796 | in ternal TBI _GetPermit tedStation sDataTable (global::S ystem.Data .DataTable table) | |
| 1797 | { | |
| 1798 | this.Tab leName = t able.Table Name; | |
| 1799 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 1800 | { | |
| 1801 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 1802 | } | |
| 1803 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 1804 | { | |
| 1805 | this .Locale = table.Loca le; | |
| 1806 | } | |
| 1807 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 1808 | { | |
| 1809 | this .Namespace = table.N amespace; | |
| 1810 | } | |
| 1811 | this.Pre fix = tabl e.Prefix; | |
| 1812 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 1813 | } | |
| 1814 | ||
| 1815 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1816 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1817 | pr otected TB I_GetPermi ttedStatio nsDataTabl e(global:: System.Run time.Seria lization.S erializati onInfo inf o, global: :System.Ru ntime.Seri alization. StreamingC ontext con text) : | |
| 1818 | base(inf o, context ) | |
| 1819 | { | |
| 1820 | this.Ini tVars(); | |
| 1821 | } | |
| 1822 | ||
| 1823 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1824 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1825 | pu blic globa l::System. Data.DataC olumn stat ion_number Column | |
| 1826 | { | |
| 1827 | get | |
| 1828 | { | |
| 1829 | retu rn this.co lumnstatio n_number; | |
| 1830 | } | |
| 1831 | } | |
| 1832 | ||
| 1833 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1834 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1835 | pu blic globa l::System. Data.DataC olumn Name Column | |
| 1836 | { | |
| 1837 | get | |
| 1838 | { | |
| 1839 | retu rn this.co lumnName; | |
| 1840 | } | |
| 1841 | } | |
| 1842 | ||
| 1843 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1844 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1845 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 1846 | pu blic int C ount | |
| 1847 | { | |
| 1848 | get | |
| 1849 | { | |
| 1850 | retu rn this.Ro ws.Count; | |
| 1851 | } | |
| 1852 | } | |
| 1853 | ||
| 1854 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1855 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1856 | pu blic TBI_G etPermitte dStationsR ow this[in t index] | |
| 1857 | { | |
| 1858 | get | |
| 1859 | { | |
| 1860 | retu rn ((TBI_G etPermitte dStationsR ow)(this.R ows[index] )); | |
| 1861 | } | |
| 1862 | } | |
| 1863 | ||
| 1864 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1865 | [f ield: Syst em.NonSeri alized()] | |
| 1866 | pu blic event TBI_GetPe rmittedSta tionsRowCh angeEventH andler TBI _GetPermit tedStation sRowChangi ng; | |
| 1867 | ||
| 1868 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1869 | [f ield: Syst em.NonSeri alized()] | |
| 1870 | pu blic event TBI_GetPe rmittedSta tionsRowCh angeEventH andler TBI _GetPermit tedStation sRowChange d; | |
| 1871 | ||
| 1872 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1873 | [f ield: Syst em.NonSeri alized()] | |
| 1874 | pu blic event TBI_GetPe rmittedSta tionsRowCh angeEventH andler TBI _GetPermit tedStation sRowDeleti ng; | |
| 1875 | ||
| 1876 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1877 | [f ield: Syst em.NonSeri alized()] | |
| 1878 | pu blic event TBI_GetPe rmittedSta tionsRowCh angeEventH andler TBI _GetPermit tedStation sRowDelete d; | |
| 1879 | ||
| 1880 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1881 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1882 | pu blic void AddTBI_Get PermittedS tationsRow (TBI_GetPe rmittedSta tionsRow r ow) | |
| 1883 | { | |
| 1884 | this.Row s.Add(row) ; | |
| 1885 | } | |
| 1886 | ||
| 1887 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1888 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1889 | pu blic TBI_G etPermitte dStationsR ow AddTBI_ GetPermitt edStations Row(string station_n umber, str ing Name) | |
| 1890 | { | |
| 1891 | TBI_GetP ermittedSt ationsRow rowTBI_Get PermittedS tationsRow = ((TBI_G etPermitte dStationsR ow)(this.N ewRow())); | |
| 1892 | object[] columnVal uesArray = new objec t[] { | |
| 1893 | station_nu mber, | |
| 1894 | Name}; | |
| 1895 | rowTBI_G etPermitte dStationsR ow.ItemArr ay = colum nValuesArr ay; | |
| 1896 | this.Row s.Add(rowT BI_GetPerm ittedStati onsRow); | |
| 1897 | return r owTBI_GetP ermittedSt ationsRow; | |
| 1898 | } | |
| 1899 | ||
| 1900 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1901 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1902 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 1903 | { | |
| 1904 | TBI_GetP ermittedSt ationsData Table cln = ((TBI_Ge tPermitted StationsDa taTable)(b ase.Clone( ))); | |
| 1905 | cln.Init Vars(); | |
| 1906 | return c ln; | |
| 1907 | } | |
| 1908 | ||
| 1909 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1910 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1911 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 1912 | { | |
| 1913 | return n ew TBI_Get PermittedS tationsDat aTable(); | |
| 1914 | } | |
| 1915 | ||
| 1916 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1917 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1918 | in ternal voi d InitVars () | |
| 1919 | { | |
| 1920 | this.col umnstation _number = base.Colum ns["statio n_number"] ; | |
| 1921 | this.col umnName = base.Colum ns["Name"] ; | |
| 1922 | } | |
| 1923 | ||
| 1924 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1925 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1926 | pr ivate void InitClass () | |
| 1927 | { | |
| 1928 | this.col umnstation _number = new global ::System.D ata.DataCo lumn("stat ion_number ", typeof( string), n ull, globa l::System. Data.Mappi ngType.Ele ment); | |
| 1929 | base.Col umns.Add(t his.column station_nu mber); | |
| 1930 | this.col umnName = new global ::System.D ata.DataCo lumn("Name ", typeof( string), n ull, globa l::System. Data.Mappi ngType.Ele ment); | |
| 1931 | base.Col umns.Add(t his.column Name); | |
| 1932 | this.col umnstation _number.Ma xLength = 10; | |
| 1933 | this.col umnName.Ma xLength = 500; | |
| 1934 | } | |
| 1935 | ||
| 1936 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1937 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1938 | pu blic TBI_G etPermitte dStationsR ow NewTBI_ GetPermitt edStations Row() | |
| 1939 | { | |
| 1940 | return ( (TBI_GetPe rmittedSta tionsRow)( this.NewRo w())); | |
| 1941 | } | |
| 1942 | ||
| 1943 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1944 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1945 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 1946 | { | |
| 1947 | return n ew TBI_Get PermittedS tationsRow (builder); | |
| 1948 | } | |
| 1949 | ||
| 1950 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1951 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1952 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 1953 | { | |
| 1954 | return t ypeof(TBI_ GetPermitt edStations Row); | |
| 1955 | } | |
| 1956 | ||
| 1957 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1958 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1959 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1960 | { | |
| 1961 | base.OnR owChanged( e); | |
| 1962 | if ((thi s.TBI_GetP ermittedSt ationsRowC hanged != null)) | |
| 1963 | { | |
| 1964 | this .TBI_GetPe rmittedSta tionsRowCh anged(this , new TBI_ GetPermitt edStations RowChangeE vent(((TBI _GetPermit tedStation sRow)(e.Ro w)), e.Act ion)); | |
| 1965 | } | |
| 1966 | } | |
| 1967 | ||
| 1968 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1969 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1970 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1971 | { | |
| 1972 | base.OnR owChanging (e); | |
| 1973 | if ((thi s.TBI_GetP ermittedSt ationsRowC hanging != null)) | |
| 1974 | { | |
| 1975 | this .TBI_GetPe rmittedSta tionsRowCh anging(thi s, new TBI _GetPermit tedStation sRowChange Event(((TB I_GetPermi ttedStatio nsRow)(e.R ow)), e.Ac tion)); | |
| 1976 | } | |
| 1977 | } | |
| 1978 | ||
| 1979 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1980 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1981 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 1982 | { | |
| 1983 | base.OnR owDeleted( e); | |
| 1984 | if ((thi s.TBI_GetP ermittedSt ationsRowD eleted != null)) | |
| 1985 | { | |
| 1986 | this .TBI_GetPe rmittedSta tionsRowDe leted(this , new TBI_ GetPermitt edStations RowChangeE vent(((TBI _GetPermit tedStation sRow)(e.Ro w)), e.Act ion)); | |
| 1987 | } | |
| 1988 | } | |
| 1989 | ||
| 1990 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 1991 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 1992 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 1993 | { | |
| 1994 | base.OnR owDeleting (e); | |
| 1995 | if ((thi s.TBI_GetP ermittedSt ationsRowD eleting != null)) | |
| 1996 | { | |
| 1997 | this .TBI_GetPe rmittedSta tionsRowDe leting(thi s, new TBI _GetPermit tedStation sRowChange Event(((TB I_GetPermi ttedStatio nsRow)(e.R ow)), e.Ac tion)); | |
| 1998 | } | |
| 1999 | } | |
| 2000 | ||
| 2001 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2002 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2003 | pu blic void RemoveTBI_ GetPermitt edStations Row(TBI_Ge tPermitted StationsRo w row) | |
| 2004 | { | |
| 2005 | this.Row s.Remove(r ow); | |
| 2006 | } | |
| 2007 | ||
| 2008 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2009 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2010 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 2011 | { | |
| 2012 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 2013 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 2014 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 2015 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 2016 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 2017 | any1.Min Occurs = n ew decimal (0); | |
| 2018 | any1.Max Occurs = d ecimal.Max Value; | |
| 2019 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 2020 | sequence .Items.Add (any1); | |
| 2021 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 2022 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 2023 | any2.Min Occurs = n ew decimal (1); | |
| 2024 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 2025 | sequence .Items.Add (any2); | |
| 2026 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 2027 | attribut e1.Name = "namespace "; | |
| 2028 | attribut e1.FixedVa lue = ds.N amespace; | |
| 2029 | type.Att ributes.Ad d(attribut e1); | |
| 2030 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 2031 | attribut e2.Name = "tableType Name"; | |
| 2032 | attribut e2.FixedVa lue = "TBI _GetPermit tedStation sDataTable "; | |
| 2033 | type.Att ributes.Ad d(attribut e2); | |
| 2034 | type.Par ticle = se quence; | |
| 2035 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 2036 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 2037 | { | |
| 2038 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 2039 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 2040 | try | |
| 2041 | { | |
| 2042 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 2043 | dsSchema.W rite(s1); | |
| 2044 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 2045 | { | |
| 2046 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 2047 | s2.Set Length(0); | |
| 2048 | schema .Write(s2) ; | |
| 2049 | if ((s 1.Length = = s2.Lengt h)) | |
| 2050 | { | |
| 2051 | s1 .Position = 0; | |
| 2052 | s2 .Position = 0; | |
| 2053 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 2054 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 2055 | { | |
| 2056 | ; | |
| 2057 | } | |
| 2058 | if ((s1.Posi tion == s1 .Length)) | |
| 2059 | { | |
| 2060 | return t ype; | |
| 2061 | } | |
| 2062 | } | |
| 2063 | } | |
| 2064 | } | |
| 2065 | fina lly | |
| 2066 | { | |
| 2067 | if ((s1 != null)) | |
| 2068 | { | |
| 2069 | s1.Clo se(); | |
| 2070 | } | |
| 2071 | if ((s2 != null)) | |
| 2072 | { | |
| 2073 | s2.Clo se(); | |
| 2074 | } | |
| 2075 | } | |
| 2076 | } | |
| 2077 | xs.Add(d sSchema); | |
| 2078 | return t ype; | |
| 2079 | } | |
| 2080 | } | |
| 2081 | ||
| 2082 | /// <s ummary> | |
| 2083 | ///Rep resents th e strongly named Dat aTable cla ss. | |
| 2084 | ///</s ummary> | |
| 2085 | [globa l::System. Serializab le()] | |
| 2086 | [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")] | |
| 2087 | public partial c lass TBI_G etDirectli AndIndirec tlyPermitt edStations DataTable : global:: System.Dat a.TypedTab leBase<TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRow> | |
| 2088 | { | |
| 2089 | ||
| 2090 | pr ivate glob al::System .Data.Data Column col umnstation _number; | |
| 2091 | ||
| 2092 | pr ivate glob al::System .Data.Data Column col umnName; | |
| 2093 | ||
| 2094 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2095 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2096 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations DataTable( ) | |
| 2097 | { | |
| 2098 | this.Tab leName = " TBI_GetDir ectliAndIn directlyPe rmittedSta tions"; | |
| 2099 | this.Beg inInit(); | |
| 2100 | this.Ini tClass(); | |
| 2101 | this.End Init(); | |
| 2102 | } | |
| 2103 | ||
| 2104 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2105 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2106 | in ternal TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsDataTabl e(global:: System.Dat a.DataTabl e table) | |
| 2107 | { | |
| 2108 | this.Tab leName = t able.Table Name; | |
| 2109 | if ((tab le.CaseSen sitive != table.Data Set.CaseSe nsitive)) | |
| 2110 | { | |
| 2111 | this .CaseSensi tive = tab le.CaseSen sitive; | |
| 2112 | } | |
| 2113 | if ((tab le.Locale. ToString() != table. DataSet.Lo cale.ToStr ing())) | |
| 2114 | { | |
| 2115 | this .Locale = table.Loca le; | |
| 2116 | } | |
| 2117 | if ((tab le.Namespa ce != tabl e.DataSet. Namespace) ) | |
| 2118 | { | |
| 2119 | this .Namespace = table.N amespace; | |
| 2120 | } | |
| 2121 | this.Pre fix = tabl e.Prefix; | |
| 2122 | this.Min imumCapaci ty = table .MinimumCa pacity; | |
| 2123 | } | |
| 2124 | ||
| 2125 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2126 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2127 | pr otected TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsDataTab le(global: :System.Ru ntime.Seri alization. Serializat ionInfo in fo, global ::System.R untime.Ser ialization .Streaming Context co ntext) : | |
| 2128 | base(inf o, context ) | |
| 2129 | { | |
| 2130 | this.Ini tVars(); | |
| 2131 | } | |
| 2132 | ||
| 2133 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2134 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2135 | pu blic globa l::System. Data.DataC olumn stat ion_number Column | |
| 2136 | { | |
| 2137 | get | |
| 2138 | { | |
| 2139 | retu rn this.co lumnstatio n_number; | |
| 2140 | } | |
| 2141 | } | |
| 2142 | ||
| 2143 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2144 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2145 | pu blic globa l::System. Data.DataC olumn Name Column | |
| 2146 | { | |
| 2147 | get | |
| 2148 | { | |
| 2149 | retu rn this.co lumnName; | |
| 2150 | } | |
| 2151 | } | |
| 2152 | ||
| 2153 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2154 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2155 | [g lobal::Sys tem.Compon entModel.B rowsable(f alse)] | |
| 2156 | pu blic int C ount | |
| 2157 | { | |
| 2158 | get | |
| 2159 | { | |
| 2160 | retu rn this.Ro ws.Count; | |
| 2161 | } | |
| 2162 | } | |
| 2163 | ||
| 2164 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2165 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2166 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations Row this[i nt index] | |
| 2167 | { | |
| 2168 | get | |
| 2169 | { | |
| 2170 | retu rn ((TBI_G etDirectli AndIndirec tlyPermitt edStations Row)(this. Rows[index ])); | |
| 2171 | } | |
| 2172 | } | |
| 2173 | ||
| 2174 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2175 | [f ield: Syst em.NonSeri alized()] | |
| 2176 | pu blic event TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hangeEvent Handler TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowChan ging; | |
| 2177 | ||
| 2178 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2179 | [f ield: Syst em.NonSeri alized()] | |
| 2180 | pu blic event TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hangeEvent Handler TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowChan ged; | |
| 2181 | ||
| 2182 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2183 | [f ield: Syst em.NonSeri alized()] | |
| 2184 | pu blic event TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hangeEvent Handler TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowDele ting; | |
| 2185 | ||
| 2186 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2187 | [f ield: Syst em.NonSeri alized()] | |
| 2188 | pu blic event TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hangeEvent Handler TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowDele ted; | |
| 2189 | ||
| 2190 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2191 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2192 | pu blic void AddTBI_Get DirectliAn dIndirectl yPermitted StationsRo w(TBI_GetD irectliAnd Indirectly PermittedS tationsRow row) | |
| 2193 | { | |
| 2194 | this.Row s.Add(row) ; | |
| 2195 | } | |
| 2196 | ||
| 2197 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2198 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2199 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations Row AddTBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRow(stri ng station _number, s tring Name ) | |
| 2200 | { | |
| 2201 | TBI_GetD irectliAnd Indirectly PermittedS tationsRow rowTBI_Ge tDirectliA ndIndirect lyPermitte dStationsR ow = ((TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRow)(thi s.NewRow() )); | |
| 2202 | object[] columnVal uesArray = new objec t[] { | |
| 2203 | station_nu mber, | |
| 2204 | Name}; | |
| 2205 | rowTBI_G etDirectli AndIndirec tlyPermitt edStations Row.ItemAr ray = colu mnValuesAr ray; | |
| 2206 | this.Row s.Add(rowT BI_GetDire ctliAndInd irectlyPer mittedStat ionsRow); | |
| 2207 | return r owTBI_GetD irectliAnd Indirectly PermittedS tationsRow ; | |
| 2208 | } | |
| 2209 | ||
| 2210 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2211 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2212 | pu blic overr ide global ::System.D ata.DataTa ble Clone( ) | |
| 2213 | { | |
| 2214 | TBI_GetD irectliAnd Indirectly PermittedS tationsDat aTable cln = ((TBI_G etDirectli AndIndirec tlyPermitt edStations DataTable) (base.Clon e())); | |
| 2215 | cln.Init Vars(); | |
| 2216 | return c ln; | |
| 2217 | } | |
| 2218 | ||
| 2219 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2220 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2221 | pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e() | |
| 2222 | { | |
| 2223 | return n ew TBI_Get DirectliAn dIndirectl yPermitted StationsDa taTable(); | |
| 2224 | } | |
| 2225 | ||
| 2226 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2227 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2228 | in ternal voi d InitVars () | |
| 2229 | { | |
| 2230 | this.col umnstation _number = base.Colum ns["statio n_number"] ; | |
| 2231 | this.col umnName = base.Colum ns["Name"] ; | |
| 2232 | } | |
| 2233 | ||
| 2234 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2235 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2236 | pr ivate void InitClass () | |
| 2237 | { | |
| 2238 | this.col umnstation _number = new global ::System.D ata.DataCo lumn("stat ion_number ", typeof( string), n ull, globa l::System. Data.Mappi ngType.Ele ment); | |
| 2239 | base.Col umns.Add(t his.column station_nu mber); | |
| 2240 | this.col umnName = new global ::System.D ata.DataCo lumn("Name ", typeof( string), n ull, globa l::System. Data.Mappi ngType.Ele ment); | |
| 2241 | base.Col umns.Add(t his.column Name); | |
| 2242 | this.col umnstation _number.Ma xLength = 10; | |
| 2243 | this.col umnName.Ma xLength = 500; | |
| 2244 | } | |
| 2245 | ||
| 2246 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2247 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2248 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations Row NewTBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRow() | |
| 2249 | { | |
| 2250 | return ( (TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRow) (this.NewR ow())); | |
| 2251 | } | |
| 2252 | ||
| 2253 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2254 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2255 | pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder) | |
| 2256 | { | |
| 2257 | return n ew TBI_Get DirectliAn dIndirectl yPermitted StationsRo w(builder) ; | |
| 2258 | } | |
| 2259 | ||
| 2260 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2261 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2262 | pr otected ov erride glo bal::Syste m.Type Get RowType() | |
| 2263 | { | |
| 2264 | return t ypeof(TBI_ GetDirectl iAndIndire ctlyPermit tedStation sRow); | |
| 2265 | } | |
| 2266 | ||
| 2267 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2268 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2269 | pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 2270 | { | |
| 2271 | base.OnR owChanged( e); | |
| 2272 | if ((thi s.TBI_GetD irectliAnd Indirectly PermittedS tationsRow Changed != null)) | |
| 2273 | { | |
| 2274 | this .TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hanged(thi s, new TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRowChang eEvent(((T BI_GetDire ctliAndInd irectlyPer mittedStat ionsRow)(e .Row)), e. Action)); | |
| 2275 | } | |
| 2276 | } | |
| 2277 | ||
| 2278 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2279 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2280 | pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 2281 | { | |
| 2282 | base.OnR owChanging (e); | |
| 2283 | if ((thi s.TBI_GetD irectliAnd Indirectly PermittedS tationsRow Changing ! = null)) | |
| 2284 | { | |
| 2285 | this .TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowC hanging(th is, new TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowChan geEvent((( TBI_GetDir ectliAndIn directlyPe rmittedSta tionsRow)( e.Row)), e .Action)); | |
| 2286 | } | |
| 2287 | } | |
| 2288 | ||
| 2289 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2290 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2291 | pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e) | |
| 2292 | { | |
| 2293 | base.OnR owDeleted( e); | |
| 2294 | if ((thi s.TBI_GetD irectliAnd Indirectly PermittedS tationsRow Deleted != null)) | |
| 2295 | { | |
| 2296 | this .TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowD eleted(thi s, new TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRowChang eEvent(((T BI_GetDire ctliAndInd irectlyPer mittedStat ionsRow)(e .Row)), e. Action)); | |
| 2297 | } | |
| 2298 | } | |
| 2299 | ||
| 2300 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2301 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2302 | pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e ) | |
| 2303 | { | |
| 2304 | base.OnR owDeleting (e); | |
| 2305 | if ((thi s.TBI_GetD irectliAnd Indirectly PermittedS tationsRow Deleting ! = null)) | |
| 2306 | { | |
| 2307 | this .TBI_GetDi rectliAndI ndirectlyP ermittedSt ationsRowD eleting(th is, new TB I_GetDirec tliAndIndi rectlyPerm ittedStati onsRowChan geEvent((( TBI_GetDir ectliAndIn directlyPe rmittedSta tionsRow)( e.Row)), e .Action)); | |
| 2308 | } | |
| 2309 | } | |
| 2310 | ||
| 2311 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2312 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2313 | pu blic void RemoveTBI_ GetDirectl iAndIndire ctlyPermit tedStation sRow(TBI_G etDirectli AndIndirec tlyPermitt edStations Row row) | |
| 2314 | { | |
| 2315 | this.Row s.Remove(r ow); | |
| 2316 | } | |
| 2317 | ||
| 2318 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2319 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2320 | pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs ) | |
| 2321 | { | |
| 2322 | global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new global::Sy stem.Xml.S chema.XmlS chemaCompl exType(); | |
| 2323 | global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new global::S ystem.Xml. Schema.Xml SchemaSequ ence(); | |
| 2324 | ReportUs erAccess d s = new Re portUserAc cess(); | |
| 2325 | global:: System.Xml .Schema.Xm lSchemaAny any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 2326 | any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma"; | |
| 2327 | any1.Min Occurs = n ew decimal (0); | |
| 2328 | any1.Max Occurs = d ecimal.Max Value; | |
| 2329 | any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 2330 | sequence .Items.Add (any1); | |
| 2331 | global:: System.Xml .Schema.Xm lSchemaAny any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny (); | |
| 2332 | any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1"; | |
| 2333 | any2.Min Occurs = n ew decimal (1); | |
| 2334 | any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x; | |
| 2335 | sequence .Items.Add (any2); | |
| 2336 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 2337 | attribut e1.Name = "namespace "; | |
| 2338 | attribut e1.FixedVa lue = ds.N amespace; | |
| 2339 | type.Att ributes.Ad d(attribut e1); | |
| 2340 | global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 = new global ::System.X ml.Schema. XmlSchemaA ttribute() ; | |
| 2341 | attribut e2.Name = "tableType Name"; | |
| 2342 | attribut e2.FixedVa lue = "TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsDataTabl e"; | |
| 2343 | type.Att ributes.Ad d(attribut e2); | |
| 2344 | type.Par ticle = se quence; | |
| 2345 | global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble(); | |
| 2346 | if (xs.C ontains(ds Schema.Tar getNamespa ce)) | |
| 2347 | { | |
| 2348 | glob al::System .IO.Memory Stream s1 = new glob al::System .IO.Memory Stream(); | |
| 2349 | glob al::System .IO.Memory Stream s2 = new glob al::System .IO.Memory Stream(); | |
| 2350 | try | |
| 2351 | { | |
| 2352 | global::Sy stem.Xml.S chema.XmlS chema sche ma = null; | |
| 2353 | dsSchema.W rite(s1); | |
| 2354 | for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); ) | |
| 2355 | { | |
| 2356 | schema = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current)); | |
| 2357 | s2.Set Length(0); | |
| 2358 | schema .Write(s2) ; | |
| 2359 | if ((s 1.Length = = s2.Lengt h)) | |
| 2360 | { | |
| 2361 | s1 .Position = 0; | |
| 2362 | s2 .Position = 0; | |
| 2363 | fo r (; ((s1. Position ! = s1.Lengt h) | |
| 2364 | && (s1.Rea dByte() == s2.ReadBy te())); ) | |
| 2365 | { | |
| 2366 | ; | |
| 2367 | } | |
| 2368 | if ((s1.Posi tion == s1 .Length)) | |
| 2369 | { | |
| 2370 | return t ype; | |
| 2371 | } | |
| 2372 | } | |
| 2373 | } | |
| 2374 | } | |
| 2375 | fina lly | |
| 2376 | { | |
| 2377 | if ((s1 != null)) | |
| 2378 | { | |
| 2379 | s1.Clo se(); | |
| 2380 | } | |
| 2381 | if ((s2 != null)) | |
| 2382 | { | |
| 2383 | s2.Clo se(); | |
| 2384 | } | |
| 2385 | } | |
| 2386 | } | |
| 2387 | xs.Add(d sSchema); | |
| 2388 | return t ype; | |
| 2389 | } | |
| 2390 | } | |
| 2391 | ||
| 2392 | /// <s ummary> | |
| 2393 | ///Rep resents st rongly nam ed DataRow class. | |
| 2394 | ///</s ummary> | |
| 2395 | public partial c lass TBI_G etPermitte dVISNsRow : global:: System.Dat a.DataRow | |
| 2396 | { | |
| 2397 | ||
| 2398 | pr ivate TBI_ GetPermitt edVISNsDat aTable tab leTBI_GetP ermittedVI SNs; | |
| 2399 | ||
| 2400 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2401 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2402 | in ternal TBI _GetPermit tedVISNsRo w(global:: System.Dat a.DataRowB uilder rb) : | |
| 2403 | base(rb) | |
| 2404 | { | |
| 2405 | this.tab leTBI_GetP ermittedVI SNs = ((TB I_GetPermi ttedVISNsD ataTable)( this.Table )); | |
| 2406 | } | |
| 2407 | ||
| 2408 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2409 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2410 | pu blic strin g visnId | |
| 2411 | { | |
| 2412 | get | |
| 2413 | { | |
| 2414 | try | |
| 2415 | { | |
| 2416 | return ((s tring)(thi s[this.tab leTBI_GetP ermittedVI SNs.visnId Column])); | |
| 2417 | } | |
| 2418 | catc h (global: :System.In validCastE xception e ) | |
| 2419 | { | |
| 2420 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Id\' in ta ble \'TBI_ GetPermitt edVISNs\' is DBNull. ", e); | |
| 2421 | } | |
| 2422 | } | |
| 2423 | set | |
| 2424 | { | |
| 2425 | this [this.tabl eTBI_GetPe rmittedVIS Ns.visnIdC olumn] = v alue; | |
| 2426 | } | |
| 2427 | } | |
| 2428 | ||
| 2429 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2430 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2431 | pu blic strin g visnName | |
| 2432 | { | |
| 2433 | get | |
| 2434 | { | |
| 2435 | retu rn ((strin g)(this[th is.tableTB I_GetPermi ttedVISNs. visnNameCo lumn])); | |
| 2436 | } | |
| 2437 | set | |
| 2438 | { | |
| 2439 | this [this.tabl eTBI_GetPe rmittedVIS Ns.visnNam eColumn] = value; | |
| 2440 | } | |
| 2441 | } | |
| 2442 | ||
| 2443 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2444 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2445 | pu blic bool IsvisnIdNu ll() | |
| 2446 | { | |
| 2447 | return t his.IsNull (this.tabl eTBI_GetPe rmittedVIS Ns.visnIdC olumn); | |
| 2448 | } | |
| 2449 | ||
| 2450 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2451 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2452 | pu blic void SetvisnIdN ull() | |
| 2453 | { | |
| 2454 | this[thi s.tableTBI _GetPermit tedVISNs.v isnIdColum n] = globa l::System. Convert.DB Null; | |
| 2455 | } | |
| 2456 | } | |
| 2457 | ||
| 2458 | /// <s ummary> | |
| 2459 | ///Rep resents st rongly nam ed DataRow class. | |
| 2460 | ///</s ummary> | |
| 2461 | public partial c lass TBI_G etPermitte dStationVI SNsRow : g lobal::Sys tem.Data.D ataRow | |
| 2462 | { | |
| 2463 | ||
| 2464 | pr ivate TBI_ GetPermitt edStationV ISNsDataTa ble tableT BI_GetPerm ittedStati onVISNs; | |
| 2465 | ||
| 2466 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2467 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2468 | in ternal TBI _GetPermit tedStation VISNsRow(g lobal::Sys tem.Data.D ataRowBuil der rb) : | |
| 2469 | base(rb) | |
| 2470 | { | |
| 2471 | this.tab leTBI_GetP ermittedSt ationVISNs = ((TBI_G etPermitte dStationVI SNsDataTab le)(this.T able)); | |
| 2472 | } | |
| 2473 | ||
| 2474 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2475 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2476 | pu blic strin g visnId | |
| 2477 | { | |
| 2478 | get | |
| 2479 | { | |
| 2480 | try | |
| 2481 | { | |
| 2482 | return ((s tring)(thi s[this.tab leTBI_GetP ermittedSt ationVISNs .visnIdCol umn])); | |
| 2483 | } | |
| 2484 | catc h (global: :System.In validCastE xception e ) | |
| 2485 | { | |
| 2486 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Id\' in ta ble \'TBI_ GetPermitt edStationV ISNs\' is DBNull.", e); | |
| 2487 | } | |
| 2488 | } | |
| 2489 | set | |
| 2490 | { | |
| 2491 | this [this.tabl eTBI_GetPe rmittedSta tionVISNs. visnIdColu mn] = valu e; | |
| 2492 | } | |
| 2493 | } | |
| 2494 | ||
| 2495 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2496 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2497 | pu blic strin g visnName | |
| 2498 | { | |
| 2499 | get | |
| 2500 | { | |
| 2501 | try | |
| 2502 | { | |
| 2503 | return ((s tring)(thi s[this.tab leTBI_GetP ermittedSt ationVISNs .visnNameC olumn])); | |
| 2504 | } | |
| 2505 | catc h (global: :System.In validCastE xception e ) | |
| 2506 | { | |
| 2507 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Name\' in table \'TB I_GetPermi ttedStatio nVISNs\' i s DBNull" + | |
| 2508 | ". ", e); | |
| 2509 | } | |
| 2510 | } | |
| 2511 | set | |
| 2512 | { | |
| 2513 | this [this.tabl eTBI_GetPe rmittedSta tionVISNs. visnNameCo lumn] = va lue; | |
| 2514 | } | |
| 2515 | } | |
| 2516 | ||
| 2517 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2518 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2519 | pu blic bool IsvisnIdNu ll() | |
| 2520 | { | |
| 2521 | return t his.IsNull (this.tabl eTBI_GetPe rmittedSta tionVISNs. visnIdColu mn); | |
| 2522 | } | |
| 2523 | ||
| 2524 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2525 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2526 | pu blic void SetvisnIdN ull() | |
| 2527 | { | |
| 2528 | this[thi s.tableTBI _GetPermit tedStation VISNs.visn IdColumn] = global:: System.Con vert.DBNul l; | |
| 2529 | } | |
| 2530 | ||
| 2531 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2532 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2533 | pu blic bool IsvisnName Null() | |
| 2534 | { | |
| 2535 | return t his.IsNull (this.tabl eTBI_GetPe rmittedSta tionVISNs. visnNameCo lumn); | |
| 2536 | } | |
| 2537 | ||
| 2538 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2539 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2540 | pu blic void SetvisnNam eNull() | |
| 2541 | { | |
| 2542 | this[thi s.tableTBI _GetPermit tedStation VISNs.visn NameColumn ] = global ::System.C onvert.DBN ull; | |
| 2543 | } | |
| 2544 | } | |
| 2545 | ||
| 2546 | /// <s ummary> | |
| 2547 | ///Rep resents st rongly nam ed DataRow class. | |
| 2548 | ///</s ummary> | |
| 2549 | public partial c lass TBI_G etDirectly PermittedV ISNsRow : global::Sy stem.Data. DataRow | |
| 2550 | { | |
| 2551 | ||
| 2552 | pr ivate TBI_ GetDirectl yPermitted VISNsDataT able table TBI_GetDir ectlyPermi ttedVISNs; | |
| 2553 | ||
| 2554 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2555 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2556 | in ternal TBI _GetDirect lyPermitte dVISNsRow( global::Sy stem.Data. DataRowBui lder rb) : | |
| 2557 | base(rb) | |
| 2558 | { | |
| 2559 | this.tab leTBI_GetD irectlyPer mittedVISN s = ((TBI_ GetDirectl yPermitted VISNsDataT able)(this .Table)); | |
| 2560 | } | |
| 2561 | ||
| 2562 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2563 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2564 | pu blic strin g visnId | |
| 2565 | { | |
| 2566 | get | |
| 2567 | { | |
| 2568 | try | |
| 2569 | { | |
| 2570 | return ((s tring)(thi s[this.tab leTBI_GetD irectlyPer mittedVISN s.visnIdCo lumn])); | |
| 2571 | } | |
| 2572 | catc h (global: :System.In validCastE xception e ) | |
| 2573 | { | |
| 2574 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Id\' in ta ble \'TBI_ GetDirectl yPermitted VISNs\' is DBNull." + | |
| 2575 | "" , e); | |
| 2576 | } | |
| 2577 | } | |
| 2578 | set | |
| 2579 | { | |
| 2580 | this [this.tabl eTBI_GetDi rectlyPerm ittedVISNs .visnIdCol umn] = val ue; | |
| 2581 | } | |
| 2582 | } | |
| 2583 | ||
| 2584 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2585 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2586 | pu blic strin g visnName | |
| 2587 | { | |
| 2588 | get | |
| 2589 | { | |
| 2590 | retu rn ((strin g)(this[th is.tableTB I_GetDirec tlyPermitt edVISNs.vi snNameColu mn])); | |
| 2591 | } | |
| 2592 | set | |
| 2593 | { | |
| 2594 | this [this.tabl eTBI_GetDi rectlyPerm ittedVISNs .visnNameC olumn] = v alue; | |
| 2595 | } | |
| 2596 | } | |
| 2597 | ||
| 2598 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2599 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2600 | pu blic bool IsvisnIdNu ll() | |
| 2601 | { | |
| 2602 | return t his.IsNull (this.tabl eTBI_GetDi rectlyPerm ittedVISNs .visnIdCol umn); | |
| 2603 | } | |
| 2604 | ||
| 2605 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2606 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2607 | pu blic void SetvisnIdN ull() | |
| 2608 | { | |
| 2609 | this[thi s.tableTBI _GetDirect lyPermitte dVISNs.vis nIdColumn] = global: :System.Co nvert.DBNu ll; | |
| 2610 | } | |
| 2611 | } | |
| 2612 | ||
| 2613 | /// <s ummary> | |
| 2614 | ///Rep resents st rongly nam ed DataRow class. | |
| 2615 | ///</s ummary> | |
| 2616 | public partial c lass TBI_G etIndirect lyPermitte dVISNsRow : global:: System.Dat a.DataRow | |
| 2617 | { | |
| 2618 | ||
| 2619 | pr ivate TBI_ GetIndirec tlyPermitt edVISNsDat aTable tab leTBI_GetI ndirectlyP ermittedVI SNs; | |
| 2620 | ||
| 2621 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2622 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2623 | in ternal TBI _GetIndire ctlyPermit tedVISNsRo w(global:: System.Dat a.DataRowB uilder rb) : | |
| 2624 | base(rb) | |
| 2625 | { | |
| 2626 | this.tab leTBI_GetI ndirectlyP ermittedVI SNs = ((TB I_GetIndir ectlyPermi ttedVISNsD ataTable)( this.Table )); | |
| 2627 | } | |
| 2628 | ||
| 2629 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2630 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2631 | pu blic strin g visnId | |
| 2632 | { | |
| 2633 | get | |
| 2634 | { | |
| 2635 | try | |
| 2636 | { | |
| 2637 | return ((s tring)(thi s[this.tab leTBI_GetI ndirectlyP ermittedVI SNs.visnId Column])); | |
| 2638 | } | |
| 2639 | catc h (global: :System.In validCastE xception e ) | |
| 2640 | { | |
| 2641 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Id\' in ta ble \'TBI_ GetIndirec tlyPermitt edVISNs\' is DBNul" + | |
| 2642 | "l .", e); | |
| 2643 | } | |
| 2644 | } | |
| 2645 | set | |
| 2646 | { | |
| 2647 | this [this.tabl eTBI_GetIn directlyPe rmittedVIS Ns.visnIdC olumn] = v alue; | |
| 2648 | } | |
| 2649 | } | |
| 2650 | ||
| 2651 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2652 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2653 | pu blic strin g visnName | |
| 2654 | { | |
| 2655 | get | |
| 2656 | { | |
| 2657 | try | |
| 2658 | { | |
| 2659 | return ((s tring)(thi s[this.tab leTBI_GetI ndirectlyP ermittedVI SNs.visnNa meColumn]) ); | |
| 2660 | } | |
| 2661 | catc h (global: :System.In validCastE xception e ) | |
| 2662 | { | |
| 2663 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'visn Name\' in table \'TB I_GetIndir ectlyPermi ttedVISNs\ ' is DBN" + | |
| 2664 | "u ll.", e); | |
| 2665 | } | |
| 2666 | } | |
| 2667 | set | |
| 2668 | { | |
| 2669 | this [this.tabl eTBI_GetIn directlyPe rmittedVIS Ns.visnNam eColumn] = value; | |
| 2670 | } | |
| 2671 | } | |
| 2672 | ||
| 2673 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2674 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2675 | pu blic bool IsvisnIdNu ll() | |
| 2676 | { | |
| 2677 | return t his.IsNull (this.tabl eTBI_GetIn directlyPe rmittedVIS Ns.visnIdC olumn); | |
| 2678 | } | |
| 2679 | ||
| 2680 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2681 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2682 | pu blic void SetvisnIdN ull() | |
| 2683 | { | |
| 2684 | this[thi s.tableTBI _GetIndire ctlyPermit tedVISNs.v isnIdColum n] = globa l::System. Convert.DB Null; | |
| 2685 | } | |
| 2686 | ||
| 2687 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2688 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2689 | pu blic bool IsvisnName Null() | |
| 2690 | { | |
| 2691 | return t his.IsNull (this.tabl eTBI_GetIn directlyPe rmittedVIS Ns.visnNam eColumn); | |
| 2692 | } | |
| 2693 | ||
| 2694 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2695 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2696 | pu blic void SetvisnNam eNull() | |
| 2697 | { | |
| 2698 | this[thi s.tableTBI _GetIndire ctlyPermit tedVISNs.v isnNameCol umn] = glo bal::Syste m.Convert. DBNull; | |
| 2699 | } | |
| 2700 | } | |
| 2701 | ||
| 2702 | /// <s ummary> | |
| 2703 | ///Rep resents st rongly nam ed DataRow class. | |
| 2704 | ///</s ummary> | |
| 2705 | public partial c lass TBI_G etPermitte dStationsR ow : globa l::System. Data.DataR ow | |
| 2706 | { | |
| 2707 | ||
| 2708 | pr ivate TBI_ GetPermitt edStations DataTable tableTBI_G etPermitte dStations; | |
| 2709 | ||
| 2710 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2711 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2712 | in ternal TBI _GetPermit tedStation sRow(globa l::System. Data.DataR owBuilder rb) : | |
| 2713 | base(rb) | |
| 2714 | { | |
| 2715 | this.tab leTBI_GetP ermittedSt ations = ( (TBI_GetPe rmittedSta tionsDataT able)(this .Table)); | |
| 2716 | } | |
| 2717 | ||
| 2718 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2719 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2720 | pu blic strin g station_ number | |
| 2721 | { | |
| 2722 | get | |
| 2723 | { | |
| 2724 | try | |
| 2725 | { | |
| 2726 | return ((s tring)(thi s[this.tab leTBI_GetP ermittedSt ations.sta tion_numbe rColumn])) ; | |
| 2727 | } | |
| 2728 | catc h (global: :System.In validCastE xception e ) | |
| 2729 | { | |
| 2730 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'stat ion_number \' in tabl e \'TBI_Ge tPermitted Stations\' is DBNu" + | |
| 2731 | "l l.", e); | |
| 2732 | } | |
| 2733 | } | |
| 2734 | set | |
| 2735 | { | |
| 2736 | this [this.tabl eTBI_GetPe rmittedSta tions.stat ion_number Column] = value; | |
| 2737 | } | |
| 2738 | } | |
| 2739 | ||
| 2740 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2741 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2742 | pu blic strin g Name | |
| 2743 | { | |
| 2744 | get | |
| 2745 | { | |
| 2746 | try | |
| 2747 | { | |
| 2748 | return ((s tring)(thi s[this.tab leTBI_GetP ermittedSt ations.Nam eColumn])) ; | |
| 2749 | } | |
| 2750 | catc h (global: :System.In validCastE xception e ) | |
| 2751 | { | |
| 2752 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'Name \' in tabl e \'TBI_Ge tPermitted Stations\' is DBNull .", e); | |
| 2753 | } | |
| 2754 | } | |
| 2755 | set | |
| 2756 | { | |
| 2757 | this [this.tabl eTBI_GetPe rmittedSta tions.Name Column] = value; | |
| 2758 | } | |
| 2759 | } | |
| 2760 | ||
| 2761 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2762 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2763 | pu blic bool Isstation_ numberNull () | |
| 2764 | { | |
| 2765 | return t his.IsNull (this.tabl eTBI_GetPe rmittedSta tions.stat ion_number Column); | |
| 2766 | } | |
| 2767 | ||
| 2768 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2769 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2770 | pu blic void Setstation _numberNul l() | |
| 2771 | { | |
| 2772 | this[thi s.tableTBI _GetPermit tedStation s.station_ numberColu mn] = glob al::System .Convert.D BNull; | |
| 2773 | } | |
| 2774 | ||
| 2775 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2776 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2777 | pu blic bool IsNameNull () | |
| 2778 | { | |
| 2779 | return t his.IsNull (this.tabl eTBI_GetPe rmittedSta tions.Name Column); | |
| 2780 | } | |
| 2781 | ||
| 2782 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2783 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2784 | pu blic void SetNameNul l() | |
| 2785 | { | |
| 2786 | this[thi s.tableTBI _GetPermit tedStation s.NameColu mn] = glob al::System .Convert.D BNull; | |
| 2787 | } | |
| 2788 | } | |
| 2789 | ||
| 2790 | /// <s ummary> | |
| 2791 | ///Rep resents st rongly nam ed DataRow class. | |
| 2792 | ///</s ummary> | |
| 2793 | public partial c lass TBI_G etDirectli AndIndirec tlyPermitt edStations Row : glob al::System .Data.Data Row | |
| 2794 | { | |
| 2795 | ||
| 2796 | pr ivate TBI_ GetDirectl iAndIndire ctlyPermit tedStation sDataTable tableTBI_ GetDirectl iAndIndire ctlyPermit tedStation s; | |
| 2797 | ||
| 2798 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2799 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2800 | in ternal TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRow(glob al::System .Data.Data RowBuilder rb) : | |
| 2801 | base(rb) | |
| 2802 | { | |
| 2803 | this.tab leTBI_GetD irectliAnd Indirectly PermittedS tations = ((TBI_GetD irectliAnd Indirectly PermittedS tationsDat aTable)(th is.Table)) ; | |
| 2804 | } | |
| 2805 | ||
| 2806 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2807 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2808 | pu blic strin g station_ number | |
| 2809 | { | |
| 2810 | get | |
| 2811 | { | |
| 2812 | try | |
| 2813 | { | |
| 2814 | return ((s tring)(thi s[this.tab leTBI_GetD irectliAnd Indirectly PermittedS tations.st ation_numb erColumn]) ); | |
| 2815 | } | |
| 2816 | catc h (global: :System.In validCastE xception e ) | |
| 2817 | { | |
| 2818 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'stat ion_number \' in tabl e \'TBI_Ge tDirectliA ndIndirect lyPermi" + | |
| 2819 | "t tedStation s\' is DBN ull.", e); | |
| 2820 | } | |
| 2821 | } | |
| 2822 | set | |
| 2823 | { | |
| 2824 | this [this.tabl eTBI_GetDi rectliAndI ndirectlyP ermittedSt ations.sta tion_numbe rColumn] = value; | |
| 2825 | } | |
| 2826 | } | |
| 2827 | ||
| 2828 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2829 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2830 | pu blic strin g Name | |
| 2831 | { | |
| 2832 | get | |
| 2833 | { | |
| 2834 | try | |
| 2835 | { | |
| 2836 | return ((s tring)(thi s[this.tab leTBI_GetD irectliAnd Indirectly PermittedS tations.Na meColumn]) ); | |
| 2837 | } | |
| 2838 | catc h (global: :System.In validCastE xception e ) | |
| 2839 | { | |
| 2840 | throw new global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'Name \' in tabl e \'TBI_Ge tDirectliA ndIndirect lyPermitte dStatio" + | |
| 2841 | "n s\' is DBN ull.", e); | |
| 2842 | } | |
| 2843 | } | |
| 2844 | set | |
| 2845 | { | |
| 2846 | this [this.tabl eTBI_GetDi rectliAndI ndirectlyP ermittedSt ations.Nam eColumn] = value; | |
| 2847 | } | |
| 2848 | } | |
| 2849 | ||
| 2850 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2851 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2852 | pu blic bool Isstation_ numberNull () | |
| 2853 | { | |
| 2854 | return t his.IsNull (this.tabl eTBI_GetDi rectliAndI ndirectlyP ermittedSt ations.sta tion_numbe rColumn); | |
| 2855 | } | |
| 2856 | ||
| 2857 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2858 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2859 | pu blic void Setstation _numberNul l() | |
| 2860 | { | |
| 2861 | this[thi s.tableTBI _GetDirect liAndIndir ectlyPermi ttedStatio ns.station _numberCol umn] = glo bal::Syste m.Convert. DBNull; | |
| 2862 | } | |
| 2863 | ||
| 2864 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2865 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2866 | pu blic bool IsNameNull () | |
| 2867 | { | |
| 2868 | return t his.IsNull (this.tabl eTBI_GetDi rectliAndI ndirectlyP ermittedSt ations.Nam eColumn); | |
| 2869 | } | |
| 2870 | ||
| 2871 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2872 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2873 | pu blic void SetNameNul l() | |
| 2874 | { | |
| 2875 | this[thi s.tableTBI _GetDirect liAndIndir ectlyPermi ttedStatio ns.NameCol umn] = glo bal::Syste m.Convert. DBNull; | |
| 2876 | } | |
| 2877 | } | |
| 2878 | ||
| 2879 | /// <s ummary> | |
| 2880 | ///Row event arg ument clas s | |
| 2881 | ///</s ummary> | |
| 2882 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 2883 | public class TBI _GetPermit tedVISNsRo wChangeEve nt : globa l::System. EventArgs | |
| 2884 | { | |
| 2885 | ||
| 2886 | pr ivate TBI_ GetPermitt edVISNsRow eventRow; | |
| 2887 | ||
| 2888 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 2889 | ||
| 2890 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2891 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2892 | pu blic TBI_G etPermitte dVISNsRowC hangeEvent (TBI_GetPe rmittedVIS NsRow row, global::S ystem.Data .DataRowAc tion actio n) | |
| 2893 | { | |
| 2894 | this.eve ntRow = ro w; | |
| 2895 | this.eve ntAction = action; | |
| 2896 | } | |
| 2897 | ||
| 2898 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2899 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2900 | pu blic TBI_G etPermitte dVISNsRow Row | |
| 2901 | { | |
| 2902 | get | |
| 2903 | { | |
| 2904 | retu rn this.ev entRow; | |
| 2905 | } | |
| 2906 | } | |
| 2907 | ||
| 2908 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2909 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2910 | pu blic globa l::System. Data.DataR owAction A ction | |
| 2911 | { | |
| 2912 | get | |
| 2913 | { | |
| 2914 | retu rn this.ev entAction; | |
| 2915 | } | |
| 2916 | } | |
| 2917 | } | |
| 2918 | ||
| 2919 | /// <s ummary> | |
| 2920 | ///Row event arg ument clas s | |
| 2921 | ///</s ummary> | |
| 2922 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 2923 | public class TBI _GetPermit tedStation VISNsRowCh angeEvent : global:: System.Eve ntArgs | |
| 2924 | { | |
| 2925 | ||
| 2926 | pr ivate TBI_ GetPermitt edStationV ISNsRow ev entRow; | |
| 2927 | ||
| 2928 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 2929 | ||
| 2930 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2931 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2932 | pu blic TBI_G etPermitte dStationVI SNsRowChan geEvent(TB I_GetPermi ttedStatio nVISNsRow row, globa l::System. Data.DataR owAction a ction) | |
| 2933 | { | |
| 2934 | this.eve ntRow = ro w; | |
| 2935 | this.eve ntAction = action; | |
| 2936 | } | |
| 2937 | ||
| 2938 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2939 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2940 | pu blic TBI_G etPermitte dStationVI SNsRow Row | |
| 2941 | { | |
| 2942 | get | |
| 2943 | { | |
| 2944 | retu rn this.ev entRow; | |
| 2945 | } | |
| 2946 | } | |
| 2947 | ||
| 2948 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2949 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2950 | pu blic globa l::System. Data.DataR owAction A ction | |
| 2951 | { | |
| 2952 | get | |
| 2953 | { | |
| 2954 | retu rn this.ev entAction; | |
| 2955 | } | |
| 2956 | } | |
| 2957 | } | |
| 2958 | ||
| 2959 | /// <s ummary> | |
| 2960 | ///Row event arg ument clas s | |
| 2961 | ///</s ummary> | |
| 2962 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 2963 | public class TBI _GetDirect lyPermitte dVISNsRowC hangeEvent : global: :System.Ev entArgs | |
| 2964 | { | |
| 2965 | ||
| 2966 | pr ivate TBI_ GetDirectl yPermitted VISNsRow e ventRow; | |
| 2967 | ||
| 2968 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 2969 | ||
| 2970 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2971 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2972 | pu blic TBI_G etDirectly PermittedV ISNsRowCha ngeEvent(T BI_GetDire ctlyPermit tedVISNsRo w row, glo bal::Syste m.Data.Dat aRowAction action) | |
| 2973 | { | |
| 2974 | this.eve ntRow = ro w; | |
| 2975 | this.eve ntAction = action; | |
| 2976 | } | |
| 2977 | ||
| 2978 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2979 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2980 | pu blic TBI_G etDirectly PermittedV ISNsRow Ro w | |
| 2981 | { | |
| 2982 | get | |
| 2983 | { | |
| 2984 | retu rn this.ev entRow; | |
| 2985 | } | |
| 2986 | } | |
| 2987 | ||
| 2988 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 2989 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 2990 | pu blic globa l::System. Data.DataR owAction A ction | |
| 2991 | { | |
| 2992 | get | |
| 2993 | { | |
| 2994 | retu rn this.ev entAction; | |
| 2995 | } | |
| 2996 | } | |
| 2997 | } | |
| 2998 | ||
| 2999 | /// <s ummary> | |
| 3000 | ///Row event arg ument clas s | |
| 3001 | ///</s ummary> | |
| 3002 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 3003 | public class TBI _GetIndire ctlyPermit tedVISNsRo wChangeEve nt : globa l::System. EventArgs | |
| 3004 | { | |
| 3005 | ||
| 3006 | pr ivate TBI_ GetIndirec tlyPermitt edVISNsRow eventRow; | |
| 3007 | ||
| 3008 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 3009 | ||
| 3010 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3011 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3012 | pu blic TBI_G etIndirect lyPermitte dVISNsRowC hangeEvent (TBI_GetIn directlyPe rmittedVIS NsRow row, global::S ystem.Data .DataRowAc tion actio n) | |
| 3013 | { | |
| 3014 | this.eve ntRow = ro w; | |
| 3015 | this.eve ntAction = action; | |
| 3016 | } | |
| 3017 | ||
| 3018 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3019 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3020 | pu blic TBI_G etIndirect lyPermitte dVISNsRow Row | |
| 3021 | { | |
| 3022 | get | |
| 3023 | { | |
| 3024 | retu rn this.ev entRow; | |
| 3025 | } | |
| 3026 | } | |
| 3027 | ||
| 3028 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3029 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3030 | pu blic globa l::System. Data.DataR owAction A ction | |
| 3031 | { | |
| 3032 | get | |
| 3033 | { | |
| 3034 | retu rn this.ev entAction; | |
| 3035 | } | |
| 3036 | } | |
| 3037 | } | |
| 3038 | ||
| 3039 | /// <s ummary> | |
| 3040 | ///Row event arg ument clas s | |
| 3041 | ///</s ummary> | |
| 3042 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 3043 | public class TBI _GetPermit tedStation sRowChange Event : gl obal::Syst em.EventAr gs | |
| 3044 | { | |
| 3045 | ||
| 3046 | pr ivate TBI_ GetPermitt edStations Row eventR ow; | |
| 3047 | ||
| 3048 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 3049 | ||
| 3050 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3051 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3052 | pu blic TBI_G etPermitte dStationsR owChangeEv ent(TBI_Ge tPermitted StationsRo w row, glo bal::Syste m.Data.Dat aRowAction action) | |
| 3053 | { | |
| 3054 | this.eve ntRow = ro w; | |
| 3055 | this.eve ntAction = action; | |
| 3056 | } | |
| 3057 | ||
| 3058 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3059 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3060 | pu blic TBI_G etPermitte dStationsR ow Row | |
| 3061 | { | |
| 3062 | get | |
| 3063 | { | |
| 3064 | retu rn this.ev entRow; | |
| 3065 | } | |
| 3066 | } | |
| 3067 | ||
| 3068 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3069 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3070 | pu blic globa l::System. Data.DataR owAction A ction | |
| 3071 | { | |
| 3072 | get | |
| 3073 | { | |
| 3074 | retu rn this.ev entAction; | |
| 3075 | } | |
| 3076 | } | |
| 3077 | } | |
| 3078 | ||
| 3079 | /// <s ummary> | |
| 3080 | ///Row event arg ument clas s | |
| 3081 | ///</s ummary> | |
| 3082 | [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")] | |
| 3083 | public class TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsRowChang eEvent : g lobal::Sys tem.EventA rgs | |
| 3084 | { | |
| 3085 | ||
| 3086 | pr ivate TBI_ GetDirectl iAndIndire ctlyPermit tedStation sRow event Row; | |
| 3087 | ||
| 3088 | pr ivate glob al::System .Data.Data RowAction eventActio n; | |
| 3089 | ||
| 3090 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3091 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3092 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations RowChangeE vent(TBI_G etDirectli AndIndirec tlyPermitt edStations Row row, g lobal::Sys tem.Data.D ataRowActi on action) | |
| 3093 | { | |
| 3094 | this.eve ntRow = ro w; | |
| 3095 | this.eve ntAction = action; | |
| 3096 | } | |
| 3097 | ||
| 3098 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3099 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3100 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations Row Row | |
| 3101 | { | |
| 3102 | get | |
| 3103 | { | |
| 3104 | retu rn this.ev entRow; | |
| 3105 | } | |
| 3106 | } | |
| 3107 | ||
| 3108 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3109 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3110 | pu blic globa l::System. Data.DataR owAction A ction | |
| 3111 | { | |
| 3112 | get | |
| 3113 | { | |
| 3114 | retu rn this.ev entAction; | |
| 3115 | } | |
| 3116 | } | |
| 3117 | } | |
| 3118 | } | |
| 3119 | namespace ReportUser AccessTabl eAdapters | |
| 3120 | { | |
| 3121 | ||
| 3122 | ||
| 3123 | /// <s ummary> | |
| 3124 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 3125 | ///</s ummary> | |
| 3126 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 3127 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 3128 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 3129 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 3130 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 3131 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 3132 | public partial c lass TBI_G etPermitte dVISNsTabl eAdapter : global::S ystem.Comp onentModel .Component | |
| 3133 | { | |
| 3134 | ||
| 3135 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 3136 | ||
| 3137 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 3138 | ||
| 3139 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 3140 | ||
| 3141 | pr ivate bool _clearBef oreFill; | |
| 3142 | ||
| 3143 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3144 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3145 | pu blic TBI_G etPermitte dVISNsTabl eAdapter() | |
| 3146 | { | |
| 3147 | this.Cle arBeforeFi ll = true; | |
| 3148 | } | |
| 3149 | ||
| 3150 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3151 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3152 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 3153 | { | |
| 3154 | get | |
| 3155 | { | |
| 3156 | if ( (this._ada pter == nu ll)) | |
| 3157 | { | |
| 3158 | this.InitA dapter(); | |
| 3159 | } | |
| 3160 | retu rn this._a dapter; | |
| 3161 | } | |
| 3162 | } | |
| 3163 | ||
| 3164 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3165 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3166 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 3167 | { | |
| 3168 | get | |
| 3169 | { | |
| 3170 | if ( (this._con nection == null)) | |
| 3171 | { | |
| 3172 | this.InitC onnection( ); | |
| 3173 | } | |
| 3174 | retu rn this._c onnection; | |
| 3175 | } | |
| 3176 | set | |
| 3177 | { | |
| 3178 | this ._connecti on = value ; | |
| 3179 | if ( (this.Adap ter.Insert Command != null)) | |
| 3180 | { | |
| 3181 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 3182 | } | |
| 3183 | if ( (this.Adap ter.Delete Command != null)) | |
| 3184 | { | |
| 3185 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 3186 | } | |
| 3187 | if ( (this.Adap ter.Update Command != null)) | |
| 3188 | { | |
| 3189 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 3190 | } | |
| 3191 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 3192 | { | |
| 3193 | if ((this. CommandCol lection[i] != null)) | |
| 3194 | { | |
| 3195 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 3196 | } | |
| 3197 | } | |
| 3198 | } | |
| 3199 | } | |
| 3200 | ||
| 3201 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3202 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3203 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 3204 | { | |
| 3205 | get | |
| 3206 | { | |
| 3207 | if ( (this._com mandCollec tion == nu ll)) | |
| 3208 | { | |
| 3209 | this.InitC ommandColl ection(); | |
| 3210 | } | |
| 3211 | retu rn this._c ommandColl ection; | |
| 3212 | } | |
| 3213 | } | |
| 3214 | ||
| 3215 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3216 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3217 | pu blic bool ClearBefor eFill | |
| 3218 | { | |
| 3219 | get | |
| 3220 | { | |
| 3221 | retu rn this._c learBefore Fill; | |
| 3222 | } | |
| 3223 | set | |
| 3224 | { | |
| 3225 | this ._clearBef oreFill = value; | |
| 3226 | } | |
| 3227 | } | |
| 3228 | ||
| 3229 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3230 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3231 | pr ivate void InitAdapt er() | |
| 3232 | { | |
| 3233 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 3234 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 3235 | tableMap ping.Sourc eTable = " Table"; | |
| 3236 | tableMap ping.DataS etTable = "TBI_GetPe rmittedVIS Ns"; | |
| 3237 | tableMap ping.Colum nMappings. Add("visnI d", "visnI d"); | |
| 3238 | tableMap ping.Colum nMappings. Add("visnN ame", "vis nName"); | |
| 3239 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 3240 | } | |
| 3241 | ||
| 3242 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3243 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3244 | pr ivate void InitConne ction() | |
| 3245 | { | |
| 3246 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 3247 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 3248 | } | |
| 3249 | ||
| 3250 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3251 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3252 | pr ivate void InitComma ndCollecti on() | |
| 3253 | { | |
| 3254 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 3255 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 3256 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 3257 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetPermi ttedVISNs" ; | |
| 3258 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 3259 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 3260 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 3261 | } | |
| 3262 | ||
| 3263 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3264 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3265 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3266 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 3267 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetPerm ittedVISNs DataTable dataTable, string us erName) | |
| 3268 | { | |
| 3269 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3270 | if ((use rName == n ull)) | |
| 3271 | { | |
| 3272 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3273 | } | |
| 3274 | else | |
| 3275 | { | |
| 3276 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3277 | } | |
| 3278 | if ((thi s.ClearBef oreFill == true)) | |
| 3279 | { | |
| 3280 | data Table.Clea r(); | |
| 3281 | } | |
| 3282 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 3283 | return r eturnValue ; | |
| 3284 | } | |
| 3285 | ||
| 3286 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3287 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3288 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3289 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 3290 | pu blic virtu al ReportU serAccess. TBI_GetPer mittedVISN sDataTable GetData(s tring user Name) | |
| 3291 | { | |
| 3292 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3293 | if ((use rName == n ull)) | |
| 3294 | { | |
| 3295 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3296 | } | |
| 3297 | else | |
| 3298 | { | |
| 3299 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3300 | } | |
| 3301 | ReportUs erAccess.T BI_GetPerm ittedVISNs DataTable dataTable = new Repo rtUserAcce ss.TBI_Get PermittedV ISNsDataTa ble(); | |
| 3302 | this.Ada pter.Fill( dataTable) ; | |
| 3303 | return d ataTable; | |
| 3304 | } | |
| 3305 | } | |
| 3306 | ||
| 3307 | /// <s ummary> | |
| 3308 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 3309 | ///</s ummary> | |
| 3310 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 3311 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 3312 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 3313 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 3314 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 3315 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 3316 | public partial c lass TBI_G etPermitte dStationVI SNsTableAd apter : gl obal::Syst em.Compone ntModel.Co mponent | |
| 3317 | { | |
| 3318 | ||
| 3319 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 3320 | ||
| 3321 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 3322 | ||
| 3323 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 3324 | ||
| 3325 | pr ivate bool _clearBef oreFill; | |
| 3326 | ||
| 3327 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3328 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3329 | pu blic TBI_G etPermitte dStationVI SNsTableAd apter() | |
| 3330 | { | |
| 3331 | this.Cle arBeforeFi ll = true; | |
| 3332 | } | |
| 3333 | ||
| 3334 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3335 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3336 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 3337 | { | |
| 3338 | get | |
| 3339 | { | |
| 3340 | if ( (this._ada pter == nu ll)) | |
| 3341 | { | |
| 3342 | this.InitA dapter(); | |
| 3343 | } | |
| 3344 | retu rn this._a dapter; | |
| 3345 | } | |
| 3346 | } | |
| 3347 | ||
| 3348 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3349 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3350 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 3351 | { | |
| 3352 | get | |
| 3353 | { | |
| 3354 | if ( (this._con nection == null)) | |
| 3355 | { | |
| 3356 | this.InitC onnection( ); | |
| 3357 | } | |
| 3358 | retu rn this._c onnection; | |
| 3359 | } | |
| 3360 | set | |
| 3361 | { | |
| 3362 | this ._connecti on = value ; | |
| 3363 | if ( (this.Adap ter.Insert Command != null)) | |
| 3364 | { | |
| 3365 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 3366 | } | |
| 3367 | if ( (this.Adap ter.Delete Command != null)) | |
| 3368 | { | |
| 3369 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 3370 | } | |
| 3371 | if ( (this.Adap ter.Update Command != null)) | |
| 3372 | { | |
| 3373 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 3374 | } | |
| 3375 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 3376 | { | |
| 3377 | if ((this. CommandCol lection[i] != null)) | |
| 3378 | { | |
| 3379 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 3380 | } | |
| 3381 | } | |
| 3382 | } | |
| 3383 | } | |
| 3384 | ||
| 3385 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3386 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3387 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 3388 | { | |
| 3389 | get | |
| 3390 | { | |
| 3391 | if ( (this._com mandCollec tion == nu ll)) | |
| 3392 | { | |
| 3393 | this.InitC ommandColl ection(); | |
| 3394 | } | |
| 3395 | retu rn this._c ommandColl ection; | |
| 3396 | } | |
| 3397 | } | |
| 3398 | ||
| 3399 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3400 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3401 | pu blic bool ClearBefor eFill | |
| 3402 | { | |
| 3403 | get | |
| 3404 | { | |
| 3405 | retu rn this._c learBefore Fill; | |
| 3406 | } | |
| 3407 | set | |
| 3408 | { | |
| 3409 | this ._clearBef oreFill = value; | |
| 3410 | } | |
| 3411 | } | |
| 3412 | ||
| 3413 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3414 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3415 | pr ivate void InitAdapt er() | |
| 3416 | { | |
| 3417 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 3418 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 3419 | tableMap ping.Sourc eTable = " Table"; | |
| 3420 | tableMap ping.DataS etTable = "TBI_GetPe rmittedSta tionVISNs" ; | |
| 3421 | tableMap ping.Colum nMappings. Add("visnI d", "visnI d"); | |
| 3422 | tableMap ping.Colum nMappings. Add("visnN ame", "vis nName"); | |
| 3423 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 3424 | } | |
| 3425 | ||
| 3426 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3427 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3428 | pr ivate void InitConne ction() | |
| 3429 | { | |
| 3430 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 3431 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 3432 | } | |
| 3433 | ||
| 3434 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3435 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3436 | pr ivate void InitComma ndCollecti on() | |
| 3437 | { | |
| 3438 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 3439 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 3440 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 3441 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetPermi ttedStatio nVISNs"; | |
| 3442 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 3443 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 3444 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 3445 | } | |
| 3446 | ||
| 3447 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3448 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3449 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3450 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 3451 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetPerm ittedStati onVISNsDat aTable dat aTable, st ring userN ame) | |
| 3452 | { | |
| 3453 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3454 | if ((use rName == n ull)) | |
| 3455 | { | |
| 3456 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3457 | } | |
| 3458 | else | |
| 3459 | { | |
| 3460 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3461 | } | |
| 3462 | if ((thi s.ClearBef oreFill == true)) | |
| 3463 | { | |
| 3464 | data Table.Clea r(); | |
| 3465 | } | |
| 3466 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 3467 | return r eturnValue ; | |
| 3468 | } | |
| 3469 | ||
| 3470 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3471 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3472 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3473 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 3474 | pu blic virtu al ReportU serAccess. TBI_GetPer mittedStat ionVISNsDa taTable Ge tData(stri ng userNam e) | |
| 3475 | { | |
| 3476 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3477 | if ((use rName == n ull)) | |
| 3478 | { | |
| 3479 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3480 | } | |
| 3481 | else | |
| 3482 | { | |
| 3483 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3484 | } | |
| 3485 | ReportUs erAccess.T BI_GetPerm ittedStati onVISNsDat aTable dat aTable = n ew ReportU serAccess. TBI_GetPer mittedStat ionVISNsDa taTable(); | |
| 3486 | this.Ada pter.Fill( dataTable) ; | |
| 3487 | return d ataTable; | |
| 3488 | } | |
| 3489 | } | |
| 3490 | ||
| 3491 | /// <s ummary> | |
| 3492 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 3493 | ///</s ummary> | |
| 3494 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 3495 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 3496 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 3497 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 3498 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 3499 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 3500 | public partial c lass TBI_G etDirectly PermittedV ISNsTableA dapter : g lobal::Sys tem.Compon entModel.C omponent | |
| 3501 | { | |
| 3502 | ||
| 3503 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 3504 | ||
| 3505 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 3506 | ||
| 3507 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 3508 | ||
| 3509 | pr ivate bool _clearBef oreFill; | |
| 3510 | ||
| 3511 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3512 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3513 | pu blic TBI_G etDirectly PermittedV ISNsTableA dapter() | |
| 3514 | { | |
| 3515 | this.Cle arBeforeFi ll = true; | |
| 3516 | } | |
| 3517 | ||
| 3518 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3519 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3520 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 3521 | { | |
| 3522 | get | |
| 3523 | { | |
| 3524 | if ( (this._ada pter == nu ll)) | |
| 3525 | { | |
| 3526 | this.InitA dapter(); | |
| 3527 | } | |
| 3528 | retu rn this._a dapter; | |
| 3529 | } | |
| 3530 | } | |
| 3531 | ||
| 3532 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3533 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3534 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 3535 | { | |
| 3536 | get | |
| 3537 | { | |
| 3538 | if ( (this._con nection == null)) | |
| 3539 | { | |
| 3540 | this.InitC onnection( ); | |
| 3541 | } | |
| 3542 | retu rn this._c onnection; | |
| 3543 | } | |
| 3544 | set | |
| 3545 | { | |
| 3546 | this ._connecti on = value ; | |
| 3547 | if ( (this.Adap ter.Insert Command != null)) | |
| 3548 | { | |
| 3549 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 3550 | } | |
| 3551 | if ( (this.Adap ter.Delete Command != null)) | |
| 3552 | { | |
| 3553 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 3554 | } | |
| 3555 | if ( (this.Adap ter.Update Command != null)) | |
| 3556 | { | |
| 3557 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 3558 | } | |
| 3559 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 3560 | { | |
| 3561 | if ((this. CommandCol lection[i] != null)) | |
| 3562 | { | |
| 3563 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 3564 | } | |
| 3565 | } | |
| 3566 | } | |
| 3567 | } | |
| 3568 | ||
| 3569 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3570 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3571 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 3572 | { | |
| 3573 | get | |
| 3574 | { | |
| 3575 | if ( (this._com mandCollec tion == nu ll)) | |
| 3576 | { | |
| 3577 | this.InitC ommandColl ection(); | |
| 3578 | } | |
| 3579 | retu rn this._c ommandColl ection; | |
| 3580 | } | |
| 3581 | } | |
| 3582 | ||
| 3583 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3584 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3585 | pu blic bool ClearBefor eFill | |
| 3586 | { | |
| 3587 | get | |
| 3588 | { | |
| 3589 | retu rn this._c learBefore Fill; | |
| 3590 | } | |
| 3591 | set | |
| 3592 | { | |
| 3593 | this ._clearBef oreFill = value; | |
| 3594 | } | |
| 3595 | } | |
| 3596 | ||
| 3597 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3598 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3599 | pr ivate void InitAdapt er() | |
| 3600 | { | |
| 3601 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 3602 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 3603 | tableMap ping.Sourc eTable = " Table"; | |
| 3604 | tableMap ping.DataS etTable = "TBI_GetDi rectlyPerm ittedVISNs "; | |
| 3605 | tableMap ping.Colum nMappings. Add("visnI d", "visnI d"); | |
| 3606 | tableMap ping.Colum nMappings. Add("visnN ame", "vis nName"); | |
| 3607 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 3608 | } | |
| 3609 | ||
| 3610 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3611 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3612 | pr ivate void InitConne ction() | |
| 3613 | { | |
| 3614 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 3615 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 3616 | } | |
| 3617 | ||
| 3618 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3619 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3620 | pr ivate void InitComma ndCollecti on() | |
| 3621 | { | |
| 3622 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 3623 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 3624 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 3625 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetDirec tlyPermitt edVISNs"; | |
| 3626 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 3627 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 3628 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 3629 | } | |
| 3630 | ||
| 3631 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3632 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3633 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3634 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 3635 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetDire ctlyPermit tedVISNsDa taTable da taTable, s tring user Name) | |
| 3636 | { | |
| 3637 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3638 | if ((use rName == n ull)) | |
| 3639 | { | |
| 3640 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3641 | } | |
| 3642 | else | |
| 3643 | { | |
| 3644 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3645 | } | |
| 3646 | if ((thi s.ClearBef oreFill == true)) | |
| 3647 | { | |
| 3648 | data Table.Clea r(); | |
| 3649 | } | |
| 3650 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 3651 | return r eturnValue ; | |
| 3652 | } | |
| 3653 | ||
| 3654 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3655 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3656 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3657 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 3658 | pu blic virtu al ReportU serAccess. TBI_GetDir ectlyPermi ttedVISNsD ataTable G etData(str ing userNa me) | |
| 3659 | { | |
| 3660 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3661 | if ((use rName == n ull)) | |
| 3662 | { | |
| 3663 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3664 | } | |
| 3665 | else | |
| 3666 | { | |
| 3667 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3668 | } | |
| 3669 | ReportUs erAccess.T BI_GetDire ctlyPermit tedVISNsDa taTable da taTable = new Report UserAccess .TBI_GetDi rectlyPerm ittedVISNs DataTable( ); | |
| 3670 | this.Ada pter.Fill( dataTable) ; | |
| 3671 | return d ataTable; | |
| 3672 | } | |
| 3673 | } | |
| 3674 | ||
| 3675 | /// <s ummary> | |
| 3676 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 3677 | ///</s ummary> | |
| 3678 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 3679 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 3680 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 3681 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 3682 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 3683 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 3684 | public partial c lass TBI_G etIndirect lyPermitte dVISNsTabl eAdapter : global::S ystem.Comp onentModel .Component | |
| 3685 | { | |
| 3686 | ||
| 3687 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 3688 | ||
| 3689 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 3690 | ||
| 3691 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 3692 | ||
| 3693 | pr ivate bool _clearBef oreFill; | |
| 3694 | ||
| 3695 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3696 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3697 | pu blic TBI_G etIndirect lyPermitte dVISNsTabl eAdapter() | |
| 3698 | { | |
| 3699 | this.Cle arBeforeFi ll = true; | |
| 3700 | } | |
| 3701 | ||
| 3702 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3703 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3704 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 3705 | { | |
| 3706 | get | |
| 3707 | { | |
| 3708 | if ( (this._ada pter == nu ll)) | |
| 3709 | { | |
| 3710 | this.InitA dapter(); | |
| 3711 | } | |
| 3712 | retu rn this._a dapter; | |
| 3713 | } | |
| 3714 | } | |
| 3715 | ||
| 3716 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3717 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3718 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 3719 | { | |
| 3720 | get | |
| 3721 | { | |
| 3722 | if ( (this._con nection == null)) | |
| 3723 | { | |
| 3724 | this.InitC onnection( ); | |
| 3725 | } | |
| 3726 | retu rn this._c onnection; | |
| 3727 | } | |
| 3728 | set | |
| 3729 | { | |
| 3730 | this ._connecti on = value ; | |
| 3731 | if ( (this.Adap ter.Insert Command != null)) | |
| 3732 | { | |
| 3733 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 3734 | } | |
| 3735 | if ( (this.Adap ter.Delete Command != null)) | |
| 3736 | { | |
| 3737 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 3738 | } | |
| 3739 | if ( (this.Adap ter.Update Command != null)) | |
| 3740 | { | |
| 3741 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 3742 | } | |
| 3743 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 3744 | { | |
| 3745 | if ((this. CommandCol lection[i] != null)) | |
| 3746 | { | |
| 3747 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 3748 | } | |
| 3749 | } | |
| 3750 | } | |
| 3751 | } | |
| 3752 | ||
| 3753 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3754 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3755 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 3756 | { | |
| 3757 | get | |
| 3758 | { | |
| 3759 | if ( (this._com mandCollec tion == nu ll)) | |
| 3760 | { | |
| 3761 | this.InitC ommandColl ection(); | |
| 3762 | } | |
| 3763 | retu rn this._c ommandColl ection; | |
| 3764 | } | |
| 3765 | } | |
| 3766 | ||
| 3767 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3768 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3769 | pu blic bool ClearBefor eFill | |
| 3770 | { | |
| 3771 | get | |
| 3772 | { | |
| 3773 | retu rn this._c learBefore Fill; | |
| 3774 | } | |
| 3775 | set | |
| 3776 | { | |
| 3777 | this ._clearBef oreFill = value; | |
| 3778 | } | |
| 3779 | } | |
| 3780 | ||
| 3781 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3782 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3783 | pr ivate void InitAdapt er() | |
| 3784 | { | |
| 3785 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 3786 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 3787 | tableMap ping.Sourc eTable = " Table"; | |
| 3788 | tableMap ping.DataS etTable = "TBI_GetIn directlyPe rmittedVIS Ns"; | |
| 3789 | tableMap ping.Colum nMappings. Add("visnI d", "visnI d"); | |
| 3790 | tableMap ping.Colum nMappings. Add("visnN ame", "vis nName"); | |
| 3791 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 3792 | } | |
| 3793 | ||
| 3794 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3795 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3796 | pr ivate void InitConne ction() | |
| 3797 | { | |
| 3798 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 3799 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 3800 | } | |
| 3801 | ||
| 3802 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3803 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3804 | pr ivate void InitComma ndCollecti on() | |
| 3805 | { | |
| 3806 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 3807 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 3808 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 3809 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetIndir ectlyPermi ttedVISNs" ; | |
| 3810 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 3811 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 3812 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 3813 | } | |
| 3814 | ||
| 3815 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3816 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3817 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3818 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 3819 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetIndi rectlyPerm ittedVISNs DataTable dataTable, string us erName) | |
| 3820 | { | |
| 3821 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3822 | if ((use rName == n ull)) | |
| 3823 | { | |
| 3824 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3825 | } | |
| 3826 | else | |
| 3827 | { | |
| 3828 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3829 | } | |
| 3830 | if ((thi s.ClearBef oreFill == true)) | |
| 3831 | { | |
| 3832 | data Table.Clea r(); | |
| 3833 | } | |
| 3834 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 3835 | return r eturnValue ; | |
| 3836 | } | |
| 3837 | ||
| 3838 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3839 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3840 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 3841 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 3842 | pu blic virtu al ReportU serAccess. TBI_GetInd irectlyPer mittedVISN sDataTable GetData(s tring user Name) | |
| 3843 | { | |
| 3844 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 3845 | if ((use rName == n ull)) | |
| 3846 | { | |
| 3847 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 3848 | } | |
| 3849 | else | |
| 3850 | { | |
| 3851 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(userN ame)); | |
| 3852 | } | |
| 3853 | ReportUs erAccess.T BI_GetIndi rectlyPerm ittedVISNs DataTable dataTable = new Repo rtUserAcce ss.TBI_Get Indirectly PermittedV ISNsDataTa ble(); | |
| 3854 | this.Ada pter.Fill( dataTable) ; | |
| 3855 | return d ataTable; | |
| 3856 | } | |
| 3857 | } | |
| 3858 | ||
| 3859 | /// <s ummary> | |
| 3860 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 3861 | ///</s ummary> | |
| 3862 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 3863 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 3864 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 3865 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 3866 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 3867 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 3868 | public partial c lass TBI_G etPermitte dStationsT ableAdapte r : global ::System.C omponentMo del.Compon ent | |
| 3869 | { | |
| 3870 | ||
| 3871 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 3872 | ||
| 3873 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 3874 | ||
| 3875 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 3876 | ||
| 3877 | pr ivate bool _clearBef oreFill; | |
| 3878 | ||
| 3879 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3880 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3881 | pu blic TBI_G etPermitte dStationsT ableAdapte r() | |
| 3882 | { | |
| 3883 | this.Cle arBeforeFi ll = true; | |
| 3884 | } | |
| 3885 | ||
| 3886 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3887 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3888 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 3889 | { | |
| 3890 | get | |
| 3891 | { | |
| 3892 | if ( (this._ada pter == nu ll)) | |
| 3893 | { | |
| 3894 | this.InitA dapter(); | |
| 3895 | } | |
| 3896 | retu rn this._a dapter; | |
| 3897 | } | |
| 3898 | } | |
| 3899 | ||
| 3900 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3901 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3902 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 3903 | { | |
| 3904 | get | |
| 3905 | { | |
| 3906 | if ( (this._con nection == null)) | |
| 3907 | { | |
| 3908 | this.InitC onnection( ); | |
| 3909 | } | |
| 3910 | retu rn this._c onnection; | |
| 3911 | } | |
| 3912 | set | |
| 3913 | { | |
| 3914 | this ._connecti on = value ; | |
| 3915 | if ( (this.Adap ter.Insert Command != null)) | |
| 3916 | { | |
| 3917 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 3918 | } | |
| 3919 | if ( (this.Adap ter.Delete Command != null)) | |
| 3920 | { | |
| 3921 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 3922 | } | |
| 3923 | if ( (this.Adap ter.Update Command != null)) | |
| 3924 | { | |
| 3925 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 3926 | } | |
| 3927 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 3928 | { | |
| 3929 | if ((this. CommandCol lection[i] != null)) | |
| 3930 | { | |
| 3931 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 3932 | } | |
| 3933 | } | |
| 3934 | } | |
| 3935 | } | |
| 3936 | ||
| 3937 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3938 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3939 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 3940 | { | |
| 3941 | get | |
| 3942 | { | |
| 3943 | if ( (this._com mandCollec tion == nu ll)) | |
| 3944 | { | |
| 3945 | this.InitC ommandColl ection(); | |
| 3946 | } | |
| 3947 | retu rn this._c ommandColl ection; | |
| 3948 | } | |
| 3949 | } | |
| 3950 | ||
| 3951 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3952 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3953 | pu blic bool ClearBefor eFill | |
| 3954 | { | |
| 3955 | get | |
| 3956 | { | |
| 3957 | retu rn this._c learBefore Fill; | |
| 3958 | } | |
| 3959 | set | |
| 3960 | { | |
| 3961 | this ._clearBef oreFill = value; | |
| 3962 | } | |
| 3963 | } | |
| 3964 | ||
| 3965 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3966 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3967 | pr ivate void InitAdapt er() | |
| 3968 | { | |
| 3969 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 3970 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 3971 | tableMap ping.Sourc eTable = " Table"; | |
| 3972 | tableMap ping.DataS etTable = "TBI_GetPe rmittedSta tions"; | |
| 3973 | tableMap ping.Colum nMappings. Add("stati on_number" , "station _number"); | |
| 3974 | tableMap ping.Colum nMappings. Add("Name" , "Name"); | |
| 3975 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 3976 | } | |
| 3977 | ||
| 3978 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3979 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3980 | pr ivate void InitConne ction() | |
| 3981 | { | |
| 3982 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 3983 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 3984 | } | |
| 3985 | ||
| 3986 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 3987 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 3988 | pr ivate void InitComma ndCollecti on() | |
| 3989 | { | |
| 3990 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 3991 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 3992 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 3993 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetPermi ttedStatio ns"; | |
| 3994 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 3995 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 3996 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@visnId" , global:: System.Dat a.SqlDbTyp e.VarChar, 10, globa l::System. Data.Param eterDirect ion.Input, 0, 0, nul l, global: :System.Da ta.DataRow Version.Cu rrent, fal se, null, "", "", "" )); | |
| 3997 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 3998 | } | |
| 3999 | ||
| 4000 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4001 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4002 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 4003 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 4004 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetPerm ittedStati onsDataTab le dataTab le, string visnId, s tring user Name) | |
| 4005 | { | |
| 4006 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 4007 | if ((vis nId == nul l)) | |
| 4008 | { | |
| 4009 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 4010 | } | |
| 4011 | else | |
| 4012 | { | |
| 4013 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d)); | |
| 4014 | } | |
| 4015 | if ((use rName == n ull)) | |
| 4016 | { | |
| 4017 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = globa l::System. DBNull.Val ue; | |
| 4018 | } | |
| 4019 | else | |
| 4020 | { | |
| 4021 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = ((str ing)(userN ame)); | |
| 4022 | } | |
| 4023 | if ((thi s.ClearBef oreFill == true)) | |
| 4024 | { | |
| 4025 | data Table.Clea r(); | |
| 4026 | } | |
| 4027 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 4028 | return r eturnValue ; | |
| 4029 | } | |
| 4030 | ||
| 4031 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4032 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4033 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 4034 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 4035 | pu blic virtu al ReportU serAccess. TBI_GetPer mittedStat ionsDataTa ble GetDat a(string v isnId, str ing userNa me) | |
| 4036 | { | |
| 4037 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 4038 | if ((vis nId == nul l)) | |
| 4039 | { | |
| 4040 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 4041 | } | |
| 4042 | else | |
| 4043 | { | |
| 4044 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d)); | |
| 4045 | } | |
| 4046 | if ((use rName == n ull)) | |
| 4047 | { | |
| 4048 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = globa l::System. DBNull.Val ue; | |
| 4049 | } | |
| 4050 | else | |
| 4051 | { | |
| 4052 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = ((str ing)(userN ame)); | |
| 4053 | } | |
| 4054 | ReportUs erAccess.T BI_GetPerm ittedStati onsDataTab le dataTab le = new R eportUserA ccess.TBI_ GetPermitt edStations DataTable( ); | |
| 4055 | this.Ada pter.Fill( dataTable) ; | |
| 4056 | return d ataTable; | |
| 4057 | } | |
| 4058 | } | |
| 4059 | ||
| 4060 | /// <s ummary> | |
| 4061 | ///Rep resents th e connecti on and com mands used to retrie ve and sav e data. | |
| 4062 | ///</s ummary> | |
| 4063 | [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")] | |
| 4064 | [globa l::System. ComponentM odel.Toolb oxItem(tru e)] | |
| 4065 | [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ] | |
| 4066 | [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" + | |
| 4067 | ", Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")] | |
| 4068 | [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")] | |
| 4069 | public partial c lass TBI_G etDirectli AndIndirec tlyPermitt edStations TableAdapt er : globa l::System. ComponentM odel.Compo nent | |
| 4070 | { | |
| 4071 | ||
| 4072 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter _adapter; | |
| 4073 | ||
| 4074 | pr ivate glob al::System .Data.SqlC lient.SqlC onnection _connectio n; | |
| 4075 | ||
| 4076 | pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection; | |
| 4077 | ||
| 4078 | pr ivate bool _clearBef oreFill; | |
| 4079 | ||
| 4080 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4081 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4082 | pu blic TBI_G etDirectli AndIndirec tlyPermitt edStations TableAdapt er() | |
| 4083 | { | |
| 4084 | this.Cle arBeforeFi ll = true; | |
| 4085 | } | |
| 4086 | ||
| 4087 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4088 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4089 | pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter Adapter | |
| 4090 | { | |
| 4091 | get | |
| 4092 | { | |
| 4093 | if ( (this._ada pter == nu ll)) | |
| 4094 | { | |
| 4095 | this.InitA dapter(); | |
| 4096 | } | |
| 4097 | retu rn this._a dapter; | |
| 4098 | } | |
| 4099 | } | |
| 4100 | ||
| 4101 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4102 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4103 | in ternal glo bal::Syste m.Data.Sql Client.Sql Connection Connectio n | |
| 4104 | { | |
| 4105 | get | |
| 4106 | { | |
| 4107 | if ( (this._con nection == null)) | |
| 4108 | { | |
| 4109 | this.InitC onnection( ); | |
| 4110 | } | |
| 4111 | retu rn this._c onnection; | |
| 4112 | } | |
| 4113 | set | |
| 4114 | { | |
| 4115 | this ._connecti on = value ; | |
| 4116 | if ( (this.Adap ter.Insert Command != null)) | |
| 4117 | { | |
| 4118 | this.Adapt er.InsertC ommand.Con nection = value; | |
| 4119 | } | |
| 4120 | if ( (this.Adap ter.Delete Command != null)) | |
| 4121 | { | |
| 4122 | this.Adapt er.DeleteC ommand.Con nection = value; | |
| 4123 | } | |
| 4124 | if ( (this.Adap ter.Update Command != null)) | |
| 4125 | { | |
| 4126 | this.Adapt er.UpdateC ommand.Con nection = value; | |
| 4127 | } | |
| 4128 | for (int i = 0 ; (i < thi s.CommandC ollection. Length); i = (i + 1) ) | |
| 4129 | { | |
| 4130 | if ((this. CommandCol lection[i] != null)) | |
| 4131 | { | |
| 4132 | ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue; | |
| 4133 | } | |
| 4134 | } | |
| 4135 | } | |
| 4136 | } | |
| 4137 | ||
| 4138 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4139 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4140 | pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[] CommandCo llection | |
| 4141 | { | |
| 4142 | get | |
| 4143 | { | |
| 4144 | if ( (this._com mandCollec tion == nu ll)) | |
| 4145 | { | |
| 4146 | this.InitC ommandColl ection(); | |
| 4147 | } | |
| 4148 | retu rn this._c ommandColl ection; | |
| 4149 | } | |
| 4150 | } | |
| 4151 | ||
| 4152 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4153 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4154 | pu blic bool ClearBefor eFill | |
| 4155 | { | |
| 4156 | get | |
| 4157 | { | |
| 4158 | retu rn this._c learBefore Fill; | |
| 4159 | } | |
| 4160 | set | |
| 4161 | { | |
| 4162 | this ._clearBef oreFill = value; | |
| 4163 | } | |
| 4164 | } | |
| 4165 | ||
| 4166 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4167 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4168 | pr ivate void InitAdapt er() | |
| 4169 | { | |
| 4170 | this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter(); | |
| 4171 | global:: System.Dat a.Common.D ataTableMa pping tabl eMapping = new globa l::System. Data.Commo n.DataTabl eMapping() ; | |
| 4172 | tableMap ping.Sourc eTable = " Table"; | |
| 4173 | tableMap ping.DataS etTable = "TBI_GetDi rectliAndI ndirectlyP ermittedSt ations"; | |
| 4174 | tableMap ping.Colum nMappings. Add("stati on_number" , "station _number"); | |
| 4175 | tableMap ping.Colum nMappings. Add("Name" , "Name"); | |
| 4176 | this._ad apter.Tabl eMappings. Add(tableM apping); | |
| 4177 | } | |
| 4178 | ||
| 4179 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4180 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4181 | pr ivate void InitConne ction() | |
| 4182 | { | |
| 4183 | this._co nnection = new globa l::System. Data.SqlCl ient.SqlCo nnection() ; | |
| 4184 | this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng; | |
| 4185 | } | |
| 4186 | ||
| 4187 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4188 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4189 | pr ivate void InitComma ndCollecti on() | |
| 4190 | { | |
| 4191 | this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1]; | |
| 4192 | this._co mmandColle ction[0] = new globa l::System. Data.SqlCl ient.SqlCo mmand(); | |
| 4193 | this._co mmandColle ction[0].C onnection = this.Con nection; | |
| 4194 | this._co mmandColle ction[0].C ommandText = "dbo.TB I_GetDirec tliAndIndi rectlyPerm ittedStati ons"; | |
| 4195 | this._co mmandColle ction[0].C ommandType = global: :System.Da ta.Command Type.Store dProcedure ; | |
| 4196 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@RETURN_ VALUE", gl obal::Syst em.Data.Sq lDbType.In t, 4, glob al::System .Data.Para meterDirec tion.Retur nValue, 10 , 0, null, global::S ystem.Data .DataRowVe rsion.Curr ent, false , null, "" , "", "")) ; | |
| 4197 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@visnId" , global:: System.Dat a.SqlDbTyp e.VarChar, 10, globa l::System. Data.Param eterDirect ion.Input, 0, 0, nul l, global: :System.Da ta.DataRow Version.Cu rrent, fal se, null, "", "", "" )); | |
| 4198 | this._co mmandColle ction[0].P arameters. Add(new gl obal::Syst em.Data.Sq lClient.Sq lParameter ("@userNam e", global ::System.D ata.SqlDbT ype.VarCha r, 50, glo bal::Syste m.Data.Par ameterDire ction.Inpu t, 0, 0, n ull, globa l::System. Data.DataR owVersion. Current, f alse, null , "", "", "")); | |
| 4199 | } | |
| 4200 | ||
| 4201 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4202 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4203 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 4204 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)] | |
| 4205 | pu blic virtu al int Fil l(ReportUs erAccess.T BI_GetDire ctliAndInd irectlyPer mittedStat ionsDataTa ble dataTa ble, strin g visnId, string use rName) | |
| 4206 | { | |
| 4207 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 4208 | if ((vis nId == nul l)) | |
| 4209 | { | |
| 4210 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 4211 | } | |
| 4212 | else | |
| 4213 | { | |
| 4214 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d)); | |
| 4215 | } | |
| 4216 | if ((use rName == n ull)) | |
| 4217 | { | |
| 4218 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = globa l::System. DBNull.Val ue; | |
| 4219 | } | |
| 4220 | else | |
| 4221 | { | |
| 4222 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = ((str ing)(userN ame)); | |
| 4223 | } | |
| 4224 | if ((thi s.ClearBef oreFill == true)) | |
| 4225 | { | |
| 4226 | data Table.Clea r(); | |
| 4227 | } | |
| 4228 | int retu rnValue = this.Adapt er.Fill(da taTable); | |
| 4229 | return r eturnValue ; | |
| 4230 | } | |
| 4231 | ||
| 4232 | [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()] | |
| 4233 | [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")] | |
| 4234 | [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ] | |
| 4235 | [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)] | |
| 4236 | pu blic virtu al ReportU serAccess. TBI_GetDir ectliAndIn directlyPe rmittedSta tionsDataT able GetDa ta(string visnId, st ring userN ame) | |
| 4237 | { | |
| 4238 | this.Ada pter.Selec tCommand = this.Comm andCollect ion[0]; | |
| 4239 | if ((vis nId == nul l)) | |
| 4240 | { | |
| 4241 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue; | |
| 4242 | } | |
| 4243 | else | |
| 4244 | { | |
| 4245 | this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d)); | |
| 4246 | } | |
| 4247 | if ((use rName == n ull)) | |
| 4248 | { | |
| 4249 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = globa l::System. DBNull.Val ue; | |
| 4250 | } | |
| 4251 | else | |
| 4252 | { | |
| 4253 | this .Adapter.S electComma nd.Paramet ers[2].Val ue = ((str ing)(userN ame)); | |
| 4254 | } | |
| 4255 | ReportUs erAccess.T BI_GetDire ctliAndInd irectlyPer mittedStat ionsDataTa ble dataTa ble = new ReportUser Access.TBI _GetDirect liAndIndir ectlyPermi ttedStatio nsDataTabl e(); | |
| 4256 | this.Ada pter.Fill( dataTable) ; | |
| 4257 | return d ataTable; | |
| 4258 | } | |
| 4259 | } | |
| 4260 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.