/// <summary> /// Create a new Folder object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> public static Folder CreateFolder(global::System.Int32 id, global::System.Int32 userId) { Folder folder = new Folder(); folder.Id = id; folder.UserId = userId; return folder; }
/// <summary> /// Deprecated Method for adding a new object to the Folders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFolders(Folder folder) { base.AddObject("Folders", folder); }