شركة التطبيقات المتكاملة لتصميم النظم البرمجية الخاصة ش.ش.و.

Integrated Applications Programming Company

Skip Navigation LinksHome » Code Library » Event

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

Event Entity Framework class for Next Generation Network (NGN) entity model.

   1:  using System;
   2:  using System.ComponentModel.DataAnnotations;
   3:  using System.ComponentModel.DataAnnotations.Schema;
   4:   
   5:  namespace Ia.Ngn.Cl.Model
   6:  {
   7:      ////////////////////////////////////////////////////////////////////////////
   8:   
   9:      /// <summary publish="true">
  10:      /// Event Entity Framework class for Next Generation Network (NGN) entity model.
  11:      /// </summary>
  12:      /// 
  13:      /// <remarks> 
  14:      /// Copyright © 2006-2021 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
  15:      ///
  16:      /// 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
  17:      /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
  18:      ///
  19:      /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
  20:      /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  21:      /// 
  22:      /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
  23:      /// 
  24:      /// Copyright notice: This notice may not be removed or altered from any source distribution.
  25:      /// </remarks> 
  26:      public partial class Event
  27:      {
  28:          ////////////////////////////////////////////////////////////////////////////
  29:   
  30:          /// <summary>
  31:          ///
  32:          /// </summary>
  33:          public Event() { }
  34:   
  35:          /// <summary/>
  36:          [Key]
  37:          public long Id { get; set; }
  38:   
  39:          /// <summary/>
  40:          public int TypeId { get; set; }
  41:   
  42:          /// <summary/>
  43:          public string System { get; set; }
  44:   
  45:          /// <summary/>
  46:          public string Class { get; set; }
  47:   
  48:          /// <summary/>
  49:          public string Aid { get; set; }
  50:   
  51:          /// <summary/>
  52:          public string Cause { get; set; }
  53:   
  54:          /// <summary/>
  55:          public int Number { get; set; }
  56:   
  57:          /// <summary/>
  58:          public string Detail { get; set; }
  59:   
  60:          /// <summary/>
  61:          public string Severity { get; set; }
  62:   
  63:          /// <summary/>
  64:          public string SeverityEffect { get; set; }
  65:   
  66:          /// <summary/>
  67:          public DateTime EventTime { get; set; }
  68:   
  69:          /// <summary/>
  70:          public DateTime? NodeTime { get; set; }
  71:   
  72:          /// <summary/>
  73:          public DateTime Created { get; set; }
  74:   
  75:          /// <summary/>
  76:          public DateTime Updated { get; set; }
  77:   
  78:          /// <summary/>
  79:          [ForeignKey("Ont_Id")]
  80:          public virtual Ont Ont { get; set; }
  81:   
  82:          /// <summary/>
  83:          public System.Guid UserId { get; set; }
  84:   
  85:          ////////////////////////////////////////////////////////////////////////////
  86:   
  87:          /// <summary>
  88:          ///
  89:          /// </summary>
  90:          public override string ToString()
  91:          {
  92:              return Ia.Ngn.Cl.Model.Data.Event.ToString(this);
  93:          }
  94:   
  95:          ////////////////////////////////////////////////////////////////////////////
  96:   
  97:          /// <summary>
  98:          ///
  99:          /// </summary>
 100:          public string ToSimpleTextString()
 101:          {
 102:              return Ia.Ngn.Cl.Model.Data.Event.ToSimpleTextString(this);
 103:          }
 104:   
 105:          ////////////////////////////////////////////////////////////////////////////    
 106:          ////////////////////////////////////////////////////////////////////////////    
 107:      }
 108:   
 109:      ////////////////////////////////////////////////////////////////////////////
 110:      ////////////////////////////////////////////////////////////////////////////   
 111:  }