9. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/23/2018 8:56:22 AM Central Daylight 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.

9.1 Files compared

# Location File Last Modified
1 TBIeP2_v3.4.16.zip\Registries TBI\TBI_UserInterface\App_Code ReportFacilityVISNList.cs Wed Apr 18 17:56:56 2018 UTC
2 TBIeP2_v3.4.16.zip\Registries TBI\TBI_UserInterface\App_Code ReportFacilityVISNList.cs Fri Apr 20 21:00:52 2018 UTC

9.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 1 2208
Changed 1 2
Inserted 0 0
Removed 0 0

9.3 Comparison options

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

9.4 Active regular expressions

No regular expressions were active.

9.5 Comparison detail

  1   #pragma ch ecksum "C: \Users\
P II \Documents \Developme nt\Project s\CRS\TBI\ TBI_UserIn terface\Ap p_Code\Rep ortFacilit yVISNList. xsd" "{ff1 816ec-aa5e -4d10-87f7 -6f4963833 460}" "1F3 C20D3F84E2 C71856CA81 DBA902E83A A509D45"
  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 ("ReportFa cilityVISN List")]
  22   [global::S ystem.Comp onentModel .Design.He lpKeywordA ttribute(" vs.data.Da taSet")]
  23   public par tial class  ReportFac ilityVISNL ist : glob al::System .Data.Data Set
  24   {
  25  
  26       privat e SP_Repor t_FACILITY _BY_VISNDa taTable ta bleSP_Repo rt_FACILIT Y_BY_VISN;
  27  
  28       privat e global:: System.Dat a.SchemaSe rializatio nMode _sch emaSeriali zationMode  = global: :System.Da ta.SchemaS erializati onMode.Inc ludeSchema ;
  29  
  30       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  31       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  32       public  ReportFac ilityVISNL ist()
  33       {
  34           th is.BeginIn it();
  35           th is.InitCla ss();
  36           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);
  37           ba se.Tables. Collection Changed +=  schemaCha ngedHandle r;
  38           ba se.Relatio ns.Collect ionChanged  += schema ChangedHan dler;
  39           th is.EndInit ();
  40       }
  41  
  42       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  43       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  44       protec ted Report FacilityVI SNList(glo bal::Syste m.Runtime. Serializat ion.Serial izationInf o info, gl obal::Syst em.Runtime .Serializa tion.Strea mingContex t context)  :
  45           ba se(info, c ontext, fa lse)
  46       {
  47           if  ((this.Is BinarySeri alized(inf o, context ) == true) )
  48           {
  49                this.Ini tVars(fals e);
  50                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);
  51                this.Tab les.Collec tionChange d += schem aChangedHa ndler1;
  52                this.Rel ations.Col lectionCha nged += sc hemaChange dHandler1;
  53                return;
  54           }
  55           st ring strSc hema = ((s tring)(inf o.GetValue ("XmlSchem a", typeof (string))) );
  56           if  ((this.De termineSch emaSeriali zationMode (info, con text) == g lobal::Sys tem.Data.S chemaSeria lizationMo de.Include Schema))
  57           {
  58                global:: System.Dat a.DataSet  ds = new g lobal::Sys tem.Data.D ataSet();
  59                ds.ReadX mlSchema(n ew global: :System.Xm l.XmlTextR eader(new  global::Sy stem.IO.St ringReader (strSchema )));
  60                if ((ds. Tables["SP _Report_FA CILITY_BY_ VISN"] !=  null))
  61                {
  62                    base .Tables.Ad d(new SP_R eport_FACI LITY_BY_VI SNDataTabl e(ds.Table s["SP_Repo rt_FACILIT Y_BY_VISN" ]));
  63                }
  64                this.Dat aSetName =  ds.DataSe tName;
  65                this.Pre fix = ds.P refix;
  66                this.Nam espace = d s.Namespac e;
  67                this.Loc ale = ds.L ocale;
  68                this.Cas eSensitive  = ds.Case Sensitive;
  69                this.Enf orceConstr aints = ds .EnforceCo nstraints;
  70                this.Mer ge(ds, fal se, global ::System.D ata.Missin gSchemaAct ion.Add);
  71                this.Ini tVars();
  72           }
  73           el se
  74           {
  75                this.Rea dXmlSchema (new globa l::System. Xml.XmlTex tReader(ne w global:: System.IO. StringRead er(strSche ma)));
  76           }
  77           th is.GetSeri alizationD ata(info,  context);
  78           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);
  79           ba se.Tables. Collection Changed +=  schemaCha ngedHandle r;
  80           th is.Relatio ns.Collect ionChanged  += schema ChangedHan dler;
  81       }
  82  
  83       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  84       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  85       [globa l::System. ComponentM odel.Brows able(false )]
  86       [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bility(glo bal::Syste m.Componen tModel.Des ignerSeria lizationVi sibility.C ontent)]
  87       public  SP_Report _FACILITY_ BY_VISNDat aTable SP_ Report_FAC ILITY_BY_V ISN
  88       {
  89           ge t
  90           {
  91                return t his.tableS P_Report_F ACILITY_BY _VISN;
  92           }
  93       }
  94  
  95       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  96       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  97       [globa l::System. ComponentM odel.Brows ableAttrib ute(true)]
  98       [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Vi sible)]
  99       public  override  global::Sy stem.Data. SchemaSeri alizationM ode Schema Serializat ionMode
  100       {
  101           ge t
  102           {
  103                return t his._schem aSerializa tionMode;
  104           }
  105           se t
  106           {
  107                this._sc hemaSerial izationMod e = value;
  108           }
  109       }
  110  
  111       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  112       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  113       [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Hi dden)]
  114       public  new globa l::System. Data.DataT ableCollec tion Table s
  115       {
  116           ge t
  117           {
  118                return b ase.Tables ;
  119           }
  120       }
  121  
  122       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  123       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  124       [globa l::System. ComponentM odel.Desig nerSeriali zationVisi bilityAttr ibute(glob al::System .Component Model.Desi gnerSerial izationVis ibility.Hi dden)]
  125       public  new globa l::System. Data.DataR elationCol lection Re lations
  126       {
  127           ge t
  128           {
  129                return b ase.Relati ons;
  130           }
  131       }
  132  
  133       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  134       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  135       protec ted overri de void In itializeDe rivedDataS et()
  136       {
  137           th is.BeginIn it();
  138           th is.InitCla ss();
  139           th is.EndInit ();
  140       }
  141  
  142       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  143       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  144       public  override  global::Sy stem.Data. DataSet Cl one()
  145       {
  146           Re portFacili tyVISNList  cln = ((R eportFacil ityVISNLis t)(base.Cl one()));
  147           cl n.InitVars ();
  148           cl n.SchemaSe rializatio nMode = th is.SchemaS erializati onMode;
  149           re turn cln;
  150       }
  151  
  152       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  153       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  154       protec ted overri de bool Sh ouldSerial izeTables( )
  155       {
  156           re turn false ;
  157       }
  158  
  159       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  160       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  161       protec ted overri de bool Sh ouldSerial izeRelatio ns()
  162       {
  163           re turn false ;
  164       }
  165  
  166       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  167       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  168       protec ted overri de void Re adXmlSeria lizable(gl obal::Syst em.Xml.Xml Reader rea der)
  169       {
  170           if  ((this.De termineSch emaSeriali zationMode (reader) = = global:: System.Dat a.SchemaSe rializatio nMode.Incl udeSchema) )
  171           {
  172                this.Res et();
  173                global:: System.Dat a.DataSet  ds = new g lobal::Sys tem.Data.D ataSet();
  174                ds.ReadX ml(reader) ;
  175                if ((ds. Tables["SP _Report_FA CILITY_BY_ VISN"] !=  null))
  176                {
  177                    base .Tables.Ad d(new SP_R eport_FACI LITY_BY_VI SNDataTabl e(ds.Table s["SP_Repo rt_FACILIT Y_BY_VISN" ]));
  178                }
  179                this.Dat aSetName =  ds.DataSe tName;
  180                this.Pre fix = ds.P refix;
  181                this.Nam espace = d s.Namespac e;
  182                this.Loc ale = ds.L ocale;
  183                this.Cas eSensitive  = ds.Case Sensitive;
  184                this.Enf orceConstr aints = ds .EnforceCo nstraints;
  185                this.Mer ge(ds, fal se, global ::System.D ata.Missin gSchemaAct ion.Add);
  186                this.Ini tVars();
  187           }
  188           el se
  189           {
  190                this.Rea dXml(reade r);
  191                this.Ini tVars();
  192           }
  193       }
  194  
  195       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  196       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  197       protec ted overri de global: :System.Xm l.Schema.X mlSchema G etSchemaSe rializable ()
  198       {
  199           gl obal::Syst em.IO.Memo ryStream s tream = ne w global:: System.IO. MemoryStre am();
  200           th is.WriteXm lSchema(ne w global:: System.Xml .XmlTextWr iter(strea m, null));
  201           st ream.Posit ion = 0;
  202           re turn globa l::System. Xml.Schema .XmlSchema .Read(new  global::Sy stem.Xml.X mlTextRead er(stream) , null);
  203       }
  204  
  205       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  206       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  207       intern al void In itVars()
  208       {
  209           th is.InitVar s(true);
  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       intern al void In itVars(boo l initTabl e)
  215       {
  216           th is.tableSP _Report_FA CILITY_BY_ VISN = ((S P_Report_F ACILITY_BY _VISNDataT able)(base .Tables["S P_Report_F ACILITY_BY _VISN"]));
  217           if  ((initTab le == true ))
  218           {
  219                if ((thi s.tableSP_ Report_FAC ILITY_BY_V ISN != nul l))
  220                {
  221                    this .tableSP_R eport_FACI LITY_BY_VI SN.InitVar s();
  222                }
  223           }
  224       }
  225  
  226       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  227       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  228       privat e void Ini tClass()
  229       {
  230           th is.DataSet Name = "Re portFacili tyVISNList ";
  231           th is.Prefix  = "";
  232           th is.Namespa ce = "http ://tempuri .org/DataS et1.xsd";
  233           th is.Enforce Constraint s = true;
  234           th is.SchemaS erializati onMode = g lobal::Sys tem.Data.S chemaSeria lizationMo de.Include Schema;
  235           th is.tableSP _Report_FA CILITY_BY_ VISN = new  SP_Report _FACILITY_ BY_VISNDat aTable();
  236           ba se.Tables. Add(this.t ableSP_Rep ort_FACILI TY_BY_VISN );
  237       }
  238  
  239       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  240       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  241       privat e bool Sho uldSeriali zeSP_Repor t_FACILITY _BY_VISN()
  242       {
  243           re turn false ;
  244       }
  245  
  246       [globa l::System. Diagnostic s.Debugger NonUserCod eAttribute ()]
  247       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  248       privat e void Sch emaChanged (object se nder, glob al::System .Component Model.Coll ectionChan geEventArg s e)
  249       {
  250           if  ((e.Actio n == globa l::System. ComponentM odel.Colle ctionChang eAction.Re move))
  251           {
  252                this.Ini tVars();
  253           }
  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       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)
  259       {
  260           Re portFacili tyVISNList  ds = new  ReportFaci lityVISNLi st();
  261           gl obal::Syst em.Xml.Sch ema.XmlSch emaComplex Type type  = new glob al::System .Xml.Schem a.XmlSchem aComplexTy pe();
  262           gl obal::Syst em.Xml.Sch ema.XmlSch emaSequenc e sequence  = new glo bal::Syste m.Xml.Sche ma.XmlSche maSequence ();
  263           gl obal::Syst em.Xml.Sch ema.XmlSch emaAny any  = new glo bal::Syste m.Xml.Sche ma.XmlSche maAny();
  264           an y.Namespac e = ds.Nam espace;
  265           se quence.Ite ms.Add(any );
  266           ty pe.Particl e = sequen ce;
  267           gl obal::Syst em.Xml.Sch ema.XmlSch ema dsSche ma = ds.Ge tSchemaSer ializable( );
  268           if  (xs.Conta ins(dsSche ma.TargetN amespace))
  269           {
  270                global:: System.IO. MemoryStre am s1 = ne w global:: System.IO. MemoryStre am();
  271                global:: System.IO. MemoryStre am s2 = ne w global:: System.IO. MemoryStre am();
  272                try
  273                {
  274                    glob al::System .Xml.Schem a.XmlSchem a schema =  null;
  275                    dsSc hema.Write (s1);
  276                    for  (global::S ystem.Coll ections.IE numerator  schemas =  xs.Schemas (dsSchema. TargetName space).Get Enumerator (); schema s.MoveNext (); )
  277                    {
  278                         schema = ( (global::S ystem.Xml. Schema.Xml Schema)(sc hemas.Curr ent));
  279                         s2.SetLeng th(0);
  280                         schema.Wri te(s2);
  281                         if ((s1.Le ngth == s2 .Length))
  282                         {
  283                             s1.Pos ition = 0;
  284                             s2.Pos ition = 0;
  285                             for (;  ((s1.Posi tion != s1 .Length)
  286                                          && ( s1.ReadByt e() == s2. ReadByte() )); )
  287                             {
  288                                 ;
  289                             }
  290                             if ((s 1.Position  == s1.Len gth))
  291                             {
  292                                 re turn type;
  293                             }
  294                         }
  295                    }
  296                }
  297                finally
  298                {
  299                    if ( (s1 != nul l))
  300                    {
  301                         s1.Close() ;
  302                    }
  303                    if ( (s2 != nul l))
  304                    {
  305                         s2.Close() ;
  306                    }
  307                }
  308           }
  309           xs .Add(dsSch ema);
  310           re turn type;
  311       }
  312  
  313       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  314       public  delegate  void SP_Re port_FACIL ITY_BY_VIS NRowChange EventHandl er(object  sender, SP _Report_FA CILITY_BY_ VISNRowCha ngeEvent e );
  315  
  316       /// <s ummary>
  317       ///Rep resents th e strongly  named Dat aTable cla ss.
  318       ///</s ummary>
  319       [globa l::System. Serializab le()]
  320       [globa l::System. Xml.Serial ization.Xm lSchemaPro viderAttri bute("GetT ypedTableS chema")]
  321       public  partial c lass SP_Re port_FACIL ITY_BY_VIS NDataTable  : global: :System.Da ta.TypedTa bleBase<SP _Report_FA CILITY_BY_ VISNRow>
  322       {
  323  
  324           pr ivate glob al::System .Data.Data Column col umnVisnID;
  325  
  326           pr ivate glob al::System .Data.Data Column col umnVisNum;
  327  
  328           pr ivate glob al::System .Data.Data Column col umnstation _number;
  329  
  330           pr ivate glob al::System .Data.Data Column col umnName;
  331  
  332           pr ivate glob al::System .Data.Data Column col umnis_sate llite;
  333  
  334           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  335           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  336           pu blic SP_Re port_FACIL ITY_BY_VIS NDataTable ()
  337           {
  338                this.Tab leName = " SP_Report_ FACILITY_B Y_VISN";
  339                this.Beg inInit();
  340                this.Ini tClass();
  341                this.End Init();
  342           }
  343  
  344           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  345           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  346           in ternal SP_ Report_FAC ILITY_BY_V ISNDataTab le(global: :System.Da ta.DataTab le table)
  347           {
  348                this.Tab leName = t able.Table Name;
  349                if ((tab le.CaseSen sitive !=  table.Data Set.CaseSe nsitive))
  350                {
  351                    this .CaseSensi tive = tab le.CaseSen sitive;
  352                }
  353                if ((tab le.Locale. ToString()  != table. DataSet.Lo cale.ToStr ing()))
  354                {
  355                    this .Locale =  table.Loca le;
  356                }
  357                if ((tab le.Namespa ce != tabl e.DataSet. Namespace) )
  358                {
  359                    this .Namespace  = table.N amespace;
  360                }
  361                this.Pre fix = tabl e.Prefix;
  362                this.Min imumCapaci ty = table .MinimumCa pacity;
  363           }
  364  
  365           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  366           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  367           pr otected SP _Report_FA CILITY_BY_ VISNDataTa ble(global ::System.R untime.Ser ialization .Serializa tionInfo i nfo, globa l::System. Runtime.Se rializatio n.Streamin gContext c ontext) :
  368                base(inf o, context )
  369           {
  370                this.Ini tVars();
  371           }
  372  
  373           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  374           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  375           pu blic globa l::System. Data.DataC olumn Visn IDColumn
  376           {
  377                get
  378                {
  379                    retu rn this.co lumnVisnID ;
  380                }
  381           }
  382  
  383           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  384           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  385           pu blic globa l::System. Data.DataC olumn VisN umColumn
  386           {
  387                get
  388                {
  389                    retu rn this.co lumnVisNum ;
  390                }
  391           }
  392  
  393           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  394           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  395           pu blic globa l::System. Data.DataC olumn stat ion_number Column
  396           {
  397                get
  398                {
  399                    retu rn this.co lumnstatio n_number;
  400                }
  401           }
  402  
  403           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  404           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  405           pu blic globa l::System. Data.DataC olumn Name Column
  406           {
  407                get
  408                {
  409                    retu rn this.co lumnName;
  410                }
  411           }
  412  
  413           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  414           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  415           pu blic globa l::System. Data.DataC olumn is_s atelliteCo lumn
  416           {
  417                get
  418                {
  419                    retu rn this.co lumnis_sat ellite;
  420                }
  421           }
  422  
  423           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  424           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  425           [g lobal::Sys tem.Compon entModel.B rowsable(f alse)]
  426           pu blic int C ount
  427           {
  428                get
  429                {
  430                    retu rn this.Ro ws.Count;
  431                }
  432           }
  433  
  434           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  435           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  436           pu blic SP_Re port_FACIL ITY_BY_VIS NRow this[ int index]
  437           {
  438                get
  439                {
  440                    retu rn ((SP_Re port_FACIL ITY_BY_VIS NRow)(this .Rows[inde x]));
  441                }
  442           }
  443  
  444           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  445           [f ield:Syste m.NonSeria lized()]
  446           pu blic event  SP_Report _FACILITY_ BY_VISNRow ChangeEven tHandler S P_Report_F ACILITY_BY _VISNRowCh anging;
  447  
  448           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  449           [f ield: Syst em.NonSeri alized()]
  450           pu blic event  SP_Report _FACILITY_ BY_VISNRow ChangeEven tHandler S P_Report_F ACILITY_BY _VISNRowCh anged;
  451  
  452           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  453           [f ield: Syst em.NonSeri alized()]
  454           pu blic event  SP_Report _FACILITY_ BY_VISNRow ChangeEven tHandler S P_Report_F ACILITY_BY _VISNRowDe leting;
  455  
  456           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  457           [f ield: Syst em.NonSeri alized()]
  458           pu blic event  SP_Report _FACILITY_ BY_VISNRow ChangeEven tHandler S P_Report_F ACILITY_BY _VISNRowDe leted;
  459  
  460           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  461           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  462           pu blic void  AddSP_Repo rt_FACILIT Y_BY_VISNR ow(SP_Repo rt_FACILIT Y_BY_VISNR ow row)
  463           {
  464                this.Row s.Add(row) ;
  465           }
  466  
  467           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  468           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  469           pu blic SP_Re port_FACIL ITY_BY_VIS NRow AddSP _Report_FA CILITY_BY_ VISNRow(st ring VisnI D, string  VisNum, st ring stati on_number,  string Na me, string  is_satell ite)
  470           {
  471                SP_Repor t_FACILITY _BY_VISNRo w rowSP_Re port_FACIL ITY_BY_VIS NRow = ((S P_Report_F ACILITY_BY _VISNRow)( this.NewRo w()));
  472                object[]  columnVal uesArray =  new objec t[] {
  473                         VisnID,
  474                         VisNum,
  475                         station_nu mber,
  476                         Name,
  477                         is_satelli te};
  478                rowSP_Re port_FACIL ITY_BY_VIS NRow.ItemA rray = col umnValuesA rray;
  479                this.Row s.Add(rowS P_Report_F ACILITY_BY _VISNRow);
  480                return r owSP_Repor t_FACILITY _BY_VISNRo w;
  481           }
  482  
  483           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  484           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  485           pu blic overr ide global ::System.D ata.DataTa ble Clone( )
  486           {
  487                SP_Repor t_FACILITY _BY_VISNDa taTable cl n = ((SP_R eport_FACI LITY_BY_VI SNDataTabl e)(base.Cl one()));
  488                cln.Init Vars();
  489                return c ln;
  490           }
  491  
  492           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  493           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  494           pr otected ov erride glo bal::Syste m.Data.Dat aTable Cre ateInstanc e()
  495           {
  496                return n ew SP_Repo rt_FACILIT Y_BY_VISND ataTable() ;
  497           }
  498  
  499           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  500           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  501           in ternal voi d InitVars ()
  502           {
  503                this.col umnVisnID  = base.Col umns["Visn ID"];
  504                this.col umnVisNum  = base.Col umns["VisN um"];
  505                this.col umnstation _number =  base.Colum ns["statio n_number"] ;
  506                this.col umnName =  base.Colum ns["Name"] ;
  507                this.col umnis_sate llite = ba se.Columns ["is_satel lite"];
  508           }
  509  
  510           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  511           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  512           pr ivate void  InitClass ()
  513           {
  514                this.col umnVisnID  = new glob al::System .Data.Data Column("Vi snID", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element);
  515                base.Col umns.Add(t his.column VisnID);
  516                this.col umnVisNum  = new glob al::System .Data.Data Column("Vi sNum", typ eof(string ), null, g lobal::Sys tem.Data.M appingType .Element);
  517                base.Col umns.Add(t his.column VisNum);
  518                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);
  519                base.Col umns.Add(t his.column station_nu mber);
  520                this.col umnName =  new global ::System.D ata.DataCo lumn("Name ", typeof( string), n ull, globa l::System. Data.Mappi ngType.Ele ment);
  521                base.Col umns.Add(t his.column Name);
  522                this.col umnis_sate llite = ne w global:: System.Dat a.DataColu mn("is_sat ellite", t ypeof(stri ng), null,  global::S ystem.Data .MappingTy pe.Element );
  523                base.Col umns.Add(t his.column is_satelli te);
  524                this.col umnVisnID. ReadOnly =  true;
  525                this.col umnVisnID. MaxLength  = 7;
  526                this.col umnVisNum. ReadOnly =  true;
  527                this.col umnVisNum. MaxLength  = 5;
  528                this.col umnstation _number.Ma xLength =  10;
  529                this.col umnName.Re adOnly = t rue;
  530                this.col umnName.Ma xLength =  275;
  531                this.col umnis_sate llite.Read Only = tru e;
  532                this.col umnis_sate llite.MaxL ength = 1;
  533           }
  534  
  535           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  536           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  537           pu blic SP_Re port_FACIL ITY_BY_VIS NRow NewSP _Report_FA CILITY_BY_ VISNRow()
  538           {
  539                return ( (SP_Report _FACILITY_ BY_VISNRow )(this.New Row()));
  540           }
  541  
  542           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  543           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  544           pr otected ov erride glo bal::Syste m.Data.Dat aRow NewRo wFromBuild er(global: :System.Da ta.DataRow Builder bu ilder)
  545           {
  546                return n ew SP_Repo rt_FACILIT Y_BY_VISNR ow(builder );
  547           }
  548  
  549           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  550           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  551           pr otected ov erride glo bal::Syste m.Type Get RowType()
  552           {
  553                return t ypeof(SP_R eport_FACI LITY_BY_VI SNRow);
  554           }
  555  
  556           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  557           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  558           pr otected ov erride voi d OnRowCha nged(globa l::System. Data.DataR owChangeEv entArgs e)
  559           {
  560                base.OnR owChanged( e);
  561                if ((thi s.SP_Repor t_FACILITY _BY_VISNRo wChanged ! = null))
  562                {
  563                    this .SP_Report _FACILITY_ BY_VISNRow Changed(th is, new SP _Report_FA CILITY_BY_ VISNRowCha ngeEvent(( (SP_Report _FACILITY_ BY_VISNRow )(e.Row)),  e.Action) );
  564                }
  565           }
  566  
  567           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  568           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  569           pr otected ov erride voi d OnRowCha nging(glob al::System .Data.Data RowChangeE ventArgs e )
  570           {
  571                base.OnR owChanging (e);
  572                if ((thi s.SP_Repor t_FACILITY _BY_VISNRo wChanging  != null))
  573                {
  574                    this .SP_Report _FACILITY_ BY_VISNRow Changing(t his, new S P_Report_F ACILITY_BY _VISNRowCh angeEvent( ((SP_Repor t_FACILITY _BY_VISNRo w)(e.Row)) , e.Action ));
  575                }
  576           }
  577  
  578           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  579           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  580           pr otected ov erride voi d OnRowDel eted(globa l::System. Data.DataR owChangeEv entArgs e)
  581           {
  582                base.OnR owDeleted( e);
  583                if ((thi s.SP_Repor t_FACILITY _BY_VISNRo wDeleted ! = null))
  584                {
  585                    this .SP_Report _FACILITY_ BY_VISNRow Deleted(th is, new SP _Report_FA CILITY_BY_ VISNRowCha ngeEvent(( (SP_Report _FACILITY_ BY_VISNRow )(e.Row)),  e.Action) );
  586                }
  587           }
  588  
  589           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  590           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  591           pr otected ov erride voi d OnRowDel eting(glob al::System .Data.Data RowChangeE ventArgs e )
  592           {
  593                base.OnR owDeleting (e);
  594                if ((thi s.SP_Repor t_FACILITY _BY_VISNRo wDeleting  != null))
  595                {
  596                    this .SP_Report _FACILITY_ BY_VISNRow Deleting(t his, new S P_Report_F ACILITY_BY _VISNRowCh angeEvent( ((SP_Repor t_FACILITY _BY_VISNRo w)(e.Row)) , e.Action ));
  597                }
  598           }
  599  
  600           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  601           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  602           pu blic void  RemoveSP_R eport_FACI LITY_BY_VI SNRow(SP_R eport_FACI LITY_BY_VI SNRow row)
  603           {
  604                this.Row s.Remove(r ow);
  605           }
  606  
  607           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  608           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  609           pu blic stati c global:: System.Xml .Schema.Xm lSchemaCom plexType G etTypedTab leSchema(g lobal::Sys tem.Xml.Sc hema.XmlSc hemaSet xs )
  610           {
  611                global:: System.Xml .Schema.Xm lSchemaCom plexType t ype = new  global::Sy stem.Xml.S chema.XmlS chemaCompl exType();
  612                global:: System.Xml .Schema.Xm lSchemaSeq uence sequ ence = new  global::S ystem.Xml. Schema.Xml SchemaSequ ence();
  613                ReportFa cilityVISN List ds =  new Report FacilityVI SNList();
  614                global:: System.Xml .Schema.Xm lSchemaAny  any1 = ne w global:: System.Xml .Schema.Xm lSchemaAny ();
  615                any1.Nam espace = " http://www .w3.org/20 01/XMLSche ma";
  616                any1.Min Occurs = n ew decimal (0);
  617                any1.Max Occurs = d ecimal.Max Value;
  618                any1.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x;
  619                sequence .Items.Add (any1);
  620                global:: System.Xml .Schema.Xm lSchemaAny  any2 = ne w global:: System.Xml .Schema.Xm lSchemaAny ();
  621                any2.Nam espace = " urn:schema s-microsof t-com:xml- diffgram-v 1";
  622                any2.Min Occurs = n ew decimal (1);
  623                any2.Pro cessConten ts = globa l::System. Xml.Schema .XmlSchema ContentPro cessing.La x;
  624                sequence .Items.Add (any2);
  625                global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute1 =  new global ::System.X ml.Schema. XmlSchemaA ttribute() ;
  626                attribut e1.Name =  "namespace ";
  627                attribut e1.FixedVa lue = ds.N amespace;
  628                type.Att ributes.Ad d(attribut e1);
  629                global:: System.Xml .Schema.Xm lSchemaAtt ribute att ribute2 =  new global ::System.X ml.Schema. XmlSchemaA ttribute() ;
  630                attribut e2.Name =  "tableType Name";
  631                attribut e2.FixedVa lue = "SP_ Report_FAC ILITY_BY_V ISNDataTab le";
  632                type.Att ributes.Ad d(attribut e2);
  633                type.Par ticle = se quence;
  634                global:: System.Xml .Schema.Xm lSchema ds Schema = d s.GetSchem aSerializa ble();
  635                if (xs.C ontains(ds Schema.Tar getNamespa ce))
  636                {
  637                    glob al::System .IO.Memory Stream s1  = new glob al::System .IO.Memory Stream();
  638                    glob al::System .IO.Memory Stream s2  = new glob al::System .IO.Memory Stream();
  639                    try
  640                    {
  641                         global::Sy stem.Xml.S chema.XmlS chema sche ma = null;
  642                         dsSchema.W rite(s1);
  643                         for (globa l::System. Collection s.IEnumera tor schema s = xs.Sch emas(dsSch ema.Target Namespace) .GetEnumer ator(); sc hemas.Move Next(); )
  644                         {
  645                             schema  = ((globa l::System. Xml.Schema .XmlSchema )(schemas. Current));
  646                             s2.Set Length(0);
  647                             schema .Write(s2) ;
  648                             if ((s 1.Length = = s2.Lengt h))
  649                             {
  650                                 s1 .Position  = 0;
  651                                 s2 .Position  = 0;
  652                                 fo r (; ((s1. Position ! = s1.Lengt h)
  653                                               && (s1.Rea dByte() ==  s2.ReadBy te())); )
  654                                 {
  655                                      ;
  656                                 }
  657                                 if  ((s1.Posi tion == s1 .Length))
  658                                 {
  659                                      return t ype;
  660                                 }
  661                             }
  662                         }
  663                    }
  664                    fina lly
  665                    {
  666                         if ((s1 !=  null))
  667                         {
  668                             s1.Clo se();
  669                         }
  670                         if ((s2 !=  null))
  671                         {
  672                             s2.Clo se();
  673                         }
  674                    }
  675                }
  676                xs.Add(d sSchema);
  677                return t ype;
  678           }
  679       }
  680  
  681       /// <s ummary>
  682       ///Rep resents st rongly nam ed DataRow  class.
  683       ///</s ummary>
  684       public  partial c lass SP_Re port_FACIL ITY_BY_VIS NRow : glo bal::Syste m.Data.Dat aRow
  685       {
  686  
  687           pr ivate SP_R eport_FACI LITY_BY_VI SNDataTabl e tableSP_ Report_FAC ILITY_BY_V ISN;
  688  
  689           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  690           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  691           in ternal SP_ Report_FAC ILITY_BY_V ISNRow(glo bal::Syste m.Data.Dat aRowBuilde r rb) :
  692                base(rb)
  693           {
  694                this.tab leSP_Repor t_FACILITY _BY_VISN =  ((SP_Repo rt_FACILIT Y_BY_VISND ataTable)( this.Table ));
  695           }
  696  
  697           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  698           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  699           pu blic strin g VisnID
  700           {
  701                get
  702                {
  703                    try
  704                    {
  705                         return ((s tring)(thi s[this.tab leSP_Repor t_FACILITY _BY_VISN.V isnIDColum n]));
  706                    }
  707                    catc h (global: :System.In validCastE xception e )
  708                    {
  709                         throw new  global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'Visn ID\' in ta ble \'SP_R eport_FACI LITY_BY_VI SN\' is DB Null.", e) ;
  710                    }
  711                }
  712                set
  713                {
  714                    this [this.tabl eSP_Report _FACILITY_ BY_VISN.Vi snIDColumn ] = value;
  715                }
  716           }
  717  
  718           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  719           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  720           pu blic strin g VisNum
  721           {
  722                get
  723                {
  724                    try
  725                    {
  726                         return ((s tring)(thi s[this.tab leSP_Repor t_FACILITY _BY_VISN.V isNumColum n]));
  727                    }
  728                    catc h (global: :System.In validCastE xception e )
  729                    {
  730                         throw new  global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'VisN um\' in ta ble \'SP_R eport_FACI LITY_BY_VI SN\' is DB Null.", e) ;
  731                    }
  732                }
  733                set
  734                {
  735                    this [this.tabl eSP_Report _FACILITY_ BY_VISN.Vi sNumColumn ] = value;
  736                }
  737           }
  738  
  739           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  740           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  741           pu blic strin g station_ number
  742           {
  743                get
  744                {
  745                    try
  746                    {
  747                         return ((s tring)(thi s[this.tab leSP_Repor t_FACILITY _BY_VISN.s tation_num berColumn] ));
  748                    }
  749                    catc h (global: :System.In validCastE xception e )
  750                    {
  751                         throw new  global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'stat ion_number \' in tabl e \'SP_Rep ort_FACILI TY_BY_VISN \' is DB"  +
  752                                 "N ull.", e);
  753                    }
  754                }
  755                set
  756                {
  757                    this [this.tabl eSP_Report _FACILITY_ BY_VISN.st ation_numb erColumn]  = value;
  758                }
  759           }
  760  
  761           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  762           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  763           pu blic strin g Name
  764           {
  765                get
  766                {
  767                    try
  768                    {
  769                         return ((s tring)(thi s[this.tab leSP_Repor t_FACILITY _BY_VISN.N ameColumn] ));
  770                    }
  771                    catc h (global: :System.In validCastE xception e )
  772                    {
  773                         throw new  global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'Name \' in tabl e \'SP_Rep ort_FACILI TY_BY_VISN \' is DBNu ll.", e);
  774                    }
  775                }
  776                set
  777                {
  778                    this [this.tabl eSP_Report _FACILITY_ BY_VISN.Na meColumn]  = value;
  779                }
  780           }
  781  
  782           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  783           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  784           pu blic strin g is_satel lite
  785           {
  786                get
  787                {
  788                    try
  789                    {
  790                         return ((s tring)(thi s[this.tab leSP_Repor t_FACILITY _BY_VISN.i s_satellit eColumn])) ;
  791                    }
  792                    catc h (global: :System.In validCastE xception e )
  793                    {
  794                         throw new  global::Sy stem.Data. StrongTypi ngExceptio n("The val ue for col umn \'is_s atellite\'  in table  \'SP_Repor t_FACILITY _BY_VISN\'  is DBNu"  +
  795                                 "l l.", e);
  796                    }
  797                }
  798                set
  799                {
  800                    this [this.tabl eSP_Report _FACILITY_ BY_VISN.is _satellite Column] =  value;
  801                }
  802           }
  803  
  804           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  805           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  806           pu blic bool  IsVisnIDNu ll()
  807           {
  808                return t his.IsNull (this.tabl eSP_Report _FACILITY_ BY_VISN.Vi snIDColumn );
  809           }
  810  
  811           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  812           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  813           pu blic void  SetVisnIDN ull()
  814           {
  815                this[thi s.tableSP_ Report_FAC ILITY_BY_V ISN.VisnID Column] =  global::Sy stem.Conve rt.DBNull;
  816           }
  817  
  818           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  819           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  820           pu blic bool  IsVisNumNu ll()
  821           {
  822                return t his.IsNull (this.tabl eSP_Report _FACILITY_ BY_VISN.Vi sNumColumn );
  823           }
  824  
  825           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  826           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  827           pu blic void  SetVisNumN ull()
  828           {
  829                this[thi s.tableSP_ Report_FAC ILITY_BY_V ISN.VisNum Column] =  global::Sy stem.Conve rt.DBNull;
  830           }
  831  
  832           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  833           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  834           pu blic bool  Isstation_ numberNull ()
  835           {
  836                return t his.IsNull (this.tabl eSP_Report _FACILITY_ BY_VISN.st ation_numb erColumn);
  837           }
  838  
  839           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  840           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  841           pu blic void  Setstation _numberNul l()
  842           {
  843                this[thi s.tableSP_ Report_FAC ILITY_BY_V ISN.statio n_numberCo lumn] = gl obal::Syst em.Convert .DBNull;
  844           }
  845  
  846           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  847           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  848           pu blic bool  IsNameNull ()
  849           {
  850                return t his.IsNull (this.tabl eSP_Report _FACILITY_ BY_VISN.Na meColumn);
  851           }
  852  
  853           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  854           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  855           pu blic void  SetNameNul l()
  856           {
  857                this[thi s.tableSP_ Report_FAC ILITY_BY_V ISN.NameCo lumn] = gl obal::Syst em.Convert .DBNull;
  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           pu blic bool  Isis_satel liteNull()
  863           {
  864                return t his.IsNull (this.tabl eSP_Report _FACILITY_ BY_VISN.is _satellite Column);
  865           }
  866  
  867           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  868           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  869           pu blic void  Setis_sate lliteNull( )
  870           {
  871                this[thi s.tableSP_ Report_FAC ILITY_BY_V ISN.is_sat elliteColu mn] = glob al::System .Convert.D BNull;
  872           }
  873       }
  874  
  875       /// <s ummary>
  876       ///Row  event arg ument clas s
  877       ///</s ummary>
  878       [globa l::System. CodeDom.Co mpiler.Gen eratedCode Attribute( "System.Da ta.Design. TypedDataS etGenerato r", "4.0.0 .0")]
  879       public  class SP_ Report_FAC ILITY_BY_V ISNRowChan geEvent :  global::Sy stem.Event Args
  880       {
  881  
  882           pr ivate SP_R eport_FACI LITY_BY_VI SNRow even tRow;
  883  
  884           pr ivate glob al::System .Data.Data RowAction  eventActio n;
  885  
  886           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  887           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  888           pu blic SP_Re port_FACIL ITY_BY_VIS NRowChange Event(SP_R eport_FACI LITY_BY_VI SNRow row,  global::S ystem.Data .DataRowAc tion actio n)
  889           {
  890                this.eve ntRow = ro w;
  891                this.eve ntAction =  action;
  892           }
  893  
  894           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  895           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  896           pu blic SP_Re port_FACIL ITY_BY_VIS NRow Row
  897           {
  898                get
  899                {
  900                    retu rn this.ev entRow;
  901                }
  902           }
  903  
  904           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  905           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  906           pu blic globa l::System. Data.DataR owAction A ction
  907           {
  908                get
  909                {
  910                    retu rn this.ev entAction;
  911                }
  912           }
  913       }
  914   }
  915   namespace  ReportFaci lityVISNLi stTableAda pters
  916   {
  917  
  918  
  919       /// <s ummary>
  920       ///Rep resents th e connecti on and com mands used  to retrie ve and sav e data.
  921       ///</s ummary>
  922       [globa l::System. ComponentM odel.Desig nerCategor yAttribute ("code")]
  923       [globa l::System. ComponentM odel.Toolb oxItem(tru e)]
  924       [globa l::System. ComponentM odel.DataO bjectAttri bute(true) ]
  925       [globa l::System. ComponentM odel.Desig nerAttribu te("Micros oft.VSDesi gner.DataS ource.Desi gn.TableAd apterDesig ner, Micro soft.VSDes igner" +
  926           ",  Version=1 0.0.0.0, C ulture=neu tral, Publ icKeyToken =b03f5f7f1 1d50a3a")]
  927       [globa l::System. ComponentM odel.Desig n.HelpKeyw ordAttribu te("vs.dat a.TableAda pter")]
  928       public  partial c lass SP_Re port_FACIL ITY_BY_VIS NTableAdap ter : glob al::System .Component Model.Comp onent
  929       {
  930  
  931           pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter  _adapter;
  932  
  933           pr ivate glob al::System .Data.SqlC lient.SqlC onnection  _connectio n;
  934  
  935           pr ivate glob al::System .Data.SqlC lient.SqlC ommand[] _ commandCol lection;
  936  
  937           pr ivate bool  _clearBef oreFill;
  938  
  939           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  940           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  941           pu blic SP_Re port_FACIL ITY_BY_VIS NTableAdap ter()
  942           {
  943                this.Cle arBeforeFi ll = true;
  944           }
  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           pr ivate glob al::System .Data.SqlC lient.SqlD ataAdapter  Adapter
  949           {
  950                get
  951                {
  952                    if ( (this._ada pter == nu ll))
  953                    {
  954                         this.InitA dapter();
  955                    }
  956                    retu rn this._a dapter;
  957                }
  958           }
  959  
  960           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  961           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  962           in ternal glo bal::Syste m.Data.Sql Client.Sql Connection  Connectio n
  963           {
  964                get
  965                {
  966                    if ( (this._con nection ==  null))
  967                    {
  968                         this.InitC onnection( );
  969                    }
  970                    retu rn this._c onnection;
  971                }
  972                set
  973                {
  974                    this ._connecti on = value ;
  975                    if ( (this.Adap ter.Insert Command !=  null))
  976                    {
  977                         this.Adapt er.InsertC ommand.Con nection =  value;
  978                    }
  979                    if ( (this.Adap ter.Delete Command !=  null))
  980                    {
  981                         this.Adapt er.DeleteC ommand.Con nection =  value;
  982                    }
  983                    if ( (this.Adap ter.Update Command !=  null))
  984                    {
  985                         this.Adapt er.UpdateC ommand.Con nection =  value;
  986                    }
  987                    for  (int i = 0 ; (i < thi s.CommandC ollection. Length); i  = (i + 1) )
  988                    {
  989                         if ((this. CommandCol lection[i]  != null))
  990                         {
  991                             ((glob al::System .Data.SqlC lient.SqlC ommand)(th is.Command Collection [i])).Conn ection = v alue;
  992                         }
  993                    }
  994                }
  995           }
  996  
  997           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  998           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  999           pr otected gl obal::Syst em.Data.Sq lClient.Sq lCommand[]  CommandCo llection
  1000           {
  1001                get
  1002                {
  1003                    if ( (this._com mandCollec tion == nu ll))
  1004                    {
  1005                         this.InitC ommandColl ection();
  1006                    }
  1007                    retu rn this._c ommandColl ection;
  1008                }
  1009           }
  1010  
  1011           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1012           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1013           pu blic bool  ClearBefor eFill
  1014           {
  1015                get
  1016                {
  1017                    retu rn this._c learBefore Fill;
  1018                }
  1019                set
  1020                {
  1021                    this ._clearBef oreFill =  value;
  1022                }
  1023           }
  1024  
  1025           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1026           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1027           pr ivate void  InitAdapt er()
  1028           {
  1029                this._ad apter = ne w global:: System.Dat a.SqlClien t.SqlDataA dapter();
  1030                global:: System.Dat a.Common.D ataTableMa pping tabl eMapping =  new globa l::System. Data.Commo n.DataTabl eMapping() ;
  1031                tableMap ping.Sourc eTable = " Table";
  1032                tableMap ping.DataS etTable =  "SP_Report _FACILITY_ BY_VISN";
  1033                tableMap ping.Colum nMappings. Add("VisnI D", "VisnI D");
  1034                tableMap ping.Colum nMappings. Add("VisNu m", "VisNu m");
  1035                tableMap ping.Colum nMappings. Add("stati on_number" , "station _number");
  1036                tableMap ping.Colum nMappings. Add("Name" , "Name");
  1037                tableMap ping.Colum nMappings. Add("is_sa tellite",  "is_satell ite");
  1038                this._ad apter.Tabl eMappings. Add(tableM apping);
  1039           }
  1040  
  1041           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1042           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1043           pr ivate void  InitConne ction()
  1044           {
  1045                this._co nnection =  new globa l::System. Data.SqlCl ient.SqlCo nnection() ;
  1046                this._co nnection.C onnectionS tring = Sy stem.Confi guration.C onfigurati onManager. Connection Strings["R egistryCon nectionStr ing"].Conn ectionStri ng;
  1047           }
  1048  
  1049           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1050           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1051           pr ivate void  InitComma ndCollecti on()
  1052           {
  1053                this._co mmandColle ction = ne w global:: System.Dat a.SqlClien t.SqlComma nd[1];
  1054                this._co mmandColle ction[0] =  new globa l::System. Data.SqlCl ient.SqlCo mmand();
  1055                this._co mmandColle ction[0].C onnection  = this.Con nection;
  1056                this._co mmandColle ction[0].C ommandText  = "dbo.SP _Report_FA CILITY_BY_ VISN";
  1057                this._co mmandColle ction[0].C ommandType  = global: :System.Da ta.Command Type.Store dProcedure ;
  1058                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, "" , "", "")) ;
  1059                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,  "", "", "" ));
  1060           }
  1061  
  1062           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1063           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1064           [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ]
  1065           [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Fill , true)]
  1066           pu blic virtu al int Fil l(ReportFa cilityVISN List.SP_Re port_FACIL ITY_BY_VIS NDataTable  dataTable , string v isnId)
  1067           {
  1068                this.Ada pter.Selec tCommand =  this.Comm andCollect ion[0];
  1069                if ((vis nId == nul l))
  1070                {
  1071                    this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue;
  1072                }
  1073                else
  1074                {
  1075                    this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d));
  1076                }
  1077                if ((thi s.ClearBef oreFill ==  true))
  1078                {
  1079                    data Table.Clea r();
  1080                }
  1081                int retu rnValue =  this.Adapt er.Fill(da taTable);
  1082                return r eturnValue ;
  1083           }
  1084  
  1085           [g lobal::Sys tem.Diagno stics.Debu ggerNonUse rCodeAttri bute()]
  1086           [g lobal::Sys tem.CodeDo m.Compiler .Generated CodeAttrib ute("Syste m.Data.Des ign.TypedD ataSetGene rator", "4 .0.0.0")]
  1087           [g lobal::Sys tem.Compon entModel.D esign.Help KeywordAtt ribute("vs .data.Tabl eAdapter") ]
  1088           [g lobal::Sys tem.Compon entModel.D ataObjectM ethodAttri bute(globa l::System. ComponentM odel.DataO bjectMetho dType.Sele ct, true)]
  1089           pu blic virtu al ReportF acilityVIS NList.SP_R eport_FACI LITY_BY_VI SNDataTabl e GetData( string vis nId)
  1090           {
  1091                this.Ada pter.Selec tCommand =  this.Comm andCollect ion[0];
  1092                if ((vis nId == nul l))
  1093                {
  1094                    this .Adapter.S electComma nd.Paramet ers[1].Val ue = globa l::System. DBNull.Val ue;
  1095                }
  1096                else
  1097                {
  1098                    this .Adapter.S electComma nd.Paramet ers[1].Val ue = ((str ing)(visnI d));
  1099                }
  1100                ReportFa cilityVISN List.SP_Re port_FACIL ITY_BY_VIS NDataTable  dataTable  = new Rep ortFacilit yVISNList. SP_Report_ FACILITY_B Y_VISNData Table();
  1101                this.Ada pter.Fill( dataTable) ;
  1102                return d ataTable;
  1103           }
  1104       }
  1105   }