コード例 #1
0
        /// <summary>
        /// Create a new HomeContent object.
        /// </summary>
        /// <param name="homeID">Initial value of the HomeID property.</param>
        public static HomeContent CreateHomeContent(global::System.Int32 homeID)
        {
            HomeContent homeContent = new HomeContent();

            homeContent.HomeID = homeID;
            return(homeContent);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HomeContents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHomeContents(HomeContent homeContent)
 {
     base.AddObject("HomeContents", homeContent);
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HomeContents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHomeContents(HomeContent homeContent)
 {
     base.AddObject("HomeContents", homeContent);
 }
コード例 #4
0
 /// <summary>
 /// Create a new HomeContent object.
 /// </summary>
 /// <param name="homeID">Initial value of the HomeID property.</param>
 public static HomeContent CreateHomeContent(global::System.Int32 homeID)
 {
     HomeContent homeContent = new HomeContent();
     homeContent.HomeID = homeID;
     return homeContent;
 }