/// <summary> /// Create a new tblMessageUser object. /// </summary> /// <param name="messageId">Initial value of the MessageId property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="respondId">Initial value of the RespondId property.</param> /// <param name="approved">Initial value of the Approved property.</param> /// <param name="isDeletedByOwner">Initial value of the IsDeletedByOwner property.</param> /// <param name="isDeletedByReceived">Initial value of the IsDeletedByReceived property.</param> /// <param name="isRedByOwner">Initial value of the IsRedByOwner property.</param> /// <param name="isRedByReceived">Initial value of the IsRedByReceived property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="sentToUser">Initial value of the SentToUser property.</param> public static tblMessageUser CreatetblMessageUser(global::System.Int32 messageId, global::System.String description, global::System.DateTime createdDate, global::System.Int32 respondId, global::System.Boolean approved, global::System.Boolean isDeletedByOwner, global::System.Boolean isDeletedByReceived, global::System.Boolean isRedByOwner, global::System.Boolean isRedByReceived, global::System.Guid createdBy, global::System.Guid sentToUser) { tblMessageUser tblMessageUser = new tblMessageUser(); tblMessageUser.MessageId = messageId; tblMessageUser.Description = description; tblMessageUser.CreatedDate = createdDate; tblMessageUser.RespondId = respondId; tblMessageUser.Approved = approved; tblMessageUser.IsDeletedByOwner = isDeletedByOwner; tblMessageUser.IsDeletedByReceived = isDeletedByReceived; tblMessageUser.IsRedByOwner = isRedByOwner; tblMessageUser.IsRedByReceived = isRedByReceived; tblMessageUser.CreatedBy = createdBy; tblMessageUser.SentToUser = sentToUser; return tblMessageUser; }
/// <summary> /// Deprecated Method for adding a new object to the tblMessageUser EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblMessageUser(tblMessageUser tblMessageUser) { base.AddObject("tblMessageUser", tblMessageUser); }