忱 沈 4 years ago
committed by sc
parent
commit
219cbf41f3
  1. 1
      Models/Models.csproj
  2. 31
      Models/ProductProvider.cs
  3. 2
      Models/SQL_Ti.Designer.cs
  4. 2
      Models/SQL_Ti.edmx.diagram

1
Models/Models.csproj

@ -210,6 +210,7 @@
<Compile Include="ProductInventory.cs"> <Compile Include="ProductInventory.cs">
<DependentUpon>SQL_Ti.tt</DependentUpon> <DependentUpon>SQL_Ti.tt</DependentUpon>
</Compile> </Compile>
<Compile Include="ProductProvider.cs" />
<Compile Include="ProductUsed.cs"> <Compile Include="ProductUsed.cs">
<DependentUpon>SQL_Ti.tt</DependentUpon> <DependentUpon>SQL_Ti.tt</DependentUpon>
</Compile> </Compile>

31
Models/ProductProvider.cs

@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Models
{
public class ProductProvider : IProvider<Product>
{
public int Delete(Product t)
{
throw new NotImplementedException();
}
public int Insert(Product t)
{
throw new NotImplementedException();
}
public List<Product> Select()
{
throw new NotImplementedException();
}
public int Update(Product t)
{
throw new NotImplementedException();
}
}
}

2
Models/SQL_Ti.Designer.cs

@ -1,4 +1,4 @@
// 为模型“C:\Users\24018\source\repos\Audit_APP\Models\SQL_Ti.edmx”启用了 T4 代码生成。 // 为模型“C:\Users\尚彩-沈忱\source\repos\Audit_APP\Models\SQL_Ti.edmx”启用了 T4 代码生成。
// 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值 // 要启用旧代码生成功能,请将“代码生成策略”设计器属性的值
// 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在 // 更改为“旧的 ObjectContext”。当在设计器中打开该模型时,此属性会出现在
// “属性”窗口中。 // “属性”窗口中。

2
Models/SQL_Ti.edmx.diagram

@ -4,7 +4,7 @@
<edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx"> <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
<!-- Diagram content (shape and connector positions) --> <!-- Diagram content (shape and connector positions) -->
<edmx:Diagrams> <edmx:Diagrams>
<Diagram DiagramId="89d520d3675442b5b0979c510546a2e9" Name="Diagram1"> <Diagram DiagramId="89d520d3675442b5b0979c510546a2e9" Name="Diagram1" ZoomLevel="70">
<EntityTypeShape EntityType="TicketModel.Product" Width="1.5" PointX="0.75" PointY="0.75" IsExpanded="true" /> <EntityTypeShape EntityType="TicketModel.Product" Width="1.5" PointX="0.75" PointY="0.75" IsExpanded="true" />
<EntityTypeShape EntityType="TicketModel.ProductInventory" Width="1.5" PointX="2.75" PointY="0.75" IsExpanded="true" /> <EntityTypeShape EntityType="TicketModel.ProductInventory" Width="1.5" PointX="2.75" PointY="0.75" IsExpanded="true" />
<EntityTypeShape EntityType="TicketModel.ProductUsed" Width="1.5" PointX="2.75" PointY="3.75" IsExpanded="true" /> <EntityTypeShape EntityType="TicketModel.ProductUsed" Width="1.5" PointX="2.75" PointY="3.75" IsExpanded="true" />

Loading…
Cancel
Save