using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NFine.Repository { /// 通用的Repository工厂 /// /// public class RepositoryFactory where T : new() { /// /// 定义通用的Repository /// /// public IRepository Repository() { return new Repository(); } } }