if(typeof Message == "undefined") Message={}; if(typeof Message.Item == "undefined") Message.Item={}; Message.Item_class = function() {}; Object.extend(Message.Item_class.prototype, Object.extend(new AjaxPro.AjaxClass(), { Select: function(obj, orders) { return this.invoke("Select", {"obj":obj, "orders":orders}, this.Select.getArguments().slice(2)); }, Update: function(obj) { return this.invoke("Update", {"obj":obj}, this.Update.getArguments().slice(1)); }, Insert: function(obj) { return this.invoke("Insert", {"obj":obj}, this.Insert.getArguments().slice(1)); }, Delete: function(obj, checkBind) { return this.invoke("Delete", {"obj":obj, "checkBind":checkBind}, this.Delete.getArguments().slice(2)); }, url: '/ajaxpro/Message.Item,Message.Entity.ashx' })); Message.Item = new Message.Item_class();