Professional Applications Programmers/Consultants برمجة واستشارات تطبيقات الإنترنت
Skip Navigation LinksHome » Code Library » FeatureClass

Public general use code classes and xml files that we've compiled and used over the years:

FeatureClass Support class for TentPlay Trek business model

   1:  using System;
   2:  using System.Collections;
   3:  using System.Collections.Generic;
   4:  using System.Linq;
   5:  using System.Web;
   6:  using System.ComponentModel.DataAnnotations;
   7:  using System.ComponentModel.DataAnnotations.Schema;
   8:  using System.Data;
   9:   
  10:  namespace Ia.TentPlay.Cl.Model.Data.Trek
  11:  {
  12:      ////////////////////////////////////////////////////////////////////////////
  13:   
  14:      /// <summary publish="true">
  15:      /// FeatureClass Support class for TentPlay Trek business model
  16:      /// </summary>
  17:      /// 
  18:      /// <remarks> 
  19:      /// Copyright © 2012-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  20:      ///
  21:      /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
  22:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  23:      ///
  24:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  25:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  26:      /// 
  27:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  28:      /// 
  29:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  30:      /// </remarks> 
  31:      public partial class FeatureClass
  32:      {
  33:          private static List<Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass> list;
  34:   
  35:          /// <summary/>
  36:          public FeatureClass() { }
  37:   
  38:          ////////////////////////////////////////////////////////////////////////////
  39:   
  40:          /// <summary>
  41:          ///
  42:          /// </summary>
  43:          public static List<Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass> List
  44:          {
  45:              get
  46:              {
  47:                  if (list == null || list.Count == 0)
  48:                  {
  49:                      list = new List<Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass>();
  50:   
  51:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "A" });
  52:   
  53:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "P" });
  54:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "V" });
  55:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "L" });
  56:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "U" });
  57:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "R" });
  58:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "T" });
  59:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "H" });
  60:                      list.Add(new Ia.TentPlay.Cl.Model.Business.Trek.FeatureClass { Id = "S" });
  61:                  }
  62:   
  63:                  return list;
  64:              }
  65:          }
  66:   
  67:          ////////////////////////////////////////////////////////////////////////////
  68:          ////////////////////////////////////////////////////////////////////////////
  69:      }
  70:   
  71:      ////////////////////////////////////////////////////////////////////////////
  72:      ////////////////////////////////////////////////////////////////////////////
  73:  }