public TenantContextRepository(
     PersistContext dataContext,
     ICryptoService cryptoService)
 {
     _dataContext   = dataContext;
     _cryptoService = cryptoService;
 }
Example #2
0
 public PayoutPersistRepository(PersistContext dataContext)
 {
     _persistContext = dataContext;
 }
Example #3
0
 public BaseRepository(PersistContext mySqlContext)
 {
     persistContext = mySqlContext;
 }
 public RepositoryBase(PersistContext context)
 {
     this._context = context;
     this._dbSet   = context.Set <T>();
 }
Example #5
0
 protected override void LoadFrom(System.IO.BinaryReader reader, PersistContext context)
 {
     base.LoadFrom(reader, context);
     Duration = (Duration)context.Reader.ReadInt32();
 }
Example #6
0
 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;
 }