No PathProvider.BASE

Jun 24, 2011 at 12:04 AM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Your example shows that should perform an iso.Purge, but the PathProvider.BASE I can't find. I am using 1.0.5.0. but NuGet has 1.0.5.1 (which I can't get). Can you help? Regards, Don

public void Dispose()

{

 

 

  if (_engine != null

)

  {

    _engine.Dispose();

 

 

    // http://www.sterlingdatabase.com/sterling-user-guide/getting-started

 

 

 

 

    // says we need the code below, but PathProvider.BASE can't be found.

 

 

 

 

    //var iso = new IsoStorageHelper();

 

 

 

 

    //{

 

 

 

 

    // iso.Purge(PathProvider.BASE);

 

 

 

 

    //}

  }

 

 

 

 

  GC.SuppressFinalize(this

);

}



Coordinator
Jun 24, 2011 at 12:22 AM

Not sure what the NuGet issue is, will look into it. In the meantime you can download from here:

http://sterling.codeplex.com/releases/view/67707

Jun 24, 2011 at 1:35 AM

I have obtained that version from your website

http://sterling.codeplex.com/releases/view/67707

NuGet however says the version of the 1.5.0.1. I was wondering if there was a difference.

Regards,

Don Judd

Coordinator
Jun 24, 2011 at 1:39 AM

Ah. There was an issue with the framework target with NuGet which is why I had to update - the DLL is identical.

Jun 24, 2011 at 2:04 AM

Did you see my issue with using PathProvider.BASE from your website? I posted it on your main website. See more as I commented it in my code below.

public void Dispose()

{

if (_engine != null)

{

_engine.Dispose();

// TODO: Fix PathProvider.BASE?

// http://www.sterlingdatabase.com/sterling-user-guide/getting-started

// says we need the code below, but PathProvider.BASE can't be found.

//

//var iso = new IsoStorageHelper();

//{

// iso.Purge(PathProvider.BASE);

//}

}

GC.SuppressFinalize(this);

}

Thanks again.

Don Judd

Coordinator
Jun 27, 2011 at 10:41 PM

The documentation is for 1.0, not 1.5. It is slowly being updated but there will be some discrepencies until it is all sorted out. I apologize for the inconvenience.

Jun 28, 2011 at 2:07 AM

No need to apologize. I sincerely appreciate your work.

Regards,

Don Judd

Lead Software Engineer

WHENi