docs: function f_ihaleEkle(_es_ihale, _db_ihale, _kul_id) {
  
              _kul_id = _kul_id || _kullanici_id;
  
              return result.dbQ.incr(result.kp.ihale.idx)
                  .then(function (_id) {
                      _es_ihale.Id = _id;
                      _db_ihale.Id = _id;
  
                      return result.dbQ.Q.all([
                              result.dbQ.hset(result.kp.ihale.tablo, _db_ihale.Id, JSON.stringify(_db_ihale)),
                              result.dbQ.sadd(result.kp.ihale.ssetGenel, _db_ihale.Id),
                              result.dbQ.sadd(result.kp.ihale.ssetIhaleUsulAdlari, _db_ihale.IhaleUsul),
                              result.dbQ.sadd(result.kp.ihale.ssetGenel, _db_ihale.Id),
                              result.dbQ.hset(result.kp.ihale.hsetIhale_ihaleDunyasiId, _es_ihale.IhaleProviders.IhaleDunyasi.IhaleDunyasiId, _db_ihale.Id),
                              result.dbQ.zadd(result.kp.ihale.zsetYapilmaTarihi, _db_ihale.IhaleTarihi, _db_ihale.Id)
                          ])
                          .then(function () {
                              //şehir ekle
                              if (_db_ihale.IlAdi) {
                                  var db_sehir = require("./db_sehir");
                                  return db_sehir.f_db_sehir_ekle(/** @type {Sehir} */{Id: 0, Adi: _db_ihale.IlAdi});
                              } else {
                                  return _id;
                              }
                          })
                          .then(function () {
                              //bölge ekle
                              if (_db_ihale.BolgeAdi) {
                                  var db_bolge = require("./db_bolge");
                                  return db_bolge.f_db_bolge_ekle(/** @type {Bolge} */{Id: 0, Adi: _db_ihale.BolgeAdi});
                              } else {
                                  return _id;
                              }
                          })
                  });
          }