コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the contents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocontents(contents contents)
 {
     base.AddObject("contents", contents);
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the contents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocontents(contents contents)
 {
     base.AddObject("contents", contents);
 }