Learn.VideoAnalysis/VideoAnalysisCore/Common/Repository.cs

20 lines
376 B
C#

using SqlSugar;
using SqlSugar.IOC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VideoAnalysisCore.Common
{
public class Repository<T> : SimpleClient<T> where T : class, new()
{
public Repository()
{
base.Context = DbScoped.SugarScope;
}
}
}