This commit is contained in:
sc authored and sc committed 2022-01-18 16:54:47 +08:00
commit 219cbf41f3
4 files changed
+34 -2

No files matched your search

+1
View File
@@ -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
View File
@@ -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();
}
}
}
+1 -1
View File
@@ -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”。当在设计器中打开该模型时,此属性会出现在
// “属性”窗口中。 // “属性”窗口中。
+1 -1
View File
@@ -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" />