Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AdminMessages EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAdminMessages(AdminMessage adminMessage)
 {
     base.AddObject("AdminMessages", adminMessage);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new AdminMessage object.
 /// </summary>
 /// <param name="adminMessageId">Initial value of the AdminMessageId property.</param>
 /// <param name="messageText">Initial value of the MessageText property.</param>
 /// <param name="lastUpdatedDateTime">Initial value of the LastUpdatedDateTime property.</param>
 public static AdminMessage CreateAdminMessage(global::System.Int32 adminMessageId, global::System.String messageText, global::System.DateTimeOffset lastUpdatedDateTime)
 {
     AdminMessage adminMessage = new AdminMessage();
     adminMessage.AdminMessageId = adminMessageId;
     adminMessage.MessageText = messageText;
     adminMessage.LastUpdatedDateTime = lastUpdatedDateTime;
     return adminMessage;
 }