/// <summary> /// Create a new TPicture object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="strDescription">Initial value of the strDescription property.</param> /// <param name="strToolTip">Initial value of the strToolTip property.</param> /// <param name="strImageUrl">Initial value of the strImageUrl property.</param> /// <param name="intPhotoAlbumID">Initial value of the intPhotoAlbumID property.</param> public static TPicture CreateTPicture(global::System.Int32 id, global::System.String strDescription, global::System.String strToolTip, global::System.String strImageUrl, global::System.Int32 intPhotoAlbumID) { TPicture tPicture = new TPicture(); tPicture.ID = id; tPicture.strDescription = strDescription; tPicture.strToolTip = strToolTip; tPicture.strImageUrl = strImageUrl; tPicture.intPhotoAlbumID = intPhotoAlbumID; return(tPicture); }
/// <summary> /// Deprecated Method for adding a new object to the TPictures EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTPictures(TPicture tPicture) { base.AddObject("TPictures", tPicture); }