diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/Reference.cs b/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/Reference.cs
index cd11a7266..62b1dacb5 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/Reference.cs
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/Reference.cs
@@ -9,7 +9,7 @@
//------------------------------------------------------------------------------
// Original file name:
-// Generation date: 12/13/2010 12:55:40 PM
+// Generation date: 12/16/2010 1:21:46 AM
namespace Orchard.Packaging.GalleryServer
{
@@ -124,29 +124,35 @@ namespace Orchard.Packaging.GalleryServer
///
/// Initial value of Id.
/// Initial value of Version.
- /// Initial value of DownloadCount.
/// Initial value of PackageSize.
- /// Initial value of Rating.
- /// Initial value of RatingsCount.
/// Initial value of Price.
/// Initial value of RequireLicenseAcceptance.
/// Initial value of IsLatestVersion.
+ /// Initial value of Rating.
+ /// Initial value of RatingsCount.
+ /// Initial value of DownloadCount.
+ /// Initial value of VersionRating.
+ /// Initial value of VersionRatingsCount.
+ /// Initial value of VersionDownloadCount.
/// Initial value of Created.
/// Initial value of LastUpdated.
/// Initial value of Published.
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- public static PublishedPackage CreatePublishedPackage(string ID, string version, int downloadCount, long packageSize, double rating, int ratingsCount, decimal price, bool requireLicenseAcceptance, bool isLatestVersion, global::System.DateTime created, global::System.DateTime lastUpdated, global::System.DateTime published)
+ public static PublishedPackage CreatePublishedPackage(string ID, string version, long packageSize, decimal price, bool requireLicenseAcceptance, bool isLatestVersion, double rating, int ratingsCount, int downloadCount, double versionRating, int versionRatingsCount, int versionDownloadCount, global::System.DateTime created, global::System.DateTime lastUpdated, global::System.DateTime published)
{
PublishedPackage publishedPackage = new PublishedPackage();
publishedPackage.Id = ID;
publishedPackage.Version = version;
- publishedPackage.DownloadCount = downloadCount;
publishedPackage.PackageSize = packageSize;
- publishedPackage.Rating = rating;
- publishedPackage.RatingsCount = ratingsCount;
publishedPackage.Price = price;
publishedPackage.RequireLicenseAcceptance = requireLicenseAcceptance;
publishedPackage.IsLatestVersion = isLatestVersion;
+ publishedPackage.Rating = rating;
+ publishedPackage.RatingsCount = ratingsCount;
+ publishedPackage.DownloadCount = downloadCount;
+ publishedPackage.VersionRating = versionRating;
+ publishedPackage.VersionRatingsCount = versionRatingsCount;
+ publishedPackage.VersionDownloadCount = versionDownloadCount;
publishedPackage.Created = created;
publishedPackage.LastUpdated = lastUpdated;
publishedPackage.Published = published;
@@ -300,27 +306,6 @@ namespace Orchard.Packaging.GalleryServer
partial void OnDescriptionChanging(string value);
partial void OnDescriptionChanged();
///
- /// There are no comments for Property DownloadCount in the schema.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- public int DownloadCount
- {
- get
- {
- return this._DownloadCount;
- }
- set
- {
- this.OnDownloadCountChanging(value);
- this._DownloadCount = value;
- this.OnDownloadCountChanged();
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- private int _DownloadCount;
- partial void OnDownloadCountChanging(int value);
- partial void OnDownloadCountChanged();
- ///
/// There are no comments for Property Copyright in the schema.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
@@ -405,48 +390,6 @@ namespace Orchard.Packaging.GalleryServer
partial void OnPackageSizeChanging(long value);
partial void OnPackageSizeChanged();
///
- /// There are no comments for Property Rating in the schema.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- public double Rating
- {
- get
- {
- return this._Rating;
- }
- set
- {
- this.OnRatingChanging(value);
- this._Rating = value;
- this.OnRatingChanged();
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- private double _Rating;
- partial void OnRatingChanging(double value);
- partial void OnRatingChanged();
- ///
- /// There are no comments for Property RatingsCount in the schema.
- ///
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- public int RatingsCount
- {
- get
- {
- return this._RatingsCount;
- }
- set
- {
- this.OnRatingsCountChanging(value);
- this._RatingsCount = value;
- this.OnRatingsCountChanged();
- }
- }
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
- private int _RatingsCount;
- partial void OnRatingsCountChanging(int value);
- partial void OnRatingsCountChanged();
- ///
/// There are no comments for Property Price in the schema.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
@@ -510,6 +453,132 @@ namespace Orchard.Packaging.GalleryServer
partial void OnIsLatestVersionChanging(bool value);
partial void OnIsLatestVersionChanged();
///
+ /// There are no comments for Property Rating in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public double Rating
+ {
+ get
+ {
+ return this._Rating;
+ }
+ set
+ {
+ this.OnRatingChanging(value);
+ this._Rating = value;
+ this.OnRatingChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private double _Rating;
+ partial void OnRatingChanging(double value);
+ partial void OnRatingChanged();
+ ///
+ /// There are no comments for Property RatingsCount in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public int RatingsCount
+ {
+ get
+ {
+ return this._RatingsCount;
+ }
+ set
+ {
+ this.OnRatingsCountChanging(value);
+ this._RatingsCount = value;
+ this.OnRatingsCountChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private int _RatingsCount;
+ partial void OnRatingsCountChanging(int value);
+ partial void OnRatingsCountChanged();
+ ///
+ /// There are no comments for Property DownloadCount in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public int DownloadCount
+ {
+ get
+ {
+ return this._DownloadCount;
+ }
+ set
+ {
+ this.OnDownloadCountChanging(value);
+ this._DownloadCount = value;
+ this.OnDownloadCountChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private int _DownloadCount;
+ partial void OnDownloadCountChanging(int value);
+ partial void OnDownloadCountChanged();
+ ///
+ /// There are no comments for Property VersionRating in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public double VersionRating
+ {
+ get
+ {
+ return this._VersionRating;
+ }
+ set
+ {
+ this.OnVersionRatingChanging(value);
+ this._VersionRating = value;
+ this.OnVersionRatingChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private double _VersionRating;
+ partial void OnVersionRatingChanging(double value);
+ partial void OnVersionRatingChanged();
+ ///
+ /// There are no comments for Property VersionRatingsCount in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public int VersionRatingsCount
+ {
+ get
+ {
+ return this._VersionRatingsCount;
+ }
+ set
+ {
+ this.OnVersionRatingsCountChanging(value);
+ this._VersionRatingsCount = value;
+ this.OnVersionRatingsCountChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private int _VersionRatingsCount;
+ partial void OnVersionRatingsCountChanging(int value);
+ partial void OnVersionRatingsCountChanged();
+ ///
+ /// There are no comments for Property VersionDownloadCount in the schema.
+ ///
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ public int VersionDownloadCount
+ {
+ get
+ {
+ return this._VersionDownloadCount;
+ }
+ set
+ {
+ this.OnVersionDownloadCountChanging(value);
+ this._VersionDownloadCount = value;
+ this.OnVersionDownloadCountChanged();
+ }
+ }
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
+ private int _VersionDownloadCount;
+ partial void OnVersionDownloadCountChanging(int value);
+ partial void OnVersionDownloadCountChanged();
+ ///
/// There are no comments for Property Created in the schema.
///
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/service.edmx b/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/service.edmx
index edd4b0cbb..a85ff98d0 100644
--- a/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/service.edmx
+++ b/src/Orchard.Web/Modules/Orchard.Packaging/Service References/GalleryServer/service.edmx
@@ -13,16 +13,19 @@
-
-
-
+
+
+
+
+
+