private void createLinksToCurrentCopies(int listID)
        {
            List<int> copyIds = getCurrentCopyIds();

            foreach(int copyID in copyIds)
            {
                ListLine newListLine = new ListLine();
                newListLine.ListId = listID;
                newListLine.CopyId = copyID;
                database.ListLines.InsertOnSubmit(newListLine);
            }

            database.SubmitChanges();
        }
 partial void DeleteListLine(ListLine instance);
 partial void UpdateListLine(ListLine instance);
 partial void InsertListLine(ListLine instance);
		private void detach_ListLines(ListLine entity)
		{
			this.SendPropertyChanging();
			entity.List = null;
		}
		private void attach_ListLines(ListLine entity)
		{
			this.SendPropertyChanging();
			entity.List = this;
		}