Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9081985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:26:53+00:00 2026-06-16T20:26:53+00:00

I have been trying to implement Cascading in my MVC application. Seems like everything

  • 0

I have been trying to implement Cascading in my MVC application. Seems like everything is setup properly, but child docs are not being deleted. Does the metadata on the parent suppose to have a list of “Id”? If so this is what I have. Also how do I know if I am even using the plugin (Can I tell in Raven Studio)? Thanks for any help.

public class Album
{//What property is the meta data looking for to delete the children?
 public Guid ID {get;set;}
public string Id{get;set;}
public string AlbumName{get;set;}
}
public class Photo
{
public Guid ID{get;set;}
public string Id{get;set;}
public string photoName{get;set}
public string AlbumID{get;set}//Was told to add this so cascading would work
public Album{get;set;}
}

Replication

  1. Download latest version of Raven and unzipped
  2. Ran the start cmd in root of folder (made sure that cascade dll was in bundle folder)
  3. Created an album doc
  4. Created a photo doc
  5. Step 4 created a relationship key in the Album doc metadata (look below)
  6. Deleted the Album document(Should have deleted photo docs but didnt)

METADATA (Photos/449 is the Id of the photo doc)

{
  "Content-Type": "application/json; charset=utf-8",
  "Raven-Entity-Name": "Albums",
  "Raven-Clr-Type": "Declarations.Entities.Album, Declarations",
  "Raven-Cascade-Delete-Documents": [
    "Photos/449"
  ]
}

NOTE: I do have a ID property that is a Guid on both parent and child, could that cause issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T20:26:54+00:00Added an answer on June 16, 2026 at 8:26 pm

    I was missing the sub folder plugins in the Server folder.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to implement a GlassPane for my games' in-game HUD, but
Hello guys, I have been trying to implement the DSUM function but failed to
I have been trying to implement twitter bootstrap extension in Yii but cannot do
I have been trying to implement the delete BST function but I don't know
I am new to design patterns, but I have been trying hard to implement
I have been trying to implement a comment engine in my app (UItableView) but
I have been trying to implement the camera into my application following this tutorial
I have been trying to implement a CSS space-like animation composed of several rotating
I have been trying to implement Leadbolt ads in my app but I am
I have been trying to implement a BackgroundWorker into my application, and so far,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.