/// <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); }
/// <summary> /// Deprecated Method for adding a new object to the HomeContents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHomeContents(HomeContent homeContent) { base.AddObject("HomeContents", homeContent); }
/// <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; }