code: function (objData, resource) {
  
      if(Utils.isObject(objData)){
  
        if(objData instanceof Resource){
          this.resource = objData;
        } else {
          this.resource = resource;
          Utils.extend(this, objData, true);
        }
  
      }
    }
docs: ```js var prod = new EVT.Entity.Product({ foo: 'bar' }; // prod.update() // throws error app.product().create(prod); // create product ```