/// <summary> /// Create a new tblMemberContactAndPref object. /// </summary> /// <param name="idMemberContactPref">Initial value of the idMemberContactPref property.</param> /// <param name="idMember">Initial value of the idMember property.</param> /// <param name="idContactType">Initial value of the idContactType property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> /// <param name="dateModified">Initial value of the dateModified property.</param> /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param> /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param> public static tblMemberContactAndPref CreatetblMemberContactAndPref(global::System.Int32 idMemberContactPref, global::System.Int32 idMember, global::System.Int32 idContactType, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblMemberContactAndPref tblMemberContactAndPref = new tblMemberContactAndPref(); tblMemberContactAndPref.idMemberContactPref = idMemberContactPref; tblMemberContactAndPref.idMember = idMember; tblMemberContactAndPref.idContactType = idContactType; tblMemberContactAndPref.dateCreated = dateCreated; tblMemberContactAndPref.dateModified = dateModified; tblMemberContactAndPref.CreatedByLogin = createdByLogin; tblMemberContactAndPref.ModifiedByLogin = modifiedByLogin; return tblMemberContactAndPref; }
/// <summary> /// Deprecated Method for adding a new object to the tblMemberContactAndPrefs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblMemberContactAndPrefs(tblMemberContactAndPref tblMemberContactAndPref) { base.AddObject("tblMemberContactAndPrefs", tblMemberContactAndPref); }