Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Signed-off-by: Leeforall <545780587@qq.com>

  • Loading branch information...
commit fb5fcc922488455ecfddf84f99fb437fa5a0a22e 1 parent 63f6b6f
@Leeforall authored
View
185 WebSite/WebSite/Access_Data/ShopEntities.Designer.cs
@@ -191,6 +191,22 @@ public ObjectSet<Suggestion> Suggestions
/// <summary>
/// 没有元数据文档可用。
/// </summary>
+ public ObjectSet<sysdiagram> sysdiagrams
+ {
+ get
+ {
+ if ((_sysdiagrams == null))
+ {
+ _sysdiagrams = base.CreateObjectSet<sysdiagram>("sysdiagrams");
+ }
+ return _sysdiagrams;
+ }
+ }
+ private ObjectSet<sysdiagram> _sysdiagrams;
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
public ObjectSet<User> Users
{
get
@@ -264,6 +280,14 @@ public void AddToSuggestions(Suggestion suggestion)
}
/// <summary>
+ /// 用于向 sysdiagrams EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
+ /// </summary>
+ public void AddTosysdiagrams(sysdiagram sysdiagram)
+ {
+ base.AddObject("sysdiagrams", sysdiagram);
+ }
+
+ /// <summary>
/// 用于向 Users EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
/// </summary>
public void AddToUsers(User user)
@@ -763,8 +787,6 @@ public Product Product
/// </summary>
[BrowsableAttribute(false)]
[DataMemberAttribute()]
- [XmlIgnoreAttribute()]
- [SoapIgnoreAttribute()]
public EntityReference<Product> ProductReference
{
get
@@ -1499,9 +1521,9 @@ public static SecCategory CreateSecCategory(global::System.Int32 secCategoryID,
/// <summary>
/// 没有元数据文档可用。
/// </summary>
+ [DataMemberAttribute()]
[XmlIgnoreAttribute()]
[SoapIgnoreAttribute()]
- [DataMemberAttribute()]
[EdmRelationshipNavigationPropertyAttribute("ShopDBModel", "FK_SecCategories_Categories", "Categories")]
public Category Category
{
@@ -1715,8 +1737,6 @@ public User User
/// </summary>
[BrowsableAttribute(false)]
[DataMemberAttribute()]
- [XmlIgnoreAttribute()]
- [SoapIgnoreAttribute()]
public EntityReference<User> UserReference
{
get
@@ -1738,6 +1758,161 @@ public EntityReference<User> UserReference
/// <summary>
/// 没有元数据文档可用。
/// </summary>
+ [EdmEntityTypeAttribute(NamespaceName="ShopDBModel", Name="sysdiagram")]
+ [Serializable()]
+ [DataContractAttribute(IsReference=true)]
+ public partial class sysdiagram : EntityObject
+ {
+ #region 工厂方法
+
+ /// <summary>
+ /// 创建新的 sysdiagram 对象。
+ /// </summary>
+ /// <param name="name">name 属性的初始值。</param>
+ /// <param name="principal_id">principal_id 属性的初始值。</param>
+ /// <param name="diagram_id">diagram_id 属性的初始值。</param>
+ public static sysdiagram Createsysdiagram(global::System.String name, global::System.Int32 principal_id, global::System.Int32 diagram_id)
+ {
+ sysdiagram sysdiagram = new sysdiagram();
+ sysdiagram.name = name;
+ sysdiagram.principal_id = principal_id;
+ sysdiagram.diagram_id = diagram_id;
+ return sysdiagram;
+ }
+
+ #endregion
+ #region 基元属性
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
+ [DataMemberAttribute()]
+ public global::System.String name
+ {
+ get
+ {
+ return _name;
+ }
+ set
+ {
+ OnnameChanging(value);
+ ReportPropertyChanging("name");
+ _name = StructuralObject.SetValidValue(value, false);
+ ReportPropertyChanged("name");
+ OnnameChanged();
+ }
+ }
+ private global::System.String _name;
+ partial void OnnameChanging(global::System.String value);
+ partial void OnnameChanged();
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=false)]
+ [DataMemberAttribute()]
+ public global::System.Int32 principal_id
+ {
+ get
+ {
+ return _principal_id;
+ }
+ set
+ {
+ Onprincipal_idChanging(value);
+ ReportPropertyChanging("principal_id");
+ _principal_id = StructuralObject.SetValidValue(value);
+ ReportPropertyChanged("principal_id");
+ Onprincipal_idChanged();
+ }
+ }
+ private global::System.Int32 _principal_id;
+ partial void Onprincipal_idChanging(global::System.Int32 value);
+ partial void Onprincipal_idChanged();
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
+ [EdmScalarPropertyAttribute(EntityKeyProperty=true, IsNullable=false)]
+ [DataMemberAttribute()]
+ public global::System.Int32 diagram_id
+ {
+ get
+ {
+ return _diagram_id;
+ }
+ set
+ {
+ if (_diagram_id != value)
+ {
+ Ondiagram_idChanging(value);
+ ReportPropertyChanging("diagram_id");
+ _diagram_id = StructuralObject.SetValidValue(value);
+ ReportPropertyChanged("diagram_id");
+ Ondiagram_idChanged();
+ }
+ }
+ }
+ private global::System.Int32 _diagram_id;
+ partial void Ondiagram_idChanging(global::System.Int32 value);
+ partial void Ondiagram_idChanged();
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
+ [DataMemberAttribute()]
+ public Nullable<global::System.Int32> version
+ {
+ get
+ {
+ return _version;
+ }
+ set
+ {
+ OnversionChanging(value);
+ ReportPropertyChanging("version");
+ _version = StructuralObject.SetValidValue(value);
+ ReportPropertyChanged("version");
+ OnversionChanged();
+ }
+ }
+ private Nullable<global::System.Int32> _version;
+ partial void OnversionChanging(Nullable<global::System.Int32> value);
+ partial void OnversionChanged();
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
+ [EdmScalarPropertyAttribute(EntityKeyProperty=false, IsNullable=true)]
+ [DataMemberAttribute()]
+ public global::System.Byte[] definition
+ {
+ get
+ {
+ return StructuralObject.GetValidValue(_definition);
+ }
+ set
+ {
+ OndefinitionChanging(value);
+ ReportPropertyChanging("definition");
+ _definition = StructuralObject.SetValidValue(value, true);
+ ReportPropertyChanged("definition");
+ OndefinitionChanged();
+ }
+ }
+ private global::System.Byte[] _definition;
+ partial void OndefinitionChanging(global::System.Byte[] value);
+ partial void OndefinitionChanged();
+
+ #endregion
+
+ }
+
+ /// <summary>
+ /// 没有元数据文档可用。
+ /// </summary>
[EdmEntityTypeAttribute(NamespaceName="ShopDBModel", Name="User")]
[Serializable()]
[DataContractAttribute(IsReference=true)]
View
58 WebSite/WebSite/Access_Data/ShopEntities.edmx
@@ -13,6 +13,7 @@
<EntitySet Name="Reviews" EntityType="ShopDBModel.Store.Reviews" store:Type="Tables" Schema="dbo" />
<EntitySet Name="SecCategories" EntityType="ShopDBModel.Store.SecCategories" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Suggestions" EntityType="ShopDBModel.Store.Suggestions" store:Type="Tables" Schema="dbo" />
+ <EntitySet Name="sysdiagrams" EntityType="ShopDBModel.Store.sysdiagrams" store:Type="Tables" Schema="dbo" />
<EntitySet Name="Users" EntityType="ShopDBModel.Store.Users" store:Type="Tables" Schema="dbo" />
<AssociationSet Name="FK_DiscountInformation_Discounts" Association="ShopDBModel.Store.FK_DiscountInformation_Discounts">
<End Role="Discounts" EntitySet="Discounts" />
@@ -48,7 +49,7 @@
<PropertyRef Name="categoryID" />
</Key>
<Property Name="categoryID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
- <Property Name="categoryName" Type="text" Nullable="false" />
+ <Property Name="categoryName" Type="nvarchar(max)" Nullable="false" />
</EntityType>
<EntityType Name="DiscountItems">
<Key>
@@ -90,7 +91,7 @@
<Property Name="reviewID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="userID" Type="int" Nullable="false" />
<Property Name="productID" Type="int" Nullable="false" />
- <Property Name="comment" Type="text" Nullable="false" />
+ <Property Name="comment" Type="nvarchar(max)" Nullable="false" />
<Property Name="rating" Type="int" Nullable="false" />
<Property Name="createAt" Type="smalldatetime" Nullable="false" />
</EntityType>
@@ -100,7 +101,7 @@
</Key>
<Property Name="secCategoryID" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="categoryID" Type="int" Nullable="false" />
- <Property Name="secCategoryName" Type="varchar" Nullable="false" MaxLength="50" />
+ <Property Name="secCategoryName" Type="nvarchar(max)" Nullable="false" />
</EntityType>
<EntityType Name="Suggestions">
<Key>
@@ -108,9 +109,19 @@
</Key>
<Property Name="id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
<Property Name="userID" Type="int" />
- <Property Name="description" Type="text" Nullable="false" />
+ <Property Name="description" Type="nvarchar(max)" Nullable="false" />
<Property Name="date" Type="smalldatetime" Nullable="false" />
</EntityType>
+ <EntityType Name="sysdiagrams">
+ <Key>
+ <PropertyRef Name="diagram_id" />
+ </Key>
+ <Property Name="name" Type="nvarchar" Nullable="false" MaxLength="128" />
+ <Property Name="principal_id" Type="int" Nullable="false" />
+ <Property Name="diagram_id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
+ <Property Name="version" Type="int" />
+ <Property Name="definition" Type="varbinary(max)" />
+ </EntityType>
<EntityType Name="Users">
<Key>
<PropertyRef Name="userID" />
@@ -221,6 +232,7 @@
<EntitySet Name="Reviews" EntityType="ShopDBModel.Review" />
<EntitySet Name="SecCategories" EntityType="ShopDBModel.SecCategory" />
<EntitySet Name="Suggestions" EntityType="ShopDBModel.Suggestion" />
+ <EntitySet Name="sysdiagrams" EntityType="ShopDBModel.sysdiagram" />
<EntitySet Name="Users" EntityType="ShopDBModel.User" />
<AssociationSet Name="FK_SecCategories_Categories" Association="ShopDBModel.FK_SecCategories_Categories">
<End Role="Categories" EntitySet="Categories" />
@@ -256,7 +268,7 @@
<PropertyRef Name="categoryID" />
</Key>
<Property Name="categoryID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="categoryName" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
+ <Property Name="categoryName" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
<NavigationProperty Name="SecCategories" Relationship="ShopDBModel.FK_SecCategories_Categories" FromRole="Categories" ToRole="SecCategories" />
</EntityType>
<EntityType Name="DiscountItem">
@@ -305,7 +317,7 @@
<Property Name="reviewID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="userID" Type="Int32" Nullable="false" />
<Property Name="productID" Type="Int32" Nullable="false" />
- <Property Name="comment" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
+ <Property Name="comment" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="rating" Type="Int32" Nullable="false" />
<Property Name="createAt" Type="DateTime" Nullable="false" />
<NavigationProperty Name="Product" Relationship="ShopDBModel.FK_Reviews_Products" FromRole="Reviews" ToRole="Products" />
@@ -317,7 +329,7 @@
</Key>
<Property Name="secCategoryID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="categoryID" Type="Int32" Nullable="false" />
- <Property Name="secCategoryName" Type="String" Nullable="false" MaxLength="50" Unicode="false" FixedLength="false" />
+ <Property Name="secCategoryName" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
<NavigationProperty Name="Category" Relationship="ShopDBModel.FK_SecCategories_Categories" FromRole="SecCategories" ToRole="Categories" />
<NavigationProperty Name="Products" Relationship="ShopDBModel.FK_Products_SecCategories" FromRole="SecCategories" ToRole="Products" />
</EntityType>
@@ -327,10 +339,20 @@
</Key>
<Property Name="id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="userID" Type="Int32" />
- <Property Name="description" Type="String" Nullable="false" MaxLength="Max" Unicode="false" FixedLength="false" />
+ <Property Name="description" Type="String" Nullable="false" MaxLength="Max" Unicode="true" FixedLength="false" />
<Property Name="date" Type="DateTime" Nullable="false" />
<NavigationProperty Name="User" Relationship="ShopDBModel.FK_Suggestions_Users" FromRole="Suggestions" ToRole="Users" />
</EntityType>
+ <EntityType Name="sysdiagram">
+ <Key>
+ <PropertyRef Name="diagram_id" />
+ </Key>
+ <Property Name="name" Type="String" Nullable="false" MaxLength="128" Unicode="true" FixedLength="false" />
+ <Property Name="principal_id" Type="Int32" Nullable="false" />
+ <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
+ <Property Name="version" Type="Int32" />
+ <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
+ </EntityType>
<EntityType Name="User">
<Key>
<PropertyRef Name="userID" />
@@ -357,9 +379,7 @@
</ReferentialConstraint>
</Association>
<Association Name="FK_DiscountInformation_Discounts">
- <End Role="Discounts" Type="ShopDBModel.Discount" Multiplicity="1" >
- <OnDelete Action="Cascade" />
- </End>
+ <End Role="Discounts" Type="ShopDBModel.Discount" Multiplicity="1" />
<End Role="DiscountItems" Type="ShopDBModel.DiscountItem" Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Discounts">
@@ -485,6 +505,13 @@
<ScalarProperty Name="description" ColumnName="description" />
<ScalarProperty Name="date" ColumnName="date" />
</MappingFragment></EntityTypeMapping></EntitySetMapping>
+ <EntitySetMapping Name="sysdiagrams"><EntityTypeMapping TypeName="ShopDBModel.sysdiagram"><MappingFragment StoreEntitySet="sysdiagrams">
+ <ScalarProperty Name="name" ColumnName="name" />
+ <ScalarProperty Name="principal_id" ColumnName="principal_id" />
+ <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
+ <ScalarProperty Name="version" ColumnName="version" />
+ <ScalarProperty Name="definition" ColumnName="definition" />
+ </MappingFragment></EntityTypeMapping></EntitySetMapping>
<EntitySetMapping Name="Users"><EntityTypeMapping TypeName="ShopDBModel.User"><MappingFragment StoreEntitySet="Users">
<ScalarProperty Name="userID" ColumnName="userID" />
<ScalarProperty Name="userName" ColumnName="userName" />
@@ -521,6 +548,7 @@
<EntityTypeShape EntityType="ShopDBModel.Review" Width="1.5" PointX="10.5" PointY="2.625" Height="2.5430916341145835" IsExpanded="true" />
<EntityTypeShape EntityType="ShopDBModel.SecCategory" Width="1.5" PointX="3" PointY="3" Height="1.9700325520833326" IsExpanded="true" />
<EntityTypeShape EntityType="ShopDBModel.Suggestion" Width="1.5" PointX="10.5" PointY="8" Height="1.9700325520833317" IsExpanded="true" />
+ <EntityTypeShape EntityType="ShopDBModel.sysdiagram" Width="1.5" PointX="0.75" PointY="5.75" Height="1.9700325520833317" IsExpanded="true" />
<EntityTypeShape EntityType="ShopDBModel.User" Width="1.5" PointX="8.25" PointY="7.625" Height="2.5430916341145817" IsExpanded="true" />
<AssociationConnector Association="ShopDBModel.FK_SecCategories_Categories" ManuallyRouted="false">
<ConnectorPoint PointX="2.25" PointY="3.9189965820312502" />
@@ -544,12 +572,10 @@
<ConnectorPoint PointX="6.75" PointY="2.65625" />
<ConnectorPoint PointX="10.5" PointY="2.65625" />
</AssociationConnector>
- <AssociationConnector Association="ShopDBModel.FK_Reviews_Users" ManuallyRouted="true">
+ <AssociationConnector Association="ShopDBModel.FK_Reviews_Users" ManuallyRouted="false">
<ConnectorPoint PointX="9.40625" PointY="7.625" />
- <ConnectorPoint PointX="9.40625" PointY="3.546875" />
- <ConnectorPoint PointX="10.1390625" PointY="3.546875" />
- <ConnectorPoint PointX="10.1390625" PointY="3.2125415632761531" />
- <ConnectorPoint PointX="10.5" PointY="3.2125415632761531" />
+ <ConnectorPoint PointX="9.40625" PointY="2.671875" />
+ <ConnectorPoint PointX="10.5" PointY="2.671875" />
</AssociationConnector>
<AssociationConnector Association="ShopDBModel.FK_Suggestions_Users" ManuallyRouted="false">
<ConnectorPoint PointX="9.75" PointY="8.9850162760416659" />
View
1  WebSite/WebSite/NFCShoppingWebSite.csproj
@@ -301,7 +301,6 @@
<LastGenOutput>ShopEntities.Designer.cs</LastGenOutput>
</EntityDeploy>
</ItemGroup>
- <ItemGroup />
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
<ProjectExtensions>
View
12 WebSite/WebSite/Web.config
@@ -10,26 +10,26 @@
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
- <add name="ShopEntities" connectionString="metadata=res://*/Access_Data.ShopEntities.csdl|res://*/Access_Data.ShopEntities.ssdl|res://*/Access_Data.ShopEntities.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ShopDB.mdf;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
- </connectionStrings>
+
+ <add name="ShopEntities" connectionString="metadata=res://*/Access_Data.ShopEntities.csdl|res://*/Access_Data.ShopEntities.ssdl|res://*/Access_Data.ShopEntities.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\ShopDB.mdf;Integrated Security=True;User Instance=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" /></connectionStrings>
<location path="ShopWebservice.asmx">
<system.web>
<authorization>
- <allow users= "? " />
+ <allow users="? " />
</authorization>
</system.web>
</location>
<location path="Images">
<system.web>
<authorization>
- <allow users= "? " />
+ <allow users="? " />
</authorization>
</system.web>
</location>
<system.web>
<authorization>
- <deny users="?"/>
+ <deny users="?" />
</authorization>
<httpHandlers>
<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
@@ -46,7 +46,7 @@
</assemblies>
</compilation>
<authentication mode="Forms">
- <forms loginUrl="~/Login.aspx" protection="All" timeout="2880" defaultUrl="Default.aspx" >
+ <forms loginUrl="~/Login.aspx" protection="All" timeout="2880" defaultUrl="Default.aspx">
</forms>
</authentication>
<membership>
View
10 WebSite/WebSite/WebPages/DiscountItemEdit.aspx
@@ -42,12 +42,10 @@
</asp:ObjectDataSource>
<asp:Label ID="TitleLabel" runat="server" Text="Label" Font-Bold="True" Font-Size="X-Large"
ForeColor="Black"></asp:Label>
- <asp:DetailsView ID="ProductDetailsView" runat="server" AutoGenerateRows="False"
+ <asp:DetailsView ID="ProductDetailsView" runat="server" AutoGenerateRows="false"
BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px"
- CellPadding="3" DataSourceID="ProductDataSource" GridLines="Horizontal" Height="52px"
+ DataSourceID="ProductDataSource" GridLines="Horizontal" Height="52px"
Width="482px">
- <AlternatingRowStyle BackColor="#F7F7F7" />
- <EditRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
<Fields>
<asp:BoundField DataField="productID" HeaderText="商品ID号" SortExpression="productID" />
<asp:BoundField DataField="barCode" HeaderText="商品条形码" SortExpression="barCode" />
@@ -58,9 +56,9 @@
<asp:BoundField DataField="description" HeaderText="商品描述" SortExpression="description" />
</Fields>
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
- <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
+ <HeaderStyle BackColor="#4A3C8C" ForeColor="#F7F7F7" HorizontalAlign="Center"/>
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
- <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
+ <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
</asp:DetailsView>
<br />
<asp:Label ID="Label2" runat="server" Text="请输入关键字"></asp:Label>
View
3  WebSite/WebSite/WebPages/ProductDetails.aspx
@@ -127,7 +127,8 @@
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="ReviewsDataSourse" runat="server" DataObjectTypeName="NFCShoppingWebSite.Access_Data.Review"
- DeleteMethod="DeleteReview" SelectMethod="GetReviewsByProductID" TypeName="NFCShoppingWebSite.BLL.ReviewBL">
+ DeleteMethod="DeleteReview" SelectMethod="GetReviewsByProductID"
+ TypeName="NFCShoppingWebSite.BLL.ReviewBL" InsertMethod="InsertReview">
<SelectParameters>
<asp:QueryStringParameter Name="pid" QueryStringField="productID" Type="Int32" />
</SelectParameters>
View
3  WebSite/WebSite/WebPages/Suggestions.aspx
@@ -11,7 +11,8 @@
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:ObjectDataSource ID="SuggestionDataSource" runat="server" DataObjectTypeName="NFCShoppingWebSite.Access_Data.Suggestion"
- DeleteMethod="DeleteSuggestion" SelectMethod="GetSuggestions" TypeName="NFCShoppingWebSite.BLL.SuggestionBL">
+ DeleteMethod="DeleteSuggestion" SelectMethod="GetSuggestions"
+ TypeName="NFCShoppingWebSite.BLL.SuggestionBL" InsertMethod="InsertSuggestion">
</asp:ObjectDataSource>
<asp:ScriptManager ID="ScriptManager" runat="server">
</asp:ScriptManager>
View
2  mobile phone client/NFCShopping/AndroidManifest.xml
@@ -4,7 +4,7 @@
android:versionCode="1"
android:versionName="1.0" >
- <uses-sdk android:minSdkVersion="15" />
+ <uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.INTERNET" />
Please sign in to comment.
Something went wrong with that request. Please try again.