Beispiel #1
0
        /// <summary>
        /// Create a new KeepconLogs object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="keepcon_send_date">Initial value of the keepcon_send_date property.</param>
        /// <param name="logtype">Initial value of the logtype property.</param>
        public static KeepconLogs CreateKeepconLogs(global::System.Int32 id, global::System.DateTime keepcon_send_date, global::System.Int32 logtype)
        {
            KeepconLogs keepconLogs = new KeepconLogs();

            keepconLogs.id = id;
            keepconLogs.keepcon_send_date = keepcon_send_date;
            keepconLogs.logtype           = logtype;
            return(keepconLogs);
        }
Beispiel #2
0
 /// <summary>
 /// Create a new KeepconLogs object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="keepcon_send_date">Initial value of the keepcon_send_date property.</param>
 /// <param name="logtype">Initial value of the logtype property.</param>
 public static KeepconLogs CreateKeepconLogs(global::System.Int32 id, global::System.DateTime keepcon_send_date, global::System.Int32 logtype)
 {
     KeepconLogs keepconLogs = new KeepconLogs();
     keepconLogs.id = id;
     keepconLogs.keepcon_send_date = keepcon_send_date;
     keepconLogs.logtype = logtype;
     return keepconLogs;
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeepconLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeepconLogs(KeepconLogs keepconLogs)
 {
     base.AddObject("KeepconLogs", keepconLogs);
 }
Beispiel #4
0
        static void Save_KeepcontLogs(int id, DateTime keepcon_send_date, string keepcon_error_message, LogType logType)
        {

            using (BB_MovistarSM_LogsEntities dc = new BB_MovistarSM_LogsEntities())
            {

                KeepconLogs wKeepconLogs = new KeepconLogs();
                wKeepconLogs.id = id;
                wKeepconLogs.keepcon_send_date = keepcon_send_date;
                wKeepconLogs.keepcon_error_message = keepcon_error_message;
                wKeepconLogs.logtype = (int)logType;
                dc.KeepconLogs.AddObject(wKeepconLogs);
                dc.SaveChanges();
            }
        }
Beispiel #5
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeepconLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeepconLogs(KeepconLogs keepconLogs)
 {
     base.AddObject("KeepconLogs", keepconLogs);
 }