/// <summary>
 /// Initialize an instance of list proxy.
 /// </summary>
 /// <param name="prefix">The base prefix.</param>
 /// <param name="stub">The stub.</param>
 public ListProxy(
     string prefix,
     DynamicProxyStub stub)
 {
     this.prefix = prefix;
     this.stub   = stub;
 }
        public void Initialize()
        {
            this.db = new RedisDatabase();

            var typeRepo = new TypeRepository(new TypeMetadataGenerator(false));

            this.dbRecordBuilder = new DbRecordBuilder(typeRepo);
            this.stub            = new DynamicProxyStub(typeRepo, this.db, this.dbRecordBuilder);
        }