mirror of
https://github.com/cq-panda/Vue.NetCore.git
synced 2026-10-20 08:18:02 +08:00
28 lines
795 B
HTML
28 lines
795 B
HTML
/*
|
||
*Author:jxx
|
||
*Contact:283591387@qq.com
|
||
*Date:2018-07-01
|
||
* 此代码由框架生成,请勿随意更改
|
||
*/
|
||
using {Namespace}.IRepositories;
|
||
using {Namespace}.IServices;
|
||
using {StartName}.Core.BaseProvider;
|
||
using {StartName}.Core.Extensions.AutofacManager;
|
||
using {StartName}.Entity.DomainModels;
|
||
|
||
namespace {Namespace}.Services
|
||
{
|
||
public partial class {TableName}Service : ServiceBase<{TableName}, I{TableName}Repository>, I{TableName}Service, IDependency
|
||
{
|
||
public {TableName}Service(I{TableName}Repository repository)
|
||
: base(repository)
|
||
{
|
||
Init(repository);
|
||
}
|
||
public static I{TableName}Service Instance
|
||
{
|
||
get { return AutofacContainerModule.GetService<I{TableName}Service>(); }
|
||
}
|
||
}
|
||
}
|