/// <summary> /// Create a new CheckMail object. /// </summary> /// <param name="advID">Initial value of the AdvID property.</param> /// <param name="sentAccID">Initial value of the SentAccID property.</param> /// <param name="receivedAccID">Initial value of the ReceivedAccID property.</param> /// <param name="typeID">Initial value of the TypeID property.</param> public static CheckMail CreateCheckMail(global::System.Int32 advID, global::System.Int32 sentAccID, global::System.Int32 receivedAccID, global::System.Int32 typeID) { CheckMail checkMail = new CheckMail(); checkMail.AdvID = advID; checkMail.SentAccID = sentAccID; checkMail.ReceivedAccID = receivedAccID; checkMail.TypeID = typeID; return(checkMail); }
/// <summary> /// Deprecated Method for adding a new object to the CheckMails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCheckMails(CheckMail checkMail) { base.AddObject("CheckMails", checkMail); }