添加项目文件。
This commit is contained in:
1 parent
6a017c9547
commit
58abbb5b4f
86 files changed
+8729
No files matched your search
@@ -0,0 +1,27 @@
|
||||
using MAX.Core.DependencyInjection;
|
||||
using StoreHub.Framework.Repositorys;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StoreHub.KJDWebService.Services
|
||||
{
|
||||
public class DemoService : ITransientDependency
|
||||
{
|
||||
private readonly SqlRepository _sqlRepository;
|
||||
|
||||
public DemoService(SqlRepository sqlRepository)
|
||||
{
|
||||
_sqlRepository = sqlRepository;
|
||||
}
|
||||
public bool Test()
|
||||
{
|
||||
_sqlRepository.Ado.ExecuteDataTable("select * from user");
|
||||
return true;
|
||||
}
|
||||
public bool Test2()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user