/// <summary> /// Create a new ContentMetaLink object. /// </summary> /// <param name="guid">Initial value of the Guid property.</param> /// <param name="siteGuid">Initial value of the SiteGuid property.</param> /// <param name="moduleGuid">Initial value of the ModuleGuid property.</param> /// <param name="contentGuid">Initial value of the ContentGuid property.</param> /// <param name="rel">Initial value of the Rel property.</param> /// <param name="href">Initial value of the Href property.</param> /// <param name="sortRank">Initial value of the SortRank property.</param> /// <param name="createdUtc">Initial value of the CreatedUtc property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="lastModUtc">Initial value of the LastModUtc property.</param> /// <param name="lastModBy">Initial value of the LastModBy property.</param> public static ContentMetaLink CreateContentMetaLink(global::System.Guid guid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid contentGuid, global::System.String rel, global::System.String href, global::System.Int32 sortRank, global::System.DateTime createdUtc, global::System.Guid createdBy, global::System.DateTime lastModUtc, global::System.Guid lastModBy) { ContentMetaLink contentMetaLink = new ContentMetaLink(); contentMetaLink.Guid = guid; contentMetaLink.SiteGuid = siteGuid; contentMetaLink.ModuleGuid = moduleGuid; contentMetaLink.ContentGuid = contentGuid; contentMetaLink.Rel = rel; contentMetaLink.Href = href; contentMetaLink.SortRank = sortRank; contentMetaLink.CreatedUtc = createdUtc; contentMetaLink.CreatedBy = createdBy; contentMetaLink.LastModUtc = lastModUtc; contentMetaLink.LastModBy = lastModBy; return contentMetaLink; }
/// <summary> /// Deprecated Method for adding a new object to the ContentMetaLinks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentMetaLinks(ContentMetaLink contentMetaLink) { base.AddObject("ContentMetaLinks", contentMetaLink); }