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

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

Service Request Ont Detail support class of Next Generation Network'a (NGN's) business model.

   1:   
   2:  namespace Ia.Ngn.Cl.Model.Business
   3:  {
   4:      ////////////////////////////////////////////////////////////////////////////
   5:   
   6:      /// <summary publish="true">
   7:      /// Service Request Ont Detail support class of Next Generation Network'a (NGN's) business model.
   8:      /// </summary>
   9:      /// 
  10:      /// <remarks> 
  11:      /// Copyright © 2006-2017 Jasem Y. Al-Shamlan (info@ia.com.kw), Internet Applications - Kuwait. All Rights Reserved.
  12:      ///
  13:      /// 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
  14:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  15:      ///
  16:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  17:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  18:      /// 
  19:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  20:      /// 
  21:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  22:      /// </remarks> 
  23:      public partial class ServiceRequestOntDetail
  24:      {
  25:          /// <summary/>
  26:          public ServiceRequestOntDetail() { }
  27:   
  28:          ////////////////////////////////////////////////////////////////////////////
  29:   
  30:          /// <summary>
  31:          ///
  32:          /// </summary>
  33:          public static string ServiceRequestOntDetailId(string serviceRequestOntId, int serviceType, int servicePosition)
  34:          {
  35:              string id;
  36:   
  37:              id = serviceRequestOntId + serviceType.ToString().PadLeft(2, '0') + servicePosition.ToString().PadLeft(2, '0');
  38:   
  39:              return id;
  40:          }
  41:   
  42:          ////////////////////////////////////////////////////////////////////////////    
  43:          ////////////////////////////////////////////////////////////////////////////    
  44:      }
  45:   
  46:      ////////////////////////////////////////////////////////////////////////////
  47:      ////////////////////////////////////////////////////////////////////////////
  48:  }