/// <summary> /// Create a new contents object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="mvpId">Initial value of the MvpId property.</param> public static contents Createcontents(global::System.Int32 id, global::System.String title, global::System.String text, global::System.Int32 mvpId) { contents contents = new contents(); contents.Id = id; contents.Title = title; contents.Text = text; contents.MvpId = mvpId; return(contents); }
/// <summary> /// Create a new contents object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="mvpId">Initial value of the MvpId property.</param> public static contents Createcontents(global::System.Int32 id, global::System.String title, global::System.String text, global::System.Int32 mvpId) { contents contents = new contents(); contents.Id = id; contents.Title = title; contents.Text = text; contents.MvpId = mvpId; return contents; }
/// <summary> /// Deprecated Method for adding a new object to the contents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocontents(contents contents) { base.AddObject("contents", contents); }