/// <summary> /// Create a new ContentMeta 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="name">Initial value of the Name property.</param> /// <param name="scheme">Initial value of the Scheme 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 ContentMeta CreateContentMeta(global::System.Guid guid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.Guid contentGuid, global::System.String name, global::System.String scheme, global::System.Int32 sortRank, global::System.DateTime createdUtc, global::System.Guid createdBy, global::System.DateTime lastModUtc, global::System.Guid lastModBy) { ContentMeta contentMeta = new ContentMeta(); contentMeta.Guid = guid; contentMeta.SiteGuid = siteGuid; contentMeta.ModuleGuid = moduleGuid; contentMeta.ContentGuid = contentGuid; contentMeta.Name = name; contentMeta.Scheme = scheme; contentMeta.SortRank = sortRank; contentMeta.CreatedUtc = createdUtc; contentMeta.CreatedBy = createdBy; contentMeta.LastModUtc = lastModUtc; contentMeta.LastModBy = lastModBy; return contentMeta; }
/// <summary> /// Deprecated Method for adding a new object to the ContentMetas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentMetas(ContentMeta contentMeta) { base.AddObject("ContentMetas", contentMeta); }