/// <summary> /// Deprecated Method for adding a new object to the Folder EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFolder(Folder folder) { base.AddObject("Folder", folder); }
/// <summary> /// Create a new Folder object. /// </summary> /// <param name="folderId">Initial value of the FolderId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Folder CreateFolder(global::System.Guid folderId, global::System.String name, global::System.String description, global::System.DateTime createdDate) { Folder folder = new Folder(); folder.FolderId = folderId; folder.Name = name; folder.Description = description; folder.CreatedDate = createdDate; return folder; }