message: Integrated with loadChild property of findOne, findwhere and findMany methods
diff: @@ -117,7 +117,7 @@ class SequelizeService implements IEntityService {
  cond[primaryKey] = objIds
  return this.getModel(repoPath).update(obj, { where: cond }).then(result=>{
  if(result[0]){
  - return this.findMany(repoPath, objIds);
  + return this.findMany(repoPath, objIds, false);
  }
  else{
  throw 'failed to update';
  @@ -143,7 +143,7 @@ class SequelizeService implements IEntityService {
  asyncalls.push(this.getModel(repoPath).update(obj, { where: cond }));
  });
  return Q.allSettled(asyncalls).then(result=>{
  - return this.findMany(repoPath, objArr.map(x=>x[primaryKey]));
  + return this.findMany(repoPath, objArr.map(x=>x[primaryKey]), false);
  });
  }
  @@ -165,7 +165,9 @@ class SequelizeService implements IEntityService {
  if(selectedFields && selectedFields.length>0){
  cond['attributes'] = selectedFields
  }
  + if(toLoadChilds){
  cond['include'] = this.getAllForeignKeyAssocations(schemaModel, selectedFields);
  + }
  return schemaModel.findAll(cond).then(result => {
  if (!result) return null;
  return result.map(x=>x.dataValues);
  @@ -193,13 +195,12 @@ class SequelizeService implements IEntityService {
  });
  }
  - findOne(repoPath: string, id): Q.Promise<any> {
  + findOne(repoPath: string, id, donotLoadChilds?: boolean): Q.Promise<any> {
  let schemaModel = this.getModel(repoPath);
  let primaryKey = schemaModel.primaryKeyAttribute;
  var cond = {};
  cond[primaryKey] = id;
  - var self = this;
  - let include = this.getAllForeignKeyAssocations(schemaModel, null);
  + let include = donotLoadChilds? [] : this.getAllForeignKeyAssocations(schemaModel, null);
  return schemaModel.find({ include: include, where: cond }).then(result => {
  return result.dataValues;
  });
  @@ -209,11 +210,11 @@ class SequelizeService implements IEntityService {
  return this.getModel(repoPath).find({ where: { fieldName: value } });
  }
  - findMany(repoPath: string, ids: Array<any>) {
  + findMany(repoPath: string, ids: Array<any>, toLoadEmbeddedChilds?: boolean) {
  let primaryKey = this.getModel(repoPath).primaryKeyAttribute;
  let cond = {};
  cond[primaryKey] = ids;
  - return this.findWhere(repoPath,cond);
  + return this.findWhere(repoPath,cond, [], null, toLoadEmbeddedChilds);
  }
  findChild(repoPath: string, id, prop): Q.Promise<any> {
  