public TenantContextRepository( PersistContext dataContext, ICryptoService cryptoService) { _dataContext = dataContext; _cryptoService = cryptoService; }
public PayoutPersistRepository(PersistContext dataContext) { _persistContext = dataContext; }
public BaseRepository(PersistContext mySqlContext) { persistContext = mySqlContext; }
public RepositoryBase(PersistContext context) { this._context = context; this._dbSet = context.Set <T>(); }
protected override void LoadFrom(System.IO.BinaryReader reader, PersistContext context) { base.LoadFrom(reader, context); Duration = (Duration)context.Reader.ReadInt32(); }
protected override void SaveTo(System.IO.BinaryWriter writer, PersistContext context) { base.SaveTo(writer, context); context.Writer.Write((int)Duration); }
public InventoryPersistRepository(PersistContext dataContext) { _dataContext = dataContext; }