EPAS.BusinessCore
2.1.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package EPAS.BusinessCore --version 2.1.5
NuGet\Install-Package EPAS.BusinessCore -Version 2.1.5
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.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EPAS.BusinessCore --version 2.1.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EPAS.BusinessCore, 2.1.5"
#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.5 // Install EPAS.BusinessCore as a Cake Tool #tool nuget:?package=EPAS.BusinessCore&version=2.1.5
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
- AutoMapper (>= 7.0.1)
- Dapper (>= 1.60.6)
- EPAS.ComponentCore (>= 2.0.4)
- EPAS.DapperExCore (>= 1.0.0)
- EPAS.DataEntityCore (>= 1.0.10)
- EPAS.DirectSQLPluginCore (>= 1.0.8)
- EPAS.EnumCore (>= 1.0.2)
- EPAS.InterfaceCore (>= 1.0.2)
- Jil (>= 2.17.0)
- Newtonsoft.Json (>= 12.0.2)
- NPOI (>= 2.4.1)
- RestSharp (>= 106.6.10)
- 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.