mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 10:54:50 +08:00
Updating gallery service references
--HG-- extra : transplant_source : %C1O%D6Xa9%90T%9C%970%AE%5B%BB%DE%ABH%E6to
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
// Original file name:
|
// 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
|
namespace Orchard.Packaging.GalleryServer
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -124,29 +124,35 @@ namespace Orchard.Packaging.GalleryServer
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="ID">Initial value of Id.</param>
|
/// <param name="ID">Initial value of Id.</param>
|
||||||
/// <param name="version">Initial value of Version.</param>
|
/// <param name="version">Initial value of Version.</param>
|
||||||
/// <param name="downloadCount">Initial value of DownloadCount.</param>
|
|
||||||
/// <param name="packageSize">Initial value of PackageSize.</param>
|
/// <param name="packageSize">Initial value of PackageSize.</param>
|
||||||
/// <param name="rating">Initial value of Rating.</param>
|
|
||||||
/// <param name="ratingsCount">Initial value of RatingsCount.</param>
|
|
||||||
/// <param name="price">Initial value of Price.</param>
|
/// <param name="price">Initial value of Price.</param>
|
||||||
/// <param name="requireLicenseAcceptance">Initial value of RequireLicenseAcceptance.</param>
|
/// <param name="requireLicenseAcceptance">Initial value of RequireLicenseAcceptance.</param>
|
||||||
/// <param name="isLatestVersion">Initial value of IsLatestVersion.</param>
|
/// <param name="isLatestVersion">Initial value of IsLatestVersion.</param>
|
||||||
|
/// <param name="rating">Initial value of Rating.</param>
|
||||||
|
/// <param name="ratingsCount">Initial value of RatingsCount.</param>
|
||||||
|
/// <param name="downloadCount">Initial value of DownloadCount.</param>
|
||||||
|
/// <param name="versionRating">Initial value of VersionRating.</param>
|
||||||
|
/// <param name="versionRatingsCount">Initial value of VersionRatingsCount.</param>
|
||||||
|
/// <param name="versionDownloadCount">Initial value of VersionDownloadCount.</param>
|
||||||
/// <param name="created">Initial value of Created.</param>
|
/// <param name="created">Initial value of Created.</param>
|
||||||
/// <param name="lastUpdated">Initial value of LastUpdated.</param>
|
/// <param name="lastUpdated">Initial value of LastUpdated.</param>
|
||||||
/// <param name="published">Initial value of Published.</param>
|
/// <param name="published">Initial value of Published.</param>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
|
[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 publishedPackage = new PublishedPackage();
|
||||||
publishedPackage.Id = ID;
|
publishedPackage.Id = ID;
|
||||||
publishedPackage.Version = version;
|
publishedPackage.Version = version;
|
||||||
publishedPackage.DownloadCount = downloadCount;
|
|
||||||
publishedPackage.PackageSize = packageSize;
|
publishedPackage.PackageSize = packageSize;
|
||||||
publishedPackage.Rating = rating;
|
|
||||||
publishedPackage.RatingsCount = ratingsCount;
|
|
||||||
publishedPackage.Price = price;
|
publishedPackage.Price = price;
|
||||||
publishedPackage.RequireLicenseAcceptance = requireLicenseAcceptance;
|
publishedPackage.RequireLicenseAcceptance = requireLicenseAcceptance;
|
||||||
publishedPackage.IsLatestVersion = isLatestVersion;
|
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.Created = created;
|
||||||
publishedPackage.LastUpdated = lastUpdated;
|
publishedPackage.LastUpdated = lastUpdated;
|
||||||
publishedPackage.Published = published;
|
publishedPackage.Published = published;
|
||||||
@@ -300,27 +306,6 @@ namespace Orchard.Packaging.GalleryServer
|
|||||||
partial void OnDescriptionChanging(string value);
|
partial void OnDescriptionChanging(string value);
|
||||||
partial void OnDescriptionChanged();
|
partial void OnDescriptionChanged();
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// There are no comments for Property DownloadCount in the schema.
|
|
||||||
/// </summary>
|
|
||||||
[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();
|
|
||||||
/// <summary>
|
|
||||||
/// There are no comments for Property Copyright in the schema.
|
/// There are no comments for Property Copyright in the schema.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
|
[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 OnPackageSizeChanging(long value);
|
||||||
partial void OnPackageSizeChanged();
|
partial void OnPackageSizeChanged();
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// There are no comments for Property Rating in the schema.
|
|
||||||
/// </summary>
|
|
||||||
[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();
|
|
||||||
/// <summary>
|
|
||||||
/// There are no comments for Property RatingsCount in the schema.
|
|
||||||
/// </summary>
|
|
||||||
[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();
|
|
||||||
/// <summary>
|
|
||||||
/// There are no comments for Property Price in the schema.
|
/// There are no comments for Property Price in the schema.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
|
[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 OnIsLatestVersionChanging(bool value);
|
||||||
partial void OnIsLatestVersionChanged();
|
partial void OnIsLatestVersionChanged();
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
/// There are no comments for Property Rating in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
|
/// There are no comments for Property RatingsCount in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
|
/// There are no comments for Property DownloadCount in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
|
/// There are no comments for Property VersionRating in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
|
/// There are no comments for Property VersionRatingsCount in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
|
/// There are no comments for Property VersionDownloadCount in the schema.
|
||||||
|
/// </summary>
|
||||||
|
[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();
|
||||||
|
/// <summary>
|
||||||
/// There are no comments for Property Created in the schema.
|
/// There are no comments for Property Created in the schema.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Services.Design", "1.0.0")]
|
||||||
|
@@ -13,16 +13,19 @@
|
|||||||
<Property Name="PackageType" Type="Edm.String" Nullable="true" />
|
<Property Name="PackageType" Type="Edm.String" Nullable="true" />
|
||||||
<Property Name="Summary" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
|
<Property Name="Summary" Type="Edm.String" Nullable="true" m:FC_TargetPath="SyndicationSummary" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
|
||||||
<Property Name="Description" Type="Edm.String" Nullable="true" />
|
<Property Name="Description" Type="Edm.String" Nullable="true" />
|
||||||
<Property Name="DownloadCount" Type="Edm.Int32" Nullable="false" />
|
|
||||||
<Property Name="Copyright" Type="Edm.String" Nullable="true" />
|
<Property Name="Copyright" Type="Edm.String" Nullable="true" />
|
||||||
<Property Name="PackageHashAlgorithm" Type="Edm.String" Nullable="true" />
|
<Property Name="PackageHashAlgorithm" Type="Edm.String" Nullable="true" />
|
||||||
<Property Name="PackageHash" Type="Edm.String" Nullable="true" />
|
<Property Name="PackageHash" Type="Edm.String" Nullable="true" />
|
||||||
<Property Name="PackageSize" Type="Edm.Int64" Nullable="false" />
|
<Property Name="PackageSize" Type="Edm.Int64" Nullable="false" />
|
||||||
<Property Name="Rating" Type="Edm.Double" Nullable="false" />
|
|
||||||
<Property Name="RatingsCount" Type="Edm.Int32" Nullable="false" />
|
|
||||||
<Property Name="Price" Type="Edm.Decimal" Nullable="false" />
|
<Property Name="Price" Type="Edm.Decimal" Nullable="false" />
|
||||||
<Property Name="RequireLicenseAcceptance" Type="Edm.Boolean" Nullable="false" />
|
<Property Name="RequireLicenseAcceptance" Type="Edm.Boolean" Nullable="false" />
|
||||||
<Property Name="IsLatestVersion" Type="Edm.Boolean" Nullable="false" />
|
<Property Name="IsLatestVersion" Type="Edm.Boolean" Nullable="false" />
|
||||||
|
<Property Name="Rating" Type="Edm.Double" Nullable="false" />
|
||||||
|
<Property Name="RatingsCount" Type="Edm.Int32" Nullable="false" />
|
||||||
|
<Property Name="DownloadCount" Type="Edm.Int32" Nullable="false" />
|
||||||
|
<Property Name="VersionRating" Type="Edm.Double" Nullable="false" />
|
||||||
|
<Property Name="VersionRatingsCount" Type="Edm.Int32" Nullable="false" />
|
||||||
|
<Property Name="VersionDownloadCount" Type="Edm.Int32" Nullable="false" />
|
||||||
<Property Name="Created" Type="Edm.DateTime" Nullable="false" />
|
<Property Name="Created" Type="Edm.DateTime" Nullable="false" />
|
||||||
<Property Name="LastUpdated" Type="Edm.DateTime" Nullable="false" m:FC_TargetPath="SyndicationUpdated" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
|
<Property Name="LastUpdated" Type="Edm.DateTime" Nullable="false" m:FC_TargetPath="SyndicationUpdated" m:FC_ContentKind="text" m:FC_KeepInContent="true" />
|
||||||
<Property Name="Published" Type="Edm.DateTime" Nullable="false" />
|
<Property Name="Published" Type="Edm.DateTime" Nullable="false" />
|
||||||
|
Reference in New Issue
Block a user