src/basis/entity.js
function getDelta(inserted, deleted){
    var delta = {};
    var result;

    if (inserted && inserted.length)
      result = delta.inserted = inserted;

    if (deleted && deleted.length)
      result = delta.deleted = deleted;

    if (result)
      return delta;
  }
function getDelta(inserted, deleted){
    var delta = {};
    var result;

    if (inserted && inserted.length)
      result = delta.inserted = inserted;

    if (deleted && deleted.length)
      result = delta.deleted = deleted;

    if (result)
      return delta;
  }
function getDelta ( inserted , deleted ) { var delta = { } ; var result ; if ( inserted && inserted . length ) result = delta . inserted = inserted ; if ( deleted && deleted . length ) result = delta . deleted = deleted ; if ( result ) return delta ; }
EntitySets  
Returns delta object
@return {object|undefined}
EntitySets Returns delta object