Rainy.Db.DbEncryptedStorage.DbEncryptedStorage C# (CSharp) Method

DbEncryptedStorage() public method

public DbEncryptedStorage ( IDbConnectionFactory factory, DBUser user, string encryption_master_key, bool use_history = true ) : System
factory IDbConnectionFactory
user DBUser
encryption_master_key string
use_history bool
return System
        public DbEncryptedStorage(IDbConnectionFactory factory, DBUser user, string encryption_master_key,
		                           bool use_history = true)
            : base(factory, user.Username, user.Manifest, use_history)
        {
            this.User = user;

            if (encryption_master_key == null)
                throw new ArgumentNullException ("encryption_master_key");

            encryptionMasterKey = encryption_master_key;
        }