)>}]
شركة التطبيقات المتكاملة لتصميم وبرمجة البرمجيات الخاصة ش.ش.و.
Integrated Applications Programming Company
Skip Navigation Links

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

Text support class for Optical Fiber Network (OFN) ui model.

    1: namespace Ia.Ngn.Cl.Model.Ui
    2: {
    3:     ////////////////////////////////////////////////////////////////////////////
    4:  
    5:     /// <summary publish="true">
    6:     /// Text support class for Optical Fiber Network (OFN) ui model.
    7:     /// </summary>
    8:     /// 
    9:     /// <remarks> 
   10:     /// Copyright © 2018-2019 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
   11:     ///
   12:     /// 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
   13:     /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
   14:     ///
   15:     /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
   16:     /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
   17:     /// 
   18:     /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
   19:     /// 
   20:     /// Copyright notice: This notice may not be removed or altered from any source distribution.
   21:     /// </remarks> 
   22:     public class Text
   23:     {
   24:         /// <summary/>
   25:         public Text() { }
   26:  
   27:         ////////////////////////////////////////////////////////////////////////////
   28:  
   29:         /// <summary>
   30:         /// Expression of insert or update or delete of record
   31:         /// </summary>
   32:         public static string ExpressionOfInsertOrUpdateOrDelete(bool insert, bool update, bool delete)
   33:         {
   34:             string s;
   35:  
   36:             if (insert) s = "insert";
   37:             else if (update) s = "update";
   38:             else if (delete) s = "delete";
   39:             else s = "no change";
   40:  
   41:             return s;
   42:         }
   43:  
   44:         ////////////////////////////////////////////////////////////////////////////
   45:         ////////////////////////////////////////////////////////////////////////////
   46:     }
   47:  
   48:     ////////////////////////////////////////////////////////////////////////////
   49:     ////////////////////////////////////////////////////////////////////////////
   50: }