/// <summary> /// Deprecated Method for adding a new object to the MESSAGES EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMESSAGES(MESSAGE mESSAGE) { base.AddObject("MESSAGES", mESSAGE); }
/// <summary> /// Create a new MESSAGE object. /// </summary> /// <param name="mESSAGE_ID">Initial value of the MESSAGE_ID property.</param> /// <param name="sender_UID">Initial value of the Sender_UID property.</param> /// <param name="cREATED_AT">Initial value of the CREATED_AT property.</param> /// <param name="reciever_UID">Initial value of the Reciever_UID property.</param> /// <param name="pOLL_ID">Initial value of the POLL_ID property.</param> public static MESSAGE CreateMESSAGE(global::System.Int32 mESSAGE_ID, global::System.Int32 sender_UID, global::System.DateTime cREATED_AT, global::System.Int32 reciever_UID, global::System.Int32 pOLL_ID) { MESSAGE mESSAGE = new MESSAGE(); mESSAGE.MESSAGE_ID = mESSAGE_ID; mESSAGE.Sender_UID = sender_UID; mESSAGE.CREATED_AT = cREATED_AT; mESSAGE.Reciever_UID = reciever_UID; mESSAGE.POLL_ID = pOLL_ID; return mESSAGE; }