using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SqlSugar { public partial class FastestProvider : IFastest where T : class, new() { private string AsName { get; set; } private int Size { get; set; } private string CacheKey { get; set; } private string CacheKeyLike { get; set; } private string CharacterSet { get; set; } private bool IsDataAop { get; set; } private bool IsOffIdentity { get; set; } public IFastest SetCharacterSet(string CharacterSet) { this.CharacterSet = CharacterSet; return this; } public IFastest EnableDataAop() { this.IsDataAop = true; return this; } public IFastest RemoveDataCache() { CacheKey = typeof(T).FullName; return this; } public IFastest RemoveDataCache(string cacheKey) { CacheKeyLike = this.context.EntityMaintenance.GetTableName(); return this; } public IFastest AS(string tableName) { this.AsName = tableName; return this; } public IFastest PageSize(int size) { this.Size = size; return this; } public IFastest OffIdentity() { this.IsOffIdentity = true; return this; } public SplitFastest SplitTable() { SplitFastest result = new SplitFastest(); result.FastestProvider = this; return result; } } }