EPAS.BusinessCore 2.1.12

.NET Core 2.1
NuGet\Install-Package EPAS.BusinessCore -Version 2.1.12
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package EPAS.BusinessCore --version 2.1.12
<PackageReference Include="EPAS.BusinessCore" Version="2.1.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EPAS.BusinessCore --version 2.1.12
#r "nuget: EPAS.BusinessCore, 2.1.12"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EPAS.BusinessCore as a Cake Addin
#addin nuget:?package=EPAS.BusinessCore&version=2.1.12

// Install EPAS.BusinessCore as a Cake Tool
#tool nuget:?package=EPAS.BusinessCore&version=2.1.12

EPAS.BusinessCore.dll使用示例

初始化数据库

调用方法 new >SystemBusiness().InitDataBaseConnect(ConnectStr); 参数内容:ConnectStr="Data Source=127.0.0.1;Initial Catalog=XXX;User Id=sa;Password=****;"

如果是空数据库,则创建数据库中使用表

业务模块:

#1、BaseEntityFac 业务数据操作(查询、新建、编辑、删除)工厂类 #2、APSBusiness APS排程业务 #3、PurchaseOrderBusiness 采购业务(收货、报检、入库、上架) #4、ProductionOrderBusiness 生产订单相关业务 #5、ProductionExecutionBusiness 生产任务单相关业务(领料、投料、质量检验、报工、条码标签打印) #6、LableTemplateBusiness 条码标签模板管理 #7、SystemBusiness(可选) 系统业务 用户、角色、访问菜单权限

8、SAP ByDesin(开发中) 封装SAP数据接口

业务模块示例:

int orderStatus = (int)ProductionOrderStatus.Release;

        DateTime dt = BaseEntityFac.GetServerTime().AddDays(0-offsetday);

        object itemList = BaseEntityFac.GetEntityByField<ProductionOrder>(x => x.ProductionOrderStatus == orderStatus && x.ProductionOrderEndDate>=dt);
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.12 264 1/20/2021
2.1.11 370 3/13/2020
2.1.10 330 3/6/2020
2.1.9 306 3/6/2020
2.1.8 344 2/14/2020
2.1.7 329 12/23/2019
2.1.6 336 12/16/2019
2.1.5 350 11/22/2019
2.1.4 314 11/19/2019
2.1.3 339 11/12/2019
2.1.2 343 11/7/2019
2.1.1 345 11/1/2019