/// <summary> /// Create a new TReview object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="strTitle">Initial value of the strTitle property.</param> /// <param name="strSummary">Initial value of the strSummary property.</param> /// <param name="intGenreID">Initial value of the intGenreID property.</param> /// <param name="blnAuthorized">Initial value of the blnAuthorized property.</param> /// <param name="dtmCreateDateTime">Initial value of the dtmCreateDateTime property.</param> /// <param name="dtmUpdateDateTime">Initial value of the dtmUpdateDateTime property.</param> public static TReview CreateTReview(global::System.Int32 id, global::System.String strTitle, global::System.String strSummary, global::System.Int32 intGenreID, global::System.Boolean blnAuthorized, global::System.DateTime dtmCreateDateTime, global::System.DateTime dtmUpdateDateTime) { TReview tReview = new TReview(); tReview.ID = id; tReview.strTitle = strTitle; tReview.strSummary = strSummary; tReview.intGenreID = intGenreID; tReview.blnAuthorized = blnAuthorized; tReview.dtmCreateDateTime = dtmCreateDateTime; tReview.dtmUpdateDateTime = dtmUpdateDateTime; return(tReview); }
/// <summary> /// Deprecated Method for adding a new object to the TReviews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTReviews(TReview tReview) { base.AddObject("TReviews", tReview); }