/// <summary> /// Create a new ContentWorkflow 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="createdDateUtc">Initial value of the CreatedDateUtc property.</param> /// <param name="userGuid">Initial value of the UserGuid property.</param> /// <param name="status">Initial value of the Status property.</param> public static ContentWorkflow CreateContentWorkflow(global::System.Guid guid, global::System.Guid siteGuid, global::System.Guid moduleGuid, global::System.DateTime createdDateUtc, global::System.Guid userGuid, global::System.String status) { ContentWorkflow contentWorkflow = new ContentWorkflow(); contentWorkflow.Guid = guid; contentWorkflow.SiteGuid = siteGuid; contentWorkflow.ModuleGuid = moduleGuid; contentWorkflow.CreatedDateUtc = createdDateUtc; contentWorkflow.UserGuid = userGuid; contentWorkflow.Status = status; return contentWorkflow; }
/// <summary> /// Deprecated Method for adding a new object to the ContentWorkflows EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToContentWorkflows(ContentWorkflow contentWorkflow) { base.AddObject("ContentWorkflows", contentWorkflow); }