/// <summary> /// Create a new StandardComment object. /// </summary> /// <param name="standardCommentId">Initial value of the StandardCommentId property.</param> /// <param name="standardComment1">Initial value of the StandardComment1 property.</param> /// <param name="churchId">Initial value of the ChurchId property.</param> public static StandardComment CreateStandardComment(global::System.Int32 standardCommentId, global::System.String standardComment1, global::System.Int32 churchId) { StandardComment standardComment = new StandardComment(); standardComment.StandardCommentId = standardCommentId; standardComment.StandardComment1 = standardComment1; standardComment.ChurchId = churchId; return standardComment; }
/// <summary> /// Deprecated Method for adding a new object to the StandardComments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStandardComments(StandardComment standardComment) { base.AddObject("StandardComments", standardComment); }