EPAS.BusinessCore
2.1.12
dotnet add package EPAS.BusinessCore --version 2.1.12
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.
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EPAS.BusinessCore, 2.1.12"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- EPAS.ComponentCore (>= 2.0.9)
- EPAS.DataEntityCore (>= 1.0.15)
- EPAS.DirectSQLPluginCore (>= 1.0.11)
- EPAS.EnumCore (>= 1.0.4)
- EPAS.InterfaceCore (>= 1.0.4)
- System.Data.SqlClient (>= 4.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.