Click here to Skip to main content
15,891,033 members
Articles / Web Development / ASP.NET

Using Silverlight in Enterprise: RAD of User Friendly Database Access

Rate me:
Please Sign up or sign in to vote.
4.81/5 (19 votes)
31 Jul 2009CPOL8 min read 58.2K   7K   80  
This article introduces FulcrumWeb RAD Framework - A Silverlight UI Engine to build user friendly database driven applications
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:2.0.50727.3082
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

// 
// This code was auto-generated by Microsoft.Silverlight.ServiceReference, version 2.0.5.0
// 
namespace Framework.Silverlight.Client.AppServer {
    using System.Runtime.Serialization;
    
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientPortalMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientPortalMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.Generic.Dictionary<string, object> ApplicationValuesField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata> AssembliesField;
        
        private System.Collections.Generic.Dictionary<string, byte[]> AssembliesDataField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata> ClassesField;
        
        private Framework.Silverlight.Client.AppServer.CxClientEntityMarks ClientEntityMarksField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement> FramesField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata> ImagesField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata> SectionsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> StaticRowsourcesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ApplicationValues {
            get {
                return this.ApplicationValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ApplicationValuesField, value) != true)) {
                    this.ApplicationValuesField = value;
                    this.RaisePropertyChanged("ApplicationValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata> Assemblies {
            get {
                return this.AssembliesField;
            }
            set {
                if ((object.ReferenceEquals(this.AssembliesField, value) != true)) {
                    this.AssembliesField = value;
                    this.RaisePropertyChanged("Assemblies");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, byte[]> AssembliesData {
            get {
                return this.AssembliesDataField;
            }
            set {
                if ((object.ReferenceEquals(this.AssembliesDataField, value) != true)) {
                    this.AssembliesDataField = value;
                    this.RaisePropertyChanged("AssembliesData");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata> Classes {
            get {
                return this.ClassesField;
            }
            set {
                if ((object.ReferenceEquals(this.ClassesField, value) != true)) {
                    this.ClassesField = value;
                    this.RaisePropertyChanged("Classes");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxClientEntityMarks ClientEntityMarks {
            get {
                return this.ClientEntityMarksField;
            }
            set {
                if ((object.ReferenceEquals(this.ClientEntityMarksField, value) != true)) {
                    this.ClientEntityMarksField = value;
                    this.RaisePropertyChanged("ClientEntityMarks");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement> Frames {
            get {
                return this.FramesField;
            }
            set {
                if ((object.ReferenceEquals(this.FramesField, value) != true)) {
                    this.FramesField = value;
                    this.RaisePropertyChanged("Frames");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata> Images {
            get {
                return this.ImagesField;
            }
            set {
                if ((object.ReferenceEquals(this.ImagesField, value) != true)) {
                    this.ImagesField = value;
                    this.RaisePropertyChanged("Images");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata> Sections {
            get {
                return this.SectionsField;
            }
            set {
                if ((object.ReferenceEquals(this.SectionsField, value) != true)) {
                    this.SectionsField = value;
                    this.RaisePropertyChanged("Sections");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> StaticRowsources {
            get {
                return this.StaticRowsourcesField;
            }
            set {
                if ((object.ReferenceEquals(this.StaticRowsourcesField, value) != true)) {
                    this.StaticRowsourcesField = value;
                    this.RaisePropertyChanged("StaticRowsources");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientEntityMarks", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientEntityMarks : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AddedBookmarkItemsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AddedRecentItemsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AllBookmarkItemsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AllRecentItemsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> RemovedBookmarkItemsField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> RemovedRecentItemsField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AddedBookmarkItems {
            get {
                return this.AddedBookmarkItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.AddedBookmarkItemsField, value) != true)) {
                    this.AddedBookmarkItemsField = value;
                    this.RaisePropertyChanged("AddedBookmarkItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AddedRecentItems {
            get {
                return this.AddedRecentItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.AddedRecentItemsField, value) != true)) {
                    this.AddedRecentItemsField = value;
                    this.RaisePropertyChanged("AddedRecentItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AllBookmarkItems {
            get {
                return this.AllBookmarkItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.AllBookmarkItemsField, value) != true)) {
                    this.AllBookmarkItemsField = value;
                    this.RaisePropertyChanged("AllBookmarkItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> AllRecentItems {
            get {
                return this.AllRecentItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.AllRecentItemsField, value) != true)) {
                    this.AllRecentItemsField = value;
                    this.RaisePropertyChanged("AllRecentItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> RemovedBookmarkItems {
            get {
                return this.RemovedBookmarkItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.RemovedBookmarkItemsField, value) != true)) {
                    this.RemovedBookmarkItemsField = value;
                    this.RaisePropertyChanged("RemovedBookmarkItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark> RemovedRecentItems {
            get {
                return this.RemovedRecentItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.RemovedRecentItemsField, value) != true)) {
                    this.RemovedRecentItemsField = value;
                    this.RaisePropertyChanged("RemovedRecentItems");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxExceptionDetails", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxExceptionDetails : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string AsStringField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails InnerExceptionField;
        
        private string MessageField;
        
        private string StackTraceField;
        
        private string TypeField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string AsString {
            get {
                return this.AsStringField;
            }
            set {
                if ((object.ReferenceEquals(this.AsStringField, value) != true)) {
                    this.AsStringField = value;
                    this.RaisePropertyChanged("AsString");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails InnerException {
            get {
                return this.InnerExceptionField;
            }
            set {
                if ((object.ReferenceEquals(this.InnerExceptionField, value) != true)) {
                    this.InnerExceptionField = value;
                    this.RaisePropertyChanged("InnerException");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Message {
            get {
                return this.MessageField;
            }
            set {
                if ((object.ReferenceEquals(this.MessageField, value) != true)) {
                    this.MessageField = value;
                    this.RaisePropertyChanged("Message");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string StackTrace {
            get {
                return this.StackTraceField;
            }
            set {
                if ((object.ReferenceEquals(this.StackTraceField, value) != true)) {
                    this.StackTraceField = value;
                    this.RaisePropertyChanged("StackTrace");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Type {
            get {
                return this.TypeField;
            }
            set {
                if ((object.ReferenceEquals(this.TypeField, value) != true)) {
                    this.TypeField = value;
                    this.RaisePropertyChanged("Type");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientAssemblyMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientAssemblyMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string AssemblyNameField;
        
        private string FileNameField;
        
        private string IdField;
        
        private string NamespaceField;
        
        private string SlPluginPathField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string AssemblyName {
            get {
                return this.AssemblyNameField;
            }
            set {
                if ((object.ReferenceEquals(this.AssemblyNameField, value) != true)) {
                    this.AssemblyNameField = value;
                    this.RaisePropertyChanged("AssemblyName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FileName {
            get {
                return this.FileNameField;
            }
            set {
                if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
                    this.FileNameField = value;
                    this.RaisePropertyChanged("FileName");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Namespace {
            get {
                return this.NamespaceField;
            }
            set {
                if ((object.ReferenceEquals(this.NamespaceField, value) != true)) {
                    this.NamespaceField = value;
                    this.RaisePropertyChanged("Namespace");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SlPluginPath {
            get {
                return this.SlPluginPathField;
            }
            set {
                if ((object.ReferenceEquals(this.SlPluginPathField, value) != true)) {
                    this.SlPluginPathField = value;
                    this.RaisePropertyChanged("SlPluginPath");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientClassMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientClassMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string AssemblyIdField;
        
        private string IdField;
        
        private string NameField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string AssemblyId {
            get {
                return this.AssemblyIdField;
            }
            set {
                if ((object.ReferenceEquals(this.AssemblyIdField, value) != true)) {
                    this.AssemblyIdField = value;
                    this.RaisePropertyChanged("AssemblyId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxLayoutElement", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxLayoutElement : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement> ChildrenField;
        
        private int ColumnField;
        
        private int ColumnSpanField;
        
        private int ColumnsCountField;
        
        private string ColumnsWidthField;
        
        private string ControlClassIdField;
        
        private string EntityUsageIdField;
        
        private string FrameClassIdField;
        
        private string IdField;
        
        private int RowField;
        
        private int RowSpanField;
        
        private int RowsCountField;
        
        private string RowsHeightField;
        
        private bool ShowBorderField;
        
        private string TextField;
        
        private string TypeField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement> Children {
            get {
                return this.ChildrenField;
            }
            set {
                if ((object.ReferenceEquals(this.ChildrenField, value) != true)) {
                    this.ChildrenField = value;
                    this.RaisePropertyChanged("Children");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Column {
            get {
                return this.ColumnField;
            }
            set {
                if ((this.ColumnField.Equals(value) != true)) {
                    this.ColumnField = value;
                    this.RaisePropertyChanged("Column");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ColumnSpan {
            get {
                return this.ColumnSpanField;
            }
            set {
                if ((this.ColumnSpanField.Equals(value) != true)) {
                    this.ColumnSpanField = value;
                    this.RaisePropertyChanged("ColumnSpan");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ColumnsCount {
            get {
                return this.ColumnsCountField;
            }
            set {
                if ((this.ColumnsCountField.Equals(value) != true)) {
                    this.ColumnsCountField = value;
                    this.RaisePropertyChanged("ColumnsCount");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ColumnsWidth {
            get {
                return this.ColumnsWidthField;
            }
            set {
                if ((object.ReferenceEquals(this.ColumnsWidthField, value) != true)) {
                    this.ColumnsWidthField = value;
                    this.RaisePropertyChanged("ColumnsWidth");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ControlClassId {
            get {
                return this.ControlClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ControlClassIdField, value) != true)) {
                    this.ControlClassIdField = value;
                    this.RaisePropertyChanged("ControlClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FrameClassId {
            get {
                return this.FrameClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.FrameClassIdField, value) != true)) {
                    this.FrameClassIdField = value;
                    this.RaisePropertyChanged("FrameClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int Row {
            get {
                return this.RowField;
            }
            set {
                if ((this.RowField.Equals(value) != true)) {
                    this.RowField = value;
                    this.RaisePropertyChanged("Row");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int RowSpan {
            get {
                return this.RowSpanField;
            }
            set {
                if ((this.RowSpanField.Equals(value) != true)) {
                    this.RowSpanField = value;
                    this.RaisePropertyChanged("RowSpan");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int RowsCount {
            get {
                return this.RowsCountField;
            }
            set {
                if ((this.RowsCountField.Equals(value) != true)) {
                    this.RowsCountField = value;
                    this.RaisePropertyChanged("RowsCount");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RowsHeight {
            get {
                return this.RowsHeightField;
            }
            set {
                if ((object.ReferenceEquals(this.RowsHeightField, value) != true)) {
                    this.RowsHeightField = value;
                    this.RaisePropertyChanged("RowsHeight");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ShowBorder {
            get {
                return this.ShowBorderField;
            }
            set {
                if ((this.ShowBorderField.Equals(value) != true)) {
                    this.ShowBorderField = value;
                    this.RaisePropertyChanged("ShowBorder");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Type {
            get {
                return this.TypeField;
            }
            set {
                if ((object.ReferenceEquals(this.TypeField, value) != true)) {
                    this.TypeField = value;
                    this.RaisePropertyChanged("Type");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientImageMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientImageMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string IdField;
        
        private int ImageIndexField;
        
        private string ProviderClassIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ImageIndex {
            get {
                return this.ImageIndexField;
            }
            set {
                if ((this.ImageIndexField.Equals(value) != true)) {
                    this.ImageIndexField = value;
                    this.RaisePropertyChanged("ImageIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ProviderClassId {
            get {
                return this.ProviderClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ProviderClassIdField, value) != true)) {
                    this.ProviderClassIdField = value;
                    this.RaisePropertyChanged("ProviderClassId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientSectionMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientSectionMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private int DisplayOrderField;
        
        private string IdField;
        
        private string ImageIdField;
        
        private bool IsDefaultField;
        
        private string TextField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata> TreeItemsField;
        
        private string UiProviderClassIdField;
        
        private bool VisibleField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int DisplayOrder {
            get {
                return this.DisplayOrderField;
            }
            set {
                if ((this.DisplayOrderField.Equals(value) != true)) {
                    this.DisplayOrderField = value;
                    this.RaisePropertyChanged("DisplayOrder");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsDefault {
            get {
                return this.IsDefaultField;
            }
            set {
                if ((this.IsDefaultField.Equals(value) != true)) {
                    this.IsDefaultField = value;
                    this.RaisePropertyChanged("IsDefault");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata> TreeItems {
            get {
                return this.TreeItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.TreeItemsField, value) != true)) {
                    this.TreeItemsField = value;
                    this.RaisePropertyChanged("TreeItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string UiProviderClassId {
            get {
                return this.UiProviderClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.UiProviderClassIdField, value) != true)) {
                    this.UiProviderClassIdField = value;
                    this.RaisePropertyChanged("UiProviderClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Visible {
            get {
                return this.VisibleField;
            }
            set {
                if ((this.VisibleField.Equals(value) != true)) {
                    this.VisibleField = value;
                    this.RaisePropertyChanged("Visible");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientRowSource", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientRowSource : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.Generic.Dictionary<string, object> ApplicationValuesField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private bool IsFilteredRowSourceField;
        
        private string OwnerAttributeIdField;
        
        private System.Collections.Generic.Dictionary<string, object> OwnerEntityPksField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem> RowSourceDataField;
        
        private string RowSourceIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ApplicationValues {
            get {
                return this.ApplicationValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ApplicationValuesField, value) != true)) {
                    this.ApplicationValuesField = value;
                    this.RaisePropertyChanged("ApplicationValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsFilteredRowSource {
            get {
                return this.IsFilteredRowSourceField;
            }
            set {
                if ((this.IsFilteredRowSourceField.Equals(value) != true)) {
                    this.IsFilteredRowSourceField = value;
                    this.RaisePropertyChanged("IsFilteredRowSource");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string OwnerAttributeId {
            get {
                return this.OwnerAttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.OwnerAttributeIdField, value) != true)) {
                    this.OwnerAttributeIdField = value;
                    this.RaisePropertyChanged("OwnerAttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> OwnerEntityPks {
            get {
                return this.OwnerEntityPksField;
            }
            set {
                if ((object.ReferenceEquals(this.OwnerEntityPksField, value) != true)) {
                    this.OwnerEntityPksField = value;
                    this.RaisePropertyChanged("OwnerEntityPks");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem> RowSourceData {
            get {
                return this.RowSourceDataField;
            }
            set {
                if ((object.ReferenceEquals(this.RowSourceDataField, value) != true)) {
                    this.RowSourceDataField = value;
                    this.RaisePropertyChanged("RowSourceData");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RowSourceId {
            get {
                return this.RowSourceIdField;
            }
            set {
                if ((object.ReferenceEquals(this.RowSourceIdField, value) != true)) {
                    this.RowSourceIdField = value;
                    this.RaisePropertyChanged("RowSourceId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientEntityMark", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSourceItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxFilterItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
    public partial class CxClientEntityMark : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string EntityUsageIdField;
        
        private string ImageIdField;
        
        private string MarkTypeField;
        
        private string NameField;
        
        private string OpenModeField;
        
        private string PrimaryKeyTextField;
        
        private System.Collections.ObjectModel.ObservableCollection<object> PrimaryKeyValuesField;
        
        private string UniqueIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string MarkType {
            get {
                return this.MarkTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.MarkTypeField, value) != true)) {
                    this.MarkTypeField = value;
                    this.RaisePropertyChanged("MarkType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string OpenMode {
            get {
                return this.OpenModeField;
            }
            set {
                if ((object.ReferenceEquals(this.OpenModeField, value) != true)) {
                    this.OpenModeField = value;
                    this.RaisePropertyChanged("OpenMode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string PrimaryKeyText {
            get {
                return this.PrimaryKeyTextField;
            }
            set {
                if ((object.ReferenceEquals(this.PrimaryKeyTextField, value) != true)) {
                    this.PrimaryKeyTextField = value;
                    this.RaisePropertyChanged("PrimaryKeyText");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<object> PrimaryKeyValues {
            get {
                return this.PrimaryKeyValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.PrimaryKeyValuesField, value) != true)) {
                    this.PrimaryKeyValuesField = value;
                    this.RaisePropertyChanged("PrimaryKeyValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string UniqueId {
            get {
                return this.UniqueIdField;
            }
            set {
                if ((object.ReferenceEquals(this.UniqueIdField, value) != true)) {
                    this.UniqueIdField = value;
                    this.RaisePropertyChanged("UniqueId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientTreeItemMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientTreeItemMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string EntityMetadataIdField;
        
        private bool ExpandedField;
        
        private string FrameClassIdField;
        
        private string IdField;
        
        private string ImageIdField;
        
        private bool IsDefaultField;
        
        private string TextField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata> TreeItemsField;
        
        private string UiProviderClassIdField;
        
        private bool VisibleField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityMetadataId {
            get {
                return this.EntityMetadataIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityMetadataIdField, value) != true)) {
                    this.EntityMetadataIdField = value;
                    this.RaisePropertyChanged("EntityMetadataId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Expanded {
            get {
                return this.ExpandedField;
            }
            set {
                if ((this.ExpandedField.Equals(value) != true)) {
                    this.ExpandedField = value;
                    this.RaisePropertyChanged("Expanded");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FrameClassId {
            get {
                return this.FrameClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.FrameClassIdField, value) != true)) {
                    this.FrameClassIdField = value;
                    this.RaisePropertyChanged("FrameClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsDefault {
            get {
                return this.IsDefaultField;
            }
            set {
                if ((this.IsDefaultField.Equals(value) != true)) {
                    this.IsDefaultField = value;
                    this.RaisePropertyChanged("IsDefault");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata> TreeItems {
            get {
                return this.TreeItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.TreeItemsField, value) != true)) {
                    this.TreeItemsField = value;
                    this.RaisePropertyChanged("TreeItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string UiProviderClassId {
            get {
                return this.UiProviderClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.UiProviderClassIdField, value) != true)) {
                    this.UiProviderClassIdField = value;
                    this.RaisePropertyChanged("UiProviderClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Visible {
            get {
                return this.VisibleField;
            }
            set {
                if ((this.VisibleField.Equals(value) != true)) {
                    this.VisibleField = value;
                    this.RaisePropertyChanged("Visible");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientRowSourceItem", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMark))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxFilterItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
    public partial class CxClientRowSourceItem : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string ImageIdField;
        
        private string TextField;
        
        private object ValueField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object Value {
            get {
                return this.ValueField;
            }
            set {
                if ((object.ReferenceEquals(this.ValueField, value) != true)) {
                    this.ValueField = value;
                    this.RaisePropertyChanged("Value");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientEntityMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientEntityMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.Generic.Dictionary<string, object> ApplicationValuesField;
        
        private bool ApplyDefaultFilterField;
        
        private System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata> AttributesField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata> ChildEntitiesField;
        
        private string ClientClassIdField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata> CommandsField;
        
        private string EditControllerClassIdField;
        
        private string EditFrameIdField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> EditableAttributesField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> FilterableIdsField;
        
        private string FrameClassIdField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> GridOrderedAttributesField;
        
        private string IdField;
        
        private string ImageIdField;
        
        private bool IsFilterEnabledField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> JoinParamsNamesField;
        
        private string PluralCaptionField;
        
        private string SingleCaptionField;
        
        private bool SlFilterOnStartField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> WhereParamsNamesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ApplicationValues {
            get {
                return this.ApplicationValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ApplicationValuesField, value) != true)) {
                    this.ApplicationValuesField = value;
                    this.RaisePropertyChanged("ApplicationValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ApplyDefaultFilter {
            get {
                return this.ApplyDefaultFilterField;
            }
            set {
                if ((this.ApplyDefaultFilterField.Equals(value) != true)) {
                    this.ApplyDefaultFilterField = value;
                    this.RaisePropertyChanged("ApplyDefaultFilter");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata> Attributes {
            get {
                return this.AttributesField;
            }
            set {
                if ((object.ReferenceEquals(this.AttributesField, value) != true)) {
                    this.AttributesField = value;
                    this.RaisePropertyChanged("Attributes");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata> ChildEntities {
            get {
                return this.ChildEntitiesField;
            }
            set {
                if ((object.ReferenceEquals(this.ChildEntitiesField, value) != true)) {
                    this.ChildEntitiesField = value;
                    this.RaisePropertyChanged("ChildEntities");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ClientClassId {
            get {
                return this.ClientClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ClientClassIdField, value) != true)) {
                    this.ClientClassIdField = value;
                    this.RaisePropertyChanged("ClientClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata> Commands {
            get {
                return this.CommandsField;
            }
            set {
                if ((object.ReferenceEquals(this.CommandsField, value) != true)) {
                    this.CommandsField = value;
                    this.RaisePropertyChanged("Commands");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EditControllerClassId {
            get {
                return this.EditControllerClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EditControllerClassIdField, value) != true)) {
                    this.EditControllerClassIdField = value;
                    this.RaisePropertyChanged("EditControllerClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EditFrameId {
            get {
                return this.EditFrameIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EditFrameIdField, value) != true)) {
                    this.EditFrameIdField = value;
                    this.RaisePropertyChanged("EditFrameId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> EditableAttributes {
            get {
                return this.EditableAttributesField;
            }
            set {
                if ((object.ReferenceEquals(this.EditableAttributesField, value) != true)) {
                    this.EditableAttributesField = value;
                    this.RaisePropertyChanged("EditableAttributes");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> FilterableIds {
            get {
                return this.FilterableIdsField;
            }
            set {
                if ((object.ReferenceEquals(this.FilterableIdsField, value) != true)) {
                    this.FilterableIdsField = value;
                    this.RaisePropertyChanged("FilterableIds");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FrameClassId {
            get {
                return this.FrameClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.FrameClassIdField, value) != true)) {
                    this.FrameClassIdField = value;
                    this.RaisePropertyChanged("FrameClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> GridOrderedAttributes {
            get {
                return this.GridOrderedAttributesField;
            }
            set {
                if ((object.ReferenceEquals(this.GridOrderedAttributesField, value) != true)) {
                    this.GridOrderedAttributesField = value;
                    this.RaisePropertyChanged("GridOrderedAttributes");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsFilterEnabled {
            get {
                return this.IsFilterEnabledField;
            }
            set {
                if ((this.IsFilterEnabledField.Equals(value) != true)) {
                    this.IsFilterEnabledField = value;
                    this.RaisePropertyChanged("IsFilterEnabled");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> JoinParamsNames {
            get {
                return this.JoinParamsNamesField;
            }
            set {
                if ((object.ReferenceEquals(this.JoinParamsNamesField, value) != true)) {
                    this.JoinParamsNamesField = value;
                    this.RaisePropertyChanged("JoinParamsNames");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string PluralCaption {
            get {
                return this.PluralCaptionField;
            }
            set {
                if ((object.ReferenceEquals(this.PluralCaptionField, value) != true)) {
                    this.PluralCaptionField = value;
                    this.RaisePropertyChanged("PluralCaption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SingleCaption {
            get {
                return this.SingleCaptionField;
            }
            set {
                if ((object.ReferenceEquals(this.SingleCaptionField, value) != true)) {
                    this.SingleCaptionField = value;
                    this.RaisePropertyChanged("SingleCaption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool SlFilterOnStart {
            get {
                return this.SlFilterOnStartField;
            }
            set {
                if ((this.SlFilterOnStartField.Equals(value) != true)) {
                    this.SlFilterOnStartField = value;
                    this.RaisePropertyChanged("SlFilterOnStart");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> WhereParamsNames {
            get {
                return this.WhereParamsNamesField;
            }
            set {
                if ((object.ReferenceEquals(this.WhereParamsNamesField, value) != true)) {
                    this.WhereParamsNamesField = value;
                    this.RaisePropertyChanged("WhereParamsNames");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientAttributeMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMark))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSourceItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxFilterItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
    public partial class CxClientAttributeMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string BlobFileNameAttributeIdField;
        
        private string BlobFileSizeAttributeIdField;
        
        private string CaptionField;
        
        private int ControlHeightField;
        
        private string ControlModifiersField;
        
        private int ControlWidthField;
        
        private object DefaultField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> DependentAttributesIdsField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> DependentMandatoryAttributesIdsField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> DependentStateIdsField;
        
        private bool EditableField;
        
        private bool FilterAdvancedField;
        
        private string FilterDefault1Field;
        
        private string FilterDefault2Field;
        
        private string FilterDefaultOperationField;
        
        private bool FilterMandatoryField;
        
        private System.Collections.ObjectModel.ObservableCollection<string> FilterOperationsField;
        
        private bool FilterableField;
        
        private string FormCaptionField;
        
        private bool FormCaptionPartField;
        
        private int GridWidthField;
        
        private bool HasRowSourceFilterField;
        
        private string IdField;
        
        private bool IsPlacedOnNewLineField;
        
        private bool IsPlacedOnNewLineInFilterField;
        
        private int MaxLengthField;
        
        private decimal MaxValueField;
        
        private decimal MinValueField;
        
        private bool NullableField;
        
        private bool PrimaryKeyField;
        
        private bool ReadOnlyField;
        
        private string RowSourceIdField;
        
        private string SlControlField;
        
        private string TypeField;
        
        private bool VisibleField;
        
        private string СontrolPlacementField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string BlobFileNameAttributeId {
            get {
                return this.BlobFileNameAttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.BlobFileNameAttributeIdField, value) != true)) {
                    this.BlobFileNameAttributeIdField = value;
                    this.RaisePropertyChanged("BlobFileNameAttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string BlobFileSizeAttributeId {
            get {
                return this.BlobFileSizeAttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.BlobFileSizeAttributeIdField, value) != true)) {
                    this.BlobFileSizeAttributeIdField = value;
                    this.RaisePropertyChanged("BlobFileSizeAttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Caption {
            get {
                return this.CaptionField;
            }
            set {
                if ((object.ReferenceEquals(this.CaptionField, value) != true)) {
                    this.CaptionField = value;
                    this.RaisePropertyChanged("Caption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ControlHeight {
            get {
                return this.ControlHeightField;
            }
            set {
                if ((this.ControlHeightField.Equals(value) != true)) {
                    this.ControlHeightField = value;
                    this.RaisePropertyChanged("ControlHeight");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ControlModifiers {
            get {
                return this.ControlModifiersField;
            }
            set {
                if ((object.ReferenceEquals(this.ControlModifiersField, value) != true)) {
                    this.ControlModifiersField = value;
                    this.RaisePropertyChanged("ControlModifiers");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ControlWidth {
            get {
                return this.ControlWidthField;
            }
            set {
                if ((this.ControlWidthField.Equals(value) != true)) {
                    this.ControlWidthField = value;
                    this.RaisePropertyChanged("ControlWidth");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public object Default {
            get {
                return this.DefaultField;
            }
            set {
                if ((object.ReferenceEquals(this.DefaultField, value) != true)) {
                    this.DefaultField = value;
                    this.RaisePropertyChanged("Default");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> DependentAttributesIds {
            get {
                return this.DependentAttributesIdsField;
            }
            set {
                if ((object.ReferenceEquals(this.DependentAttributesIdsField, value) != true)) {
                    this.DependentAttributesIdsField = value;
                    this.RaisePropertyChanged("DependentAttributesIds");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> DependentMandatoryAttributesIds {
            get {
                return this.DependentMandatoryAttributesIdsField;
            }
            set {
                if ((object.ReferenceEquals(this.DependentMandatoryAttributesIdsField, value) != true)) {
                    this.DependentMandatoryAttributesIdsField = value;
                    this.RaisePropertyChanged("DependentMandatoryAttributesIds");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> DependentStateIds {
            get {
                return this.DependentStateIdsField;
            }
            set {
                if ((object.ReferenceEquals(this.DependentStateIdsField, value) != true)) {
                    this.DependentStateIdsField = value;
                    this.RaisePropertyChanged("DependentStateIds");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Editable {
            get {
                return this.EditableField;
            }
            set {
                if ((this.EditableField.Equals(value) != true)) {
                    this.EditableField = value;
                    this.RaisePropertyChanged("Editable");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool FilterAdvanced {
            get {
                return this.FilterAdvancedField;
            }
            set {
                if ((this.FilterAdvancedField.Equals(value) != true)) {
                    this.FilterAdvancedField = value;
                    this.RaisePropertyChanged("FilterAdvanced");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FilterDefault1 {
            get {
                return this.FilterDefault1Field;
            }
            set {
                if ((object.ReferenceEquals(this.FilterDefault1Field, value) != true)) {
                    this.FilterDefault1Field = value;
                    this.RaisePropertyChanged("FilterDefault1");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FilterDefault2 {
            get {
                return this.FilterDefault2Field;
            }
            set {
                if ((object.ReferenceEquals(this.FilterDefault2Field, value) != true)) {
                    this.FilterDefault2Field = value;
                    this.RaisePropertyChanged("FilterDefault2");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FilterDefaultOperation {
            get {
                return this.FilterDefaultOperationField;
            }
            set {
                if ((object.ReferenceEquals(this.FilterDefaultOperationField, value) != true)) {
                    this.FilterDefaultOperationField = value;
                    this.RaisePropertyChanged("FilterDefaultOperation");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool FilterMandatory {
            get {
                return this.FilterMandatoryField;
            }
            set {
                if ((this.FilterMandatoryField.Equals(value) != true)) {
                    this.FilterMandatoryField = value;
                    this.RaisePropertyChanged("FilterMandatory");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<string> FilterOperations {
            get {
                return this.FilterOperationsField;
            }
            set {
                if ((object.ReferenceEquals(this.FilterOperationsField, value) != true)) {
                    this.FilterOperationsField = value;
                    this.RaisePropertyChanged("FilterOperations");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Filterable {
            get {
                return this.FilterableField;
            }
            set {
                if ((this.FilterableField.Equals(value) != true)) {
                    this.FilterableField = value;
                    this.RaisePropertyChanged("Filterable");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string FormCaption {
            get {
                return this.FormCaptionField;
            }
            set {
                if ((object.ReferenceEquals(this.FormCaptionField, value) != true)) {
                    this.FormCaptionField = value;
                    this.RaisePropertyChanged("FormCaption");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool FormCaptionPart {
            get {
                return this.FormCaptionPartField;
            }
            set {
                if ((this.FormCaptionPartField.Equals(value) != true)) {
                    this.FormCaptionPartField = value;
                    this.RaisePropertyChanged("FormCaptionPart");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int GridWidth {
            get {
                return this.GridWidthField;
            }
            set {
                if ((this.GridWidthField.Equals(value) != true)) {
                    this.GridWidthField = value;
                    this.RaisePropertyChanged("GridWidth");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool HasRowSourceFilter {
            get {
                return this.HasRowSourceFilterField;
            }
            set {
                if ((this.HasRowSourceFilterField.Equals(value) != true)) {
                    this.HasRowSourceFilterField = value;
                    this.RaisePropertyChanged("HasRowSourceFilter");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsPlacedOnNewLine {
            get {
                return this.IsPlacedOnNewLineField;
            }
            set {
                if ((this.IsPlacedOnNewLineField.Equals(value) != true)) {
                    this.IsPlacedOnNewLineField = value;
                    this.RaisePropertyChanged("IsPlacedOnNewLine");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsPlacedOnNewLineInFilter {
            get {
                return this.IsPlacedOnNewLineInFilterField;
            }
            set {
                if ((this.IsPlacedOnNewLineInFilterField.Equals(value) != true)) {
                    this.IsPlacedOnNewLineInFilterField = value;
                    this.RaisePropertyChanged("IsPlacedOnNewLineInFilter");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int MaxLength {
            get {
                return this.MaxLengthField;
            }
            set {
                if ((this.MaxLengthField.Equals(value) != true)) {
                    this.MaxLengthField = value;
                    this.RaisePropertyChanged("MaxLength");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal MaxValue {
            get {
                return this.MaxValueField;
            }
            set {
                if ((this.MaxValueField.Equals(value) != true)) {
                    this.MaxValueField = value;
                    this.RaisePropertyChanged("MaxValue");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public decimal MinValue {
            get {
                return this.MinValueField;
            }
            set {
                if ((this.MinValueField.Equals(value) != true)) {
                    this.MinValueField = value;
                    this.RaisePropertyChanged("MinValue");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Nullable {
            get {
                return this.NullableField;
            }
            set {
                if ((this.NullableField.Equals(value) != true)) {
                    this.NullableField = value;
                    this.RaisePropertyChanged("Nullable");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool PrimaryKey {
            get {
                return this.PrimaryKeyField;
            }
            set {
                if ((this.PrimaryKeyField.Equals(value) != true)) {
                    this.PrimaryKeyField = value;
                    this.RaisePropertyChanged("PrimaryKey");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool ReadOnly {
            get {
                return this.ReadOnlyField;
            }
            set {
                if ((this.ReadOnlyField.Equals(value) != true)) {
                    this.ReadOnlyField = value;
                    this.RaisePropertyChanged("ReadOnly");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string RowSourceId {
            get {
                return this.RowSourceIdField;
            }
            set {
                if ((object.ReferenceEquals(this.RowSourceIdField, value) != true)) {
                    this.RowSourceIdField = value;
                    this.RaisePropertyChanged("RowSourceId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SlControl {
            get {
                return this.SlControlField;
            }
            set {
                if ((object.ReferenceEquals(this.SlControlField, value) != true)) {
                    this.SlControlField = value;
                    this.RaisePropertyChanged("SlControl");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Type {
            get {
                return this.TypeField;
            }
            set {
                if ((object.ReferenceEquals(this.TypeField, value) != true)) {
                    this.TypeField = value;
                    this.RaisePropertyChanged("Type");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Visible {
            get {
                return this.VisibleField;
            }
            set {
                if ((this.VisibleField.Equals(value) != true)) {
                    this.VisibleField = value;
                    this.RaisePropertyChanged("Visible");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string СontrolPlacement {
            get {
                return this.СontrolPlacementField;
            }
            set {
                if ((object.ReferenceEquals(this.СontrolPlacementField, value) != true)) {
                    this.СontrolPlacementField = value;
                    this.RaisePropertyChanged("СontrolPlacement");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxClientCommandMetadata", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxClientCommandMetadata : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string CommandTypeField;
        
        private string ConfirmationTextField;
        
        private string EntityUsageIdField;
        
        private bool HasServerHandlerField;
        
        private string IdField;
        
        private string ImageIdField;
        
        private bool IsEnabledField;
        
        private bool IsEntityInstanceRequiredField;
        
        private bool IsHandlerBatchField;
        
        private bool IsMultipleField;
        
        private string SlHandlerClassIdField;
        
        private string TextField;
        
        private bool VisibleField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string CommandType {
            get {
                return this.CommandTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.CommandTypeField, value) != true)) {
                    this.CommandTypeField = value;
                    this.RaisePropertyChanged("CommandType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ConfirmationText {
            get {
                return this.ConfirmationTextField;
            }
            set {
                if ((object.ReferenceEquals(this.ConfirmationTextField, value) != true)) {
                    this.ConfirmationTextField = value;
                    this.RaisePropertyChanged("ConfirmationText");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool HasServerHandler {
            get {
                return this.HasServerHandlerField;
            }
            set {
                if ((this.HasServerHandlerField.Equals(value) != true)) {
                    this.HasServerHandlerField = value;
                    this.RaisePropertyChanged("HasServerHandler");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Id {
            get {
                return this.IdField;
            }
            set {
                if ((object.ReferenceEquals(this.IdField, value) != true)) {
                    this.IdField = value;
                    this.RaisePropertyChanged("Id");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ImageId {
            get {
                return this.ImageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ImageIdField, value) != true)) {
                    this.ImageIdField = value;
                    this.RaisePropertyChanged("ImageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsEnabled {
            get {
                return this.IsEnabledField;
            }
            set {
                if ((this.IsEnabledField.Equals(value) != true)) {
                    this.IsEnabledField = value;
                    this.RaisePropertyChanged("IsEnabled");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsEntityInstanceRequired {
            get {
                return this.IsEntityInstanceRequiredField;
            }
            set {
                if ((this.IsEntityInstanceRequiredField.Equals(value) != true)) {
                    this.IsEntityInstanceRequiredField = value;
                    this.RaisePropertyChanged("IsEntityInstanceRequired");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsHandlerBatch {
            get {
                return this.IsHandlerBatchField;
            }
            set {
                if ((this.IsHandlerBatchField.Equals(value) != true)) {
                    this.IsHandlerBatchField = value;
                    this.RaisePropertyChanged("IsHandlerBatch");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsMultiple {
            get {
                return this.IsMultipleField;
            }
            set {
                if ((this.IsMultipleField.Equals(value) != true)) {
                    this.IsMultipleField = value;
                    this.RaisePropertyChanged("IsMultiple");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string SlHandlerClassId {
            get {
                return this.SlHandlerClassIdField;
            }
            set {
                if ((object.ReferenceEquals(this.SlHandlerClassIdField, value) != true)) {
                    this.SlHandlerClassIdField = value;
                    this.RaisePropertyChanged("SlHandlerClassId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Text {
            get {
                return this.TextField;
            }
            set {
                if ((object.ReferenceEquals(this.TextField, value) != true)) {
                    this.TextField = value;
                    this.RaisePropertyChanged("Text");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool Visible {
            get {
                return this.VisibleField;
            }
            set {
                if ((this.VisibleField.Equals(value) != true)) {
                    this.VisibleField = value;
                    this.RaisePropertyChanged("Visible");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxCommandParameters", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxCommandParameters : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string CommandIdField;
        
        private System.Collections.Generic.Dictionary<string, object> CurrentEntityField;
        
        private string EntityUsageIdField;
        
        private bool IsNewEntityField;
        
        private Framework.Silverlight.Client.AppServer.CxQueryParams QueryParamsField;
        
        private System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>> SelectedEntitiesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string CommandId {
            get {
                return this.CommandIdField;
            }
            set {
                if ((object.ReferenceEquals(this.CommandIdField, value) != true)) {
                    this.CommandIdField = value;
                    this.RaisePropertyChanged("CommandId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> CurrentEntity {
            get {
                return this.CurrentEntityField;
            }
            set {
                if ((object.ReferenceEquals(this.CurrentEntityField, value) != true)) {
                    this.CurrentEntityField = value;
                    this.RaisePropertyChanged("CurrentEntity");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsNewEntity {
            get {
                return this.IsNewEntityField;
            }
            set {
                if ((this.IsNewEntityField.Equals(value) != true)) {
                    this.IsNewEntityField = value;
                    this.RaisePropertyChanged("IsNewEntity");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxQueryParams QueryParams {
            get {
                return this.QueryParamsField;
            }
            set {
                if ((object.ReferenceEquals(this.QueryParamsField, value) != true)) {
                    this.QueryParamsField = value;
                    this.RaisePropertyChanged("QueryParams");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>> SelectedEntities {
            get {
                return this.SelectedEntitiesField;
            }
            set {
                if ((object.ReferenceEquals(this.SelectedEntitiesField, value) != true)) {
                    this.SelectedEntitiesField = value;
                    this.RaisePropertyChanged("SelectedEntities");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxQueryParams", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxQueryParams : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string ChangedAttributeIdField;
        
        private string EntityUsageIdField;
        
        private System.Collections.Generic.Dictionary<string, object> EntityValuesField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem> FilterItemsField;
        
        private System.Collections.Generic.Dictionary<string, object> JoinValuesField;
        
        private string OpenModeField;
        
        private string ParentEntityUsageIdField;
        
        private System.Collections.Generic.Dictionary<string, object> ParentPksField;
        
        private System.Collections.Generic.Dictionary<string, object> PrimaryKeysValuesField;
        
        private string QueryTypeField;
        
        private int RecordsAmountField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription> SortDescriptionsField;
        
        private int StartRecordIndexField;
        
        private System.Collections.Generic.Dictionary<string, object> WhereValuesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ChangedAttributeId {
            get {
                return this.ChangedAttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ChangedAttributeIdField, value) != true)) {
                    this.ChangedAttributeIdField = value;
                    this.RaisePropertyChanged("ChangedAttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> EntityValues {
            get {
                return this.EntityValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityValuesField, value) != true)) {
                    this.EntityValuesField = value;
                    this.RaisePropertyChanged("EntityValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem> FilterItems {
            get {
                return this.FilterItemsField;
            }
            set {
                if ((object.ReferenceEquals(this.FilterItemsField, value) != true)) {
                    this.FilterItemsField = value;
                    this.RaisePropertyChanged("FilterItems");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> JoinValues {
            get {
                return this.JoinValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.JoinValuesField, value) != true)) {
                    this.JoinValuesField = value;
                    this.RaisePropertyChanged("JoinValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string OpenMode {
            get {
                return this.OpenModeField;
            }
            set {
                if ((object.ReferenceEquals(this.OpenModeField, value) != true)) {
                    this.OpenModeField = value;
                    this.RaisePropertyChanged("OpenMode");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string ParentEntityUsageId {
            get {
                return this.ParentEntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.ParentEntityUsageIdField, value) != true)) {
                    this.ParentEntityUsageIdField = value;
                    this.RaisePropertyChanged("ParentEntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ParentPks {
            get {
                return this.ParentPksField;
            }
            set {
                if ((object.ReferenceEquals(this.ParentPksField, value) != true)) {
                    this.ParentPksField = value;
                    this.RaisePropertyChanged("ParentPks");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> PrimaryKeysValues {
            get {
                return this.PrimaryKeysValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.PrimaryKeysValuesField, value) != true)) {
                    this.PrimaryKeysValuesField = value;
                    this.RaisePropertyChanged("PrimaryKeysValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string QueryType {
            get {
                return this.QueryTypeField;
            }
            set {
                if ((object.ReferenceEquals(this.QueryTypeField, value) != true)) {
                    this.QueryTypeField = value;
                    this.RaisePropertyChanged("QueryType");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int RecordsAmount {
            get {
                return this.RecordsAmountField;
            }
            set {
                if ((this.RecordsAmountField.Equals(value) != true)) {
                    this.RecordsAmountField = value;
                    this.RaisePropertyChanged("RecordsAmount");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription> SortDescriptions {
            get {
                return this.SortDescriptionsField;
            }
            set {
                if ((object.ReferenceEquals(this.SortDescriptionsField, value) != true)) {
                    this.SortDescriptionsField = value;
                    this.RaisePropertyChanged("SortDescriptions");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int StartRecordIndex {
            get {
                return this.StartRecordIndexField;
            }
            set {
                if ((this.StartRecordIndexField.Equals(value) != true)) {
                    this.StartRecordIndexField = value;
                    this.RaisePropertyChanged("StartRecordIndex");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> WhereValues {
            get {
                return this.WhereValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.WhereValuesField, value) != true)) {
                    this.WhereValuesField = value;
                    this.RaisePropertyChanged("WhereValues");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxFilterItem", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMark))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSourceItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxModel))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
    public partial class CxFilterItem : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string NameField;
        
        private string OperationAsStringField;
        
        private System.Collections.ObjectModel.ObservableCollection<object> ValuesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string Name {
            get {
                return this.NameField;
            }
            set {
                if ((object.ReferenceEquals(this.NameField, value) != true)) {
                    this.NameField = value;
                    this.RaisePropertyChanged("Name");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string OperationAsString {
            get {
                return this.OperationAsStringField;
            }
            set {
                if ((object.ReferenceEquals(this.OperationAsStringField, value) != true)) {
                    this.OperationAsStringField = value;
                    this.RaisePropertyChanged("OperationAsString");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<object> Values {
            get {
                return this.ValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ValuesField, value) != true)) {
                    this.ValuesField = value;
                    this.RaisePropertyChanged("Values");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxSortDescription", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxSortDescription : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string AttributeIdField;
        
        private Framework.Silverlight.Client.AppServer.NxListSortDirection DirectionField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string AttributeId {
            get {
                return this.AttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.AttributeIdField, value) != true)) {
                    this.AttributeIdField = value;
                    this.RaisePropertyChanged("AttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.NxListSortDirection Direction {
            get {
                return this.DirectionField;
            }
            set {
                if ((this.DirectionField.Equals(value) != true)) {
                    this.DirectionField = value;
                    this.RaisePropertyChanged("Direction");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="NxListSortDirection", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public enum NxListSortDirection : int {
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        None = 0,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Ascending = 1,
        
        [System.Runtime.Serialization.EnumMemberAttribute()]
        Descending = 2,
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxModel", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMark))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSourceItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxFilterItem))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
    [System.Runtime.Serialization.KnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
    public partial class CxModel : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.Generic.Dictionary<string, object> ApplicationValuesField;
        
        private System.Collections.ObjectModel.ObservableCollection<object> DataField;
        
        private Framework.Silverlight.Client.AppServer.CxClientEntityMarks EntityMarksField;
        
        private string EntityUsageIdField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> FilteredRowSourcesField;
        
        private bool IsNewEntityField;
        
        private System.Guid MarkerField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription> SortDescriptionsField;
        
        private int TotalDataRecordAmountField;
        
        private System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource> UnfilteredRowSourcesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, object> ApplicationValues {
            get {
                return this.ApplicationValuesField;
            }
            set {
                if ((object.ReferenceEquals(this.ApplicationValuesField, value) != true)) {
                    this.ApplicationValuesField = value;
                    this.RaisePropertyChanged("ApplicationValues");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<object> Data {
            get {
                return this.DataField;
            }
            set {
                if ((object.ReferenceEquals(this.DataField, value) != true)) {
                    this.DataField = value;
                    this.RaisePropertyChanged("Data");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxClientEntityMarks EntityMarks {
            get {
                return this.EntityMarksField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityMarksField, value) != true)) {
                    this.EntityMarksField = value;
                    this.RaisePropertyChanged("EntityMarks");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> FilteredRowSources {
            get {
                return this.FilteredRowSourcesField;
            }
            set {
                if ((object.ReferenceEquals(this.FilteredRowSourcesField, value) != true)) {
                    this.FilteredRowSourcesField = value;
                    this.RaisePropertyChanged("FilteredRowSources");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public bool IsNewEntity {
            get {
                return this.IsNewEntityField;
            }
            set {
                if ((this.IsNewEntityField.Equals(value) != true)) {
                    this.IsNewEntityField = value;
                    this.RaisePropertyChanged("IsNewEntity");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Guid Marker {
            get {
                return this.MarkerField;
            }
            set {
                if ((this.MarkerField.Equals(value) != true)) {
                    this.MarkerField = value;
                    this.RaisePropertyChanged("Marker");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription> SortDescriptions {
            get {
                return this.SortDescriptionsField;
            }
            set {
                if ((object.ReferenceEquals(this.SortDescriptionsField, value) != true)) {
                    this.SortDescriptionsField = value;
                    this.RaisePropertyChanged("SortDescriptions");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int TotalDataRecordAmount {
            get {
                return this.TotalDataRecordAmountField;
            }
            set {
                if ((this.TotalDataRecordAmountField.Equals(value) != true)) {
                    this.TotalDataRecordAmountField = value;
                    this.RaisePropertyChanged("TotalDataRecordAmount");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource> UnfilteredRowSources {
            get {
                return this.UnfilteredRowSourcesField;
            }
            set {
                if ((object.ReferenceEquals(this.UnfilteredRowSourcesField, value) != true)) {
                    this.UnfilteredRowSourcesField = value;
                    this.RaisePropertyChanged("UnfilteredRowSources");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxAssemblyContainer", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxAssemblyContainer : object, System.ComponentModel.INotifyPropertyChanged {
        
        private byte[] AssemblyField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public byte[] Assembly {
            get {
                return this.AssemblyField;
            }
            set {
                if ((object.ReferenceEquals(this.AssemblyField, value) != true)) {
                    this.AssemblyField = value;
                    this.RaisePropertyChanged("Assembly");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxExpressionResult", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxExpressionResult : object, System.ComponentModel.INotifyPropertyChanged {
        
        private System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object> EntityField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> FilteredRowSourcesField;
        
        private System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource> UnfilteredRowSourcesField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object> Entity {
            get {
                return this.EntityField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityField, value) != true)) {
                    this.EntityField = value;
                    this.RaisePropertyChanged("Entity");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource> FilteredRowSources {
            get {
                return this.FilteredRowSourcesField;
            }
            set {
                if ((object.ReferenceEquals(this.FilteredRowSourcesField, value) != true)) {
                    this.FilteredRowSourcesField = value;
                    this.RaisePropertyChanged("FilteredRowSources");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource> UnfilteredRowSources {
            get {
                return this.UnfilteredRowSourcesField;
            }
            set {
                if ((object.ReferenceEquals(this.UnfilteredRowSourcesField, value) != true)) {
                    this.UnfilteredRowSourcesField = value;
                    this.RaisePropertyChanged("UnfilteredRowSources");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxUploadData", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxUploadData : object, System.ComponentModel.INotifyPropertyChanged {
        
        private int ChunkNumberField;
        
        private byte[] DataField;
        
        private System.Guid UploadIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ChunkNumber {
            get {
                return this.ChunkNumberField;
            }
            set {
                if ((this.ChunkNumberField.Equals(value) != true)) {
                    this.ChunkNumberField = value;
                    this.RaisePropertyChanged("ChunkNumber");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public byte[] Data {
            get {
                return this.DataField;
            }
            set {
                if ((object.ReferenceEquals(this.DataField, value) != true)) {
                    this.DataField = value;
                    this.RaisePropertyChanged("Data");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Guid UploadId {
            get {
                return this.UploadIdField;
            }
            set {
                if ((this.UploadIdField.Equals(value) != true)) {
                    this.UploadIdField = value;
                    this.RaisePropertyChanged("UploadId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxUploadParams", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxUploadParams : object, System.ComponentModel.INotifyPropertyChanged {
        
        private string AttributeIdField;
        
        private int ChunkSizeField;
        
        private string EntityUsageIdField;
        
        private long FileLenghtField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string AttributeId {
            get {
                return this.AttributeIdField;
            }
            set {
                if ((object.ReferenceEquals(this.AttributeIdField, value) != true)) {
                    this.AttributeIdField = value;
                    this.RaisePropertyChanged("AttributeId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ChunkSize {
            get {
                return this.ChunkSizeField;
            }
            set {
                if ((this.ChunkSizeField.Equals(value) != true)) {
                    this.ChunkSizeField = value;
                    this.RaisePropertyChanged("ChunkSize");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public string EntityUsageId {
            get {
                return this.EntityUsageIdField;
            }
            set {
                if ((object.ReferenceEquals(this.EntityUsageIdField, value) != true)) {
                    this.EntityUsageIdField = value;
                    this.RaisePropertyChanged("EntityUsageId");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public long FileLenght {
            get {
                return this.FileLenghtField;
            }
            set {
                if ((this.FileLenghtField.Equals(value) != true)) {
                    this.FileLenghtField = value;
                    this.RaisePropertyChanged("FileLenght");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxUploadResponse", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxUploadResponse : object, System.ComponentModel.INotifyPropertyChanged {
        
        private byte[] CheckSumField;
        
        private int ChunkNumberField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails UploadErrorField;
        
        private System.Guid UploadIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public byte[] CheckSum {
            get {
                return this.CheckSumField;
            }
            set {
                if ((object.ReferenceEquals(this.CheckSumField, value) != true)) {
                    this.CheckSumField = value;
                    this.RaisePropertyChanged("CheckSum");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public int ChunkNumber {
            get {
                return this.ChunkNumberField;
            }
            set {
                if ((this.ChunkNumberField.Equals(value) != true)) {
                    this.ChunkNumberField = value;
                    this.RaisePropertyChanged("ChunkNumber");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails UploadError {
            get {
                return this.UploadErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.UploadErrorField, value) != true)) {
                    this.UploadErrorField = value;
                    this.RaisePropertyChanged("UploadError");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Guid UploadId {
            get {
                return this.UploadIdField;
            }
            set {
                if ((this.UploadIdField.Equals(value) != true)) {
                    this.UploadIdField = value;
                    this.RaisePropertyChanged("UploadId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "3.0.0.0")]
    [System.Runtime.Serialization.DataContractAttribute(Name="CxExportToCsvInfo", Namespace="http://schemas.datacontract.org/2004/07/Framework.Remote")]
    public partial class CxExportToCsvInfo : object, System.ComponentModel.INotifyPropertyChanged {
        
        private Framework.Silverlight.Client.AppServer.CxExceptionDetails ErrorField;
        
        private System.Guid StreamIdField;
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public Framework.Silverlight.Client.AppServer.CxExceptionDetails Error {
            get {
                return this.ErrorField;
            }
            set {
                if ((object.ReferenceEquals(this.ErrorField, value) != true)) {
                    this.ErrorField = value;
                    this.RaisePropertyChanged("Error");
                }
            }
        }
        
        [System.Runtime.Serialization.DataMemberAttribute()]
        public System.Guid StreamId {
            get {
                return this.StreamIdField;
            }
            set {
                if ((this.StreamIdField.Equals(value) != true)) {
                    this.StreamIdField = value;
                    this.RaisePropertyChanged("StreamId");
                }
            }
        }
        
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
        
        protected void RaisePropertyChanged(string propertyName) {
            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if ((propertyChanged != null)) {
                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
            }
        }
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="AppServer.IxAppServer")]
    public interface IxAppServer {
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetPortalMetadata", ReplyAction="http://tempuri.org/IxAppServer/GetPortalMetadataResponse")]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientPortalMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAssemblyMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientClassMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientClassMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMarks))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMark>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMark))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExceptionDetails))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxLayoutElement>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxLayoutElement))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientImageMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientImageMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientSectionMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientSectionMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientTreeItemMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSource))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientRowSourceItem>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientRowSourceItem))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientEntityMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientEntityMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxClientCommandMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxClientCommandMetadata))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxCommandParameters))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxQueryParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxFilterItem>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxFilterItem))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<Framework.Silverlight.Client.AppServer.CxSortDescription>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxSortDescription))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.NxListSortDirection))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxModel))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxAssemblyContainer))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExpressionResult))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadData))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadParams))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxUploadResponse))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(Framework.Silverlight.Client.AppServer.CxExportToCsvInfo))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, byte[]>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<object>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<string>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.ObjectModel.ObservableCollection<System.Collections.Generic.Dictionary<string, object>>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<string, Framework.Silverlight.Client.AppServer.CxClientRowSource>))]
        [System.ServiceModel.ServiceKnownTypeAttribute(typeof(System.Collections.Generic.Dictionary<Framework.Silverlight.Client.AppServer.CxClientAttributeMetadata, object>))]
        System.IAsyncResult BeginGetPortalMetadata(object workspaceId, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxClientPortalMetadata EndGetPortalMetadata(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetEntityMetadata", ReplyAction="http://tempuri.org/IxAppServer/GetEntityMetadataResponse")]
        System.IAsyncResult BeginGetEntityMetadata(string entityUsageId, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxClientEntityMetadata EndGetEntityMetadata(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/ExecuteCommand", ReplyAction="http://tempuri.org/IxAppServer/ExecuteCommandResponse")]
        System.IAsyncResult BeginExecuteCommand(System.Guid marker, Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndExecuteCommand(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetEntityList", ReplyAction="http://tempuri.org/IxAppServer/GetEntityListResponse")]
        System.IAsyncResult BeginGetEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndGetEntityList(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetChildEntityList", ReplyAction="http://tempuri.org/IxAppServer/GetChildEntityListResponse")]
        System.IAsyncResult BeginGetChildEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndGetChildEntityList(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetEntityFromPk", ReplyAction="http://tempuri.org/IxAppServer/GetEntityFromPkResponse")]
        System.IAsyncResult BeginGetEntityFromPk(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndGetEntityFromPk(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetFilterFormRowSources", ReplyAction="http://tempuri.org/IxAppServer/GetFilterFormRowSourcesResponse")]
        System.IAsyncResult BeginGetFilterFormRowSources(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndGetFilterFormRowSources(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetRowSource", ReplyAction="http://tempuri.org/IxAppServer/GetRowSourceResponse")]
        System.IAsyncResult BeginGetRowSource(string attributeId, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxClientRowSource EndGetRowSource(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/Logout", ReplyAction="http://tempuri.org/IxAppServer/LogoutResponse")]
        System.IAsyncResult BeginLogout(System.Guid marker, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndLogout(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/GetAssembly", ReplyAction="http://tempuri.org/IxAppServer/GetAssemblyResponse")]
        System.IAsyncResult BeginGetAssembly(string id, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxAssemblyContainer EndGetAssembly(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/CalculateExpressions", ReplyAction="http://tempuri.org/IxAppServer/CalculateExpressionsResponse")]
        System.IAsyncResult BeginCalculateExpressions(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxExpressionResult EndCalculateExpressions(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/Upload", ReplyAction="http://tempuri.org/IxAppServer/UploadResponse")]
        System.IAsyncResult BeginUpload(Framework.Silverlight.Client.AppServer.CxUploadData uploadData, Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxUploadResponse EndUpload(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/Ping", ReplyAction="http://tempuri.org/IxAppServer/PingResponse")]
        System.IAsyncResult BeginPing(System.AsyncCallback callback, object asyncState);
        
        int EndPing(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/ExportToCsv", ReplyAction="http://tempuri.org/IxAppServer/ExportToCsvResponse")]
        System.IAsyncResult BeginExportToCsv(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxExportToCsvInfo EndExportToCsv(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/AddToBookmarks", ReplyAction="http://tempuri.org/IxAppServer/AddToBookmarksResponse")]
        System.IAsyncResult BeginAddToBookmarks(string entityUsageId, System.Collections.Generic.Dictionary<string, object> pkValues, string openMode, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndAddToBookmarks(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/RemoveAllBookmarks", ReplyAction="http://tempuri.org/IxAppServer/RemoveAllBookmarksResponse")]
        System.IAsyncResult BeginRemoveAllBookmarks(System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndRemoveAllBookmarks(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/RemoveBookmark", ReplyAction="http://tempuri.org/IxAppServer/RemoveBookmarkResponse")]
        System.IAsyncResult BeginRemoveBookmark(string uniqueId, System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndRemoveBookmark(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/ClearHistory", ReplyAction="http://tempuri.org/IxAppServer/ClearHistoryResponse")]
        System.IAsyncResult BeginClearHistory(System.AsyncCallback callback, object asyncState);
        
        Framework.Silverlight.Client.AppServer.CxModel EndClearHistory(System.IAsyncResult result);
        
        [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://tempuri.org/IxAppServer/F1", ReplyAction="http://tempuri.org/IxAppServer/F1Response")]
        System.IAsyncResult BeginF1(string p1, System.AsyncCallback callback, object asyncState);
        
        string EndF1(System.IAsyncResult result);
    }
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public interface IxAppServerChannel : Framework.Silverlight.Client.AppServer.IxAppServer, System.ServiceModel.IClientChannel {
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetPortalMetadataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetPortalMetadataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxClientPortalMetadata Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxClientPortalMetadata)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetEntityMetadataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetEntityMetadataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxClientEntityMetadata Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxClientEntityMetadata)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class ExecuteCommandCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ExecuteCommandCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetEntityListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetEntityListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetChildEntityListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetChildEntityListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetEntityFromPkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetEntityFromPkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetFilterFormRowSourcesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetFilterFormRowSourcesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetRowSourceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetRowSourceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxClientRowSource Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxClientRowSource)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class GetAssemblyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public GetAssemblyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxAssemblyContainer Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxAssemblyContainer)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class CalculateExpressionsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public CalculateExpressionsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxExpressionResult Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxExpressionResult)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class UploadCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public UploadCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxUploadResponse Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxUploadResponse)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class PingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public PingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public int Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class ExportToCsvCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ExportToCsvCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxExportToCsvInfo Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxExportToCsvInfo)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class AddToBookmarksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public AddToBookmarksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class RemoveAllBookmarksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public RemoveAllBookmarksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class RemoveBookmarkCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public RemoveBookmarkCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class ClearHistoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public ClearHistoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public Framework.Silverlight.Client.AppServer.CxModel Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((Framework.Silverlight.Client.AppServer.CxModel)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class F1CompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        public F1CompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        public string Result {
            get {
                base.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class IxAppServerClient : System.ServiceModel.ClientBase<Framework.Silverlight.Client.AppServer.IxAppServer>, Framework.Silverlight.Client.AppServer.IxAppServer {
        
        private BeginOperationDelegate onBeginGetPortalMetadataDelegate;
        
        private EndOperationDelegate onEndGetPortalMetadataDelegate;
        
        private System.Threading.SendOrPostCallback onGetPortalMetadataCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetEntityMetadataDelegate;
        
        private EndOperationDelegate onEndGetEntityMetadataDelegate;
        
        private System.Threading.SendOrPostCallback onGetEntityMetadataCompletedDelegate;
        
        private BeginOperationDelegate onBeginExecuteCommandDelegate;
        
        private EndOperationDelegate onEndExecuteCommandDelegate;
        
        private System.Threading.SendOrPostCallback onExecuteCommandCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetEntityListDelegate;
        
        private EndOperationDelegate onEndGetEntityListDelegate;
        
        private System.Threading.SendOrPostCallback onGetEntityListCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetChildEntityListDelegate;
        
        private EndOperationDelegate onEndGetChildEntityListDelegate;
        
        private System.Threading.SendOrPostCallback onGetChildEntityListCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetEntityFromPkDelegate;
        
        private EndOperationDelegate onEndGetEntityFromPkDelegate;
        
        private System.Threading.SendOrPostCallback onGetEntityFromPkCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetFilterFormRowSourcesDelegate;
        
        private EndOperationDelegate onEndGetFilterFormRowSourcesDelegate;
        
        private System.Threading.SendOrPostCallback onGetFilterFormRowSourcesCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetRowSourceDelegate;
        
        private EndOperationDelegate onEndGetRowSourceDelegate;
        
        private System.Threading.SendOrPostCallback onGetRowSourceCompletedDelegate;
        
        private BeginOperationDelegate onBeginLogoutDelegate;
        
        private EndOperationDelegate onEndLogoutDelegate;
        
        private System.Threading.SendOrPostCallback onLogoutCompletedDelegate;
        
        private BeginOperationDelegate onBeginGetAssemblyDelegate;
        
        private EndOperationDelegate onEndGetAssemblyDelegate;
        
        private System.Threading.SendOrPostCallback onGetAssemblyCompletedDelegate;
        
        private BeginOperationDelegate onBeginCalculateExpressionsDelegate;
        
        private EndOperationDelegate onEndCalculateExpressionsDelegate;
        
        private System.Threading.SendOrPostCallback onCalculateExpressionsCompletedDelegate;
        
        private BeginOperationDelegate onBeginUploadDelegate;
        
        private EndOperationDelegate onEndUploadDelegate;
        
        private System.Threading.SendOrPostCallback onUploadCompletedDelegate;
        
        private BeginOperationDelegate onBeginPingDelegate;
        
        private EndOperationDelegate onEndPingDelegate;
        
        private System.Threading.SendOrPostCallback onPingCompletedDelegate;
        
        private BeginOperationDelegate onBeginExportToCsvDelegate;
        
        private EndOperationDelegate onEndExportToCsvDelegate;
        
        private System.Threading.SendOrPostCallback onExportToCsvCompletedDelegate;
        
        private BeginOperationDelegate onBeginAddToBookmarksDelegate;
        
        private EndOperationDelegate onEndAddToBookmarksDelegate;
        
        private System.Threading.SendOrPostCallback onAddToBookmarksCompletedDelegate;
        
        private BeginOperationDelegate onBeginRemoveAllBookmarksDelegate;
        
        private EndOperationDelegate onEndRemoveAllBookmarksDelegate;
        
        private System.Threading.SendOrPostCallback onRemoveAllBookmarksCompletedDelegate;
        
        private BeginOperationDelegate onBeginRemoveBookmarkDelegate;
        
        private EndOperationDelegate onEndRemoveBookmarkDelegate;
        
        private System.Threading.SendOrPostCallback onRemoveBookmarkCompletedDelegate;
        
        private BeginOperationDelegate onBeginClearHistoryDelegate;
        
        private EndOperationDelegate onEndClearHistoryDelegate;
        
        private System.Threading.SendOrPostCallback onClearHistoryCompletedDelegate;
        
        private BeginOperationDelegate onBeginF1Delegate;
        
        private EndOperationDelegate onEndF1Delegate;
        
        private System.Threading.SendOrPostCallback onF1CompletedDelegate;
        
        private BeginOperationDelegate onBeginOpenDelegate;
        
        private EndOperationDelegate onEndOpenDelegate;
        
        private System.Threading.SendOrPostCallback onOpenCompletedDelegate;
        
        private BeginOperationDelegate onBeginCloseDelegate;
        
        private EndOperationDelegate onEndCloseDelegate;
        
        private System.Threading.SendOrPostCallback onCloseCompletedDelegate;
        
        public IxAppServerClient() {
        }
        
        public IxAppServerClient(string endpointConfigurationName) : 
                base(endpointConfigurationName) {
        }
        
        public IxAppServerClient(string endpointConfigurationName, string remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IxAppServerClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(endpointConfigurationName, remoteAddress) {
        }
        
        public IxAppServerClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
                base(binding, remoteAddress) {
        }
        
        public event System.EventHandler<GetPortalMetadataCompletedEventArgs> GetPortalMetadataCompleted;
        
        public event System.EventHandler<GetEntityMetadataCompletedEventArgs> GetEntityMetadataCompleted;
        
        public event System.EventHandler<ExecuteCommandCompletedEventArgs> ExecuteCommandCompleted;
        
        public event System.EventHandler<GetEntityListCompletedEventArgs> GetEntityListCompleted;
        
        public event System.EventHandler<GetChildEntityListCompletedEventArgs> GetChildEntityListCompleted;
        
        public event System.EventHandler<GetEntityFromPkCompletedEventArgs> GetEntityFromPkCompleted;
        
        public event System.EventHandler<GetFilterFormRowSourcesCompletedEventArgs> GetFilterFormRowSourcesCompleted;
        
        public event System.EventHandler<GetRowSourceCompletedEventArgs> GetRowSourceCompleted;
        
        public event System.EventHandler<LogoutCompletedEventArgs> LogoutCompleted;
        
        public event System.EventHandler<GetAssemblyCompletedEventArgs> GetAssemblyCompleted;
        
        public event System.EventHandler<CalculateExpressionsCompletedEventArgs> CalculateExpressionsCompleted;
        
        public event System.EventHandler<UploadCompletedEventArgs> UploadCompleted;
        
        public event System.EventHandler<PingCompletedEventArgs> PingCompleted;
        
        public event System.EventHandler<ExportToCsvCompletedEventArgs> ExportToCsvCompleted;
        
        public event System.EventHandler<AddToBookmarksCompletedEventArgs> AddToBookmarksCompleted;
        
        public event System.EventHandler<RemoveAllBookmarksCompletedEventArgs> RemoveAllBookmarksCompleted;
        
        public event System.EventHandler<RemoveBookmarkCompletedEventArgs> RemoveBookmarkCompleted;
        
        public event System.EventHandler<ClearHistoryCompletedEventArgs> ClearHistoryCompleted;
        
        public event System.EventHandler<F1CompletedEventArgs> F1Completed;
        
        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> OpenCompleted;
        
        public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> CloseCompleted;
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetPortalMetadata(object workspaceId, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetPortalMetadata(workspaceId, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxClientPortalMetadata Framework.Silverlight.Client.AppServer.IxAppServer.EndGetPortalMetadata(System.IAsyncResult result) {
            return base.Channel.EndGetPortalMetadata(result);
        }
        
        private System.IAsyncResult OnBeginGetPortalMetadata(object[] inValues, System.AsyncCallback callback, object asyncState) {
            object workspaceId = ((object)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetPortalMetadata(workspaceId, callback, asyncState);
        }
        
        private object[] OnEndGetPortalMetadata(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxClientPortalMetadata retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetPortalMetadata(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetPortalMetadataCompleted(object state) {
            if ((this.GetPortalMetadataCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetPortalMetadataCompleted(this, new GetPortalMetadataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetPortalMetadataAsync(object workspaceId) {
            this.GetPortalMetadataAsync(workspaceId, null);
        }
        
        public void GetPortalMetadataAsync(object workspaceId, object userState) {
            if ((this.onBeginGetPortalMetadataDelegate == null)) {
                this.onBeginGetPortalMetadataDelegate = new BeginOperationDelegate(this.OnBeginGetPortalMetadata);
            }
            if ((this.onEndGetPortalMetadataDelegate == null)) {
                this.onEndGetPortalMetadataDelegate = new EndOperationDelegate(this.OnEndGetPortalMetadata);
            }
            if ((this.onGetPortalMetadataCompletedDelegate == null)) {
                this.onGetPortalMetadataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetPortalMetadataCompleted);
            }
            base.InvokeAsync(this.onBeginGetPortalMetadataDelegate, new object[] {
                        workspaceId}, this.onEndGetPortalMetadataDelegate, this.onGetPortalMetadataCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetEntityMetadata(string entityUsageId, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetEntityMetadata(entityUsageId, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxClientEntityMetadata Framework.Silverlight.Client.AppServer.IxAppServer.EndGetEntityMetadata(System.IAsyncResult result) {
            return base.Channel.EndGetEntityMetadata(result);
        }
        
        private System.IAsyncResult OnBeginGetEntityMetadata(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string entityUsageId = ((string)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetEntityMetadata(entityUsageId, callback, asyncState);
        }
        
        private object[] OnEndGetEntityMetadata(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxClientEntityMetadata retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetEntityMetadata(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetEntityMetadataCompleted(object state) {
            if ((this.GetEntityMetadataCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetEntityMetadataCompleted(this, new GetEntityMetadataCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetEntityMetadataAsync(string entityUsageId) {
            this.GetEntityMetadataAsync(entityUsageId, null);
        }
        
        public void GetEntityMetadataAsync(string entityUsageId, object userState) {
            if ((this.onBeginGetEntityMetadataDelegate == null)) {
                this.onBeginGetEntityMetadataDelegate = new BeginOperationDelegate(this.OnBeginGetEntityMetadata);
            }
            if ((this.onEndGetEntityMetadataDelegate == null)) {
                this.onEndGetEntityMetadataDelegate = new EndOperationDelegate(this.OnEndGetEntityMetadata);
            }
            if ((this.onGetEntityMetadataCompletedDelegate == null)) {
                this.onGetEntityMetadataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEntityMetadataCompleted);
            }
            base.InvokeAsync(this.onBeginGetEntityMetadataDelegate, new object[] {
                        entityUsageId}, this.onEndGetEntityMetadataDelegate, this.onGetEntityMetadataCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginExecuteCommand(System.Guid marker, Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginExecuteCommand(marker, commandParams, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndExecuteCommand(System.IAsyncResult result) {
            return base.Channel.EndExecuteCommand(result);
        }
        
        private System.IAsyncResult OnBeginExecuteCommand(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams = ((Framework.Silverlight.Client.AppServer.CxCommandParameters)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginExecuteCommand(marker, commandParams, callback, asyncState);
        }
        
        private object[] OnEndExecuteCommand(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndExecuteCommand(result);
            return new object[] {
                    retVal};
        }
        
        private void OnExecuteCommandCompleted(object state) {
            if ((this.ExecuteCommandCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ExecuteCommandCompleted(this, new ExecuteCommandCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ExecuteCommandAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams) {
            this.ExecuteCommandAsync(marker, commandParams, null);
        }
        
        public void ExecuteCommandAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams, object userState) {
            if ((this.onBeginExecuteCommandDelegate == null)) {
                this.onBeginExecuteCommandDelegate = new BeginOperationDelegate(this.OnBeginExecuteCommand);
            }
            if ((this.onEndExecuteCommandDelegate == null)) {
                this.onEndExecuteCommandDelegate = new EndOperationDelegate(this.OnEndExecuteCommand);
            }
            if ((this.onExecuteCommandCompletedDelegate == null)) {
                this.onExecuteCommandCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExecuteCommandCompleted);
            }
            base.InvokeAsync(this.onBeginExecuteCommandDelegate, new object[] {
                        marker,
                        commandParams}, this.onEndExecuteCommandDelegate, this.onExecuteCommandCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetEntityList(marker, prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndGetEntityList(System.IAsyncResult result) {
            return base.Channel.EndGetEntityList(result);
        }
        
        private System.IAsyncResult OnBeginGetEntityList(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetEntityList(marker, prms, callback, asyncState);
        }
        
        private object[] OnEndGetEntityList(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetEntityList(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetEntityListCompleted(object state) {
            if ((this.GetEntityListCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetEntityListCompleted(this, new GetEntityListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetEntityListAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.GetEntityListAsync(marker, prms, null);
        }
        
        public void GetEntityListAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginGetEntityListDelegate == null)) {
                this.onBeginGetEntityListDelegate = new BeginOperationDelegate(this.OnBeginGetEntityList);
            }
            if ((this.onEndGetEntityListDelegate == null)) {
                this.onEndGetEntityListDelegate = new EndOperationDelegate(this.OnEndGetEntityList);
            }
            if ((this.onGetEntityListCompletedDelegate == null)) {
                this.onGetEntityListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEntityListCompleted);
            }
            base.InvokeAsync(this.onBeginGetEntityListDelegate, new object[] {
                        marker,
                        prms}, this.onEndGetEntityListDelegate, this.onGetEntityListCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetChildEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetChildEntityList(marker, prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndGetChildEntityList(System.IAsyncResult result) {
            return base.Channel.EndGetChildEntityList(result);
        }
        
        private System.IAsyncResult OnBeginGetChildEntityList(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetChildEntityList(marker, prms, callback, asyncState);
        }
        
        private object[] OnEndGetChildEntityList(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetChildEntityList(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetChildEntityListCompleted(object state) {
            if ((this.GetChildEntityListCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetChildEntityListCompleted(this, new GetChildEntityListCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetChildEntityListAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.GetChildEntityListAsync(marker, prms, null);
        }
        
        public void GetChildEntityListAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginGetChildEntityListDelegate == null)) {
                this.onBeginGetChildEntityListDelegate = new BeginOperationDelegate(this.OnBeginGetChildEntityList);
            }
            if ((this.onEndGetChildEntityListDelegate == null)) {
                this.onEndGetChildEntityListDelegate = new EndOperationDelegate(this.OnEndGetChildEntityList);
            }
            if ((this.onGetChildEntityListCompletedDelegate == null)) {
                this.onGetChildEntityListCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetChildEntityListCompleted);
            }
            base.InvokeAsync(this.onBeginGetChildEntityListDelegate, new object[] {
                        marker,
                        prms}, this.onEndGetChildEntityListDelegate, this.onGetChildEntityListCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetEntityFromPk(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetEntityFromPk(marker, prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndGetEntityFromPk(System.IAsyncResult result) {
            return base.Channel.EndGetEntityFromPk(result);
        }
        
        private System.IAsyncResult OnBeginGetEntityFromPk(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetEntityFromPk(marker, prms, callback, asyncState);
        }
        
        private object[] OnEndGetEntityFromPk(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetEntityFromPk(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetEntityFromPkCompleted(object state) {
            if ((this.GetEntityFromPkCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetEntityFromPkCompleted(this, new GetEntityFromPkCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetEntityFromPkAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.GetEntityFromPkAsync(marker, prms, null);
        }
        
        public void GetEntityFromPkAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginGetEntityFromPkDelegate == null)) {
                this.onBeginGetEntityFromPkDelegate = new BeginOperationDelegate(this.OnBeginGetEntityFromPk);
            }
            if ((this.onEndGetEntityFromPkDelegate == null)) {
                this.onEndGetEntityFromPkDelegate = new EndOperationDelegate(this.OnEndGetEntityFromPk);
            }
            if ((this.onGetEntityFromPkCompletedDelegate == null)) {
                this.onGetEntityFromPkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEntityFromPkCompleted);
            }
            base.InvokeAsync(this.onBeginGetEntityFromPkDelegate, new object[] {
                        marker,
                        prms}, this.onEndGetEntityFromPkDelegate, this.onGetEntityFromPkCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetFilterFormRowSources(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetFilterFormRowSources(marker, prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndGetFilterFormRowSources(System.IAsyncResult result) {
            return base.Channel.EndGetFilterFormRowSources(result);
        }
        
        private System.IAsyncResult OnBeginGetFilterFormRowSources(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetFilterFormRowSources(marker, prms, callback, asyncState);
        }
        
        private object[] OnEndGetFilterFormRowSources(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetFilterFormRowSources(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetFilterFormRowSourcesCompleted(object state) {
            if ((this.GetFilterFormRowSourcesCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetFilterFormRowSourcesCompleted(this, new GetFilterFormRowSourcesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetFilterFormRowSourcesAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.GetFilterFormRowSourcesAsync(marker, prms, null);
        }
        
        public void GetFilterFormRowSourcesAsync(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginGetFilterFormRowSourcesDelegate == null)) {
                this.onBeginGetFilterFormRowSourcesDelegate = new BeginOperationDelegate(this.OnBeginGetFilterFormRowSources);
            }
            if ((this.onEndGetFilterFormRowSourcesDelegate == null)) {
                this.onEndGetFilterFormRowSourcesDelegate = new EndOperationDelegate(this.OnEndGetFilterFormRowSources);
            }
            if ((this.onGetFilterFormRowSourcesCompletedDelegate == null)) {
                this.onGetFilterFormRowSourcesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetFilterFormRowSourcesCompleted);
            }
            base.InvokeAsync(this.onBeginGetFilterFormRowSourcesDelegate, new object[] {
                        marker,
                        prms}, this.onEndGetFilterFormRowSourcesDelegate, this.onGetFilterFormRowSourcesCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetRowSource(string attributeId, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetRowSource(attributeId, prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxClientRowSource Framework.Silverlight.Client.AppServer.IxAppServer.EndGetRowSource(System.IAsyncResult result) {
            return base.Channel.EndGetRowSource(result);
        }
        
        private System.IAsyncResult OnBeginGetRowSource(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string attributeId = ((string)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetRowSource(attributeId, prms, callback, asyncState);
        }
        
        private object[] OnEndGetRowSource(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxClientRowSource retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetRowSource(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetRowSourceCompleted(object state) {
            if ((this.GetRowSourceCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetRowSourceCompleted(this, new GetRowSourceCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetRowSourceAsync(string attributeId, Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.GetRowSourceAsync(attributeId, prms, null);
        }
        
        public void GetRowSourceAsync(string attributeId, Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginGetRowSourceDelegate == null)) {
                this.onBeginGetRowSourceDelegate = new BeginOperationDelegate(this.OnBeginGetRowSource);
            }
            if ((this.onEndGetRowSourceDelegate == null)) {
                this.onEndGetRowSourceDelegate = new EndOperationDelegate(this.OnEndGetRowSource);
            }
            if ((this.onGetRowSourceCompletedDelegate == null)) {
                this.onGetRowSourceCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetRowSourceCompleted);
            }
            base.InvokeAsync(this.onBeginGetRowSourceDelegate, new object[] {
                        attributeId,
                        prms}, this.onEndGetRowSourceDelegate, this.onGetRowSourceCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginLogout(System.Guid marker, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginLogout(marker, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndLogout(System.IAsyncResult result) {
            return base.Channel.EndLogout(result);
        }
        
        private System.IAsyncResult OnBeginLogout(object[] inValues, System.AsyncCallback callback, object asyncState) {
            System.Guid marker = ((System.Guid)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginLogout(marker, callback, asyncState);
        }
        
        private object[] OnEndLogout(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndLogout(result);
            return new object[] {
                    retVal};
        }
        
        private void OnLogoutCompleted(object state) {
            if ((this.LogoutCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.LogoutCompleted(this, new LogoutCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void LogoutAsync(System.Guid marker) {
            this.LogoutAsync(marker, null);
        }
        
        public void LogoutAsync(System.Guid marker, object userState) {
            if ((this.onBeginLogoutDelegate == null)) {
                this.onBeginLogoutDelegate = new BeginOperationDelegate(this.OnBeginLogout);
            }
            if ((this.onEndLogoutDelegate == null)) {
                this.onEndLogoutDelegate = new EndOperationDelegate(this.OnEndLogout);
            }
            if ((this.onLogoutCompletedDelegate == null)) {
                this.onLogoutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLogoutCompleted);
            }
            base.InvokeAsync(this.onBeginLogoutDelegate, new object[] {
                        marker}, this.onEndLogoutDelegate, this.onLogoutCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginGetAssembly(string id, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginGetAssembly(id, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxAssemblyContainer Framework.Silverlight.Client.AppServer.IxAppServer.EndGetAssembly(System.IAsyncResult result) {
            return base.Channel.EndGetAssembly(result);
        }
        
        private System.IAsyncResult OnBeginGetAssembly(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string id = ((string)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginGetAssembly(id, callback, asyncState);
        }
        
        private object[] OnEndGetAssembly(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxAssemblyContainer retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndGetAssembly(result);
            return new object[] {
                    retVal};
        }
        
        private void OnGetAssemblyCompleted(object state) {
            if ((this.GetAssemblyCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.GetAssemblyCompleted(this, new GetAssemblyCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void GetAssemblyAsync(string id) {
            this.GetAssemblyAsync(id, null);
        }
        
        public void GetAssemblyAsync(string id, object userState) {
            if ((this.onBeginGetAssemblyDelegate == null)) {
                this.onBeginGetAssemblyDelegate = new BeginOperationDelegate(this.OnBeginGetAssembly);
            }
            if ((this.onEndGetAssemblyDelegate == null)) {
                this.onEndGetAssemblyDelegate = new EndOperationDelegate(this.OnEndGetAssembly);
            }
            if ((this.onGetAssemblyCompletedDelegate == null)) {
                this.onGetAssemblyCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAssemblyCompleted);
            }
            base.InvokeAsync(this.onBeginGetAssemblyDelegate, new object[] {
                        id}, this.onEndGetAssemblyDelegate, this.onGetAssemblyCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginCalculateExpressions(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginCalculateExpressions(prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxExpressionResult Framework.Silverlight.Client.AppServer.IxAppServer.EndCalculateExpressions(System.IAsyncResult result) {
            return base.Channel.EndCalculateExpressions(result);
        }
        
        private System.IAsyncResult OnBeginCalculateExpressions(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginCalculateExpressions(prms, callback, asyncState);
        }
        
        private object[] OnEndCalculateExpressions(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxExpressionResult retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndCalculateExpressions(result);
            return new object[] {
                    retVal};
        }
        
        private void OnCalculateExpressionsCompleted(object state) {
            if ((this.CalculateExpressionsCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.CalculateExpressionsCompleted(this, new CalculateExpressionsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void CalculateExpressionsAsync(Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.CalculateExpressionsAsync(prms, null);
        }
        
        public void CalculateExpressionsAsync(Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginCalculateExpressionsDelegate == null)) {
                this.onBeginCalculateExpressionsDelegate = new BeginOperationDelegate(this.OnBeginCalculateExpressions);
            }
            if ((this.onEndCalculateExpressionsDelegate == null)) {
                this.onEndCalculateExpressionsDelegate = new EndOperationDelegate(this.OnEndCalculateExpressions);
            }
            if ((this.onCalculateExpressionsCompletedDelegate == null)) {
                this.onCalculateExpressionsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCalculateExpressionsCompleted);
            }
            base.InvokeAsync(this.onBeginCalculateExpressionsDelegate, new object[] {
                        prms}, this.onEndCalculateExpressionsDelegate, this.onCalculateExpressionsCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginUpload(Framework.Silverlight.Client.AppServer.CxUploadData uploadData, Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginUpload(uploadData, uploadParams, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxUploadResponse Framework.Silverlight.Client.AppServer.IxAppServer.EndUpload(System.IAsyncResult result) {
            return base.Channel.EndUpload(result);
        }
        
        private System.IAsyncResult OnBeginUpload(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Framework.Silverlight.Client.AppServer.CxUploadData uploadData = ((Framework.Silverlight.Client.AppServer.CxUploadData)(inValues[0]));
            Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams = ((Framework.Silverlight.Client.AppServer.CxUploadParams)(inValues[1]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginUpload(uploadData, uploadParams, callback, asyncState);
        }
        
        private object[] OnEndUpload(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxUploadResponse retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndUpload(result);
            return new object[] {
                    retVal};
        }
        
        private void OnUploadCompleted(object state) {
            if ((this.UploadCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.UploadCompleted(this, new UploadCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void UploadAsync(Framework.Silverlight.Client.AppServer.CxUploadData uploadData, Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams) {
            this.UploadAsync(uploadData, uploadParams, null);
        }
        
        public void UploadAsync(Framework.Silverlight.Client.AppServer.CxUploadData uploadData, Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams, object userState) {
            if ((this.onBeginUploadDelegate == null)) {
                this.onBeginUploadDelegate = new BeginOperationDelegate(this.OnBeginUpload);
            }
            if ((this.onEndUploadDelegate == null)) {
                this.onEndUploadDelegate = new EndOperationDelegate(this.OnEndUpload);
            }
            if ((this.onUploadCompletedDelegate == null)) {
                this.onUploadCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUploadCompleted);
            }
            base.InvokeAsync(this.onBeginUploadDelegate, new object[] {
                        uploadData,
                        uploadParams}, this.onEndUploadDelegate, this.onUploadCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginPing(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginPing(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        int Framework.Silverlight.Client.AppServer.IxAppServer.EndPing(System.IAsyncResult result) {
            return base.Channel.EndPing(result);
        }
        
        private System.IAsyncResult OnBeginPing(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginPing(callback, asyncState);
        }
        
        private object[] OnEndPing(System.IAsyncResult result) {
            int retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndPing(result);
            return new object[] {
                    retVal};
        }
        
        private void OnPingCompleted(object state) {
            if ((this.PingCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.PingCompleted(this, new PingCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void PingAsync() {
            this.PingAsync(null);
        }
        
        public void PingAsync(object userState) {
            if ((this.onBeginPingDelegate == null)) {
                this.onBeginPingDelegate = new BeginOperationDelegate(this.OnBeginPing);
            }
            if ((this.onEndPingDelegate == null)) {
                this.onEndPingDelegate = new EndOperationDelegate(this.OnEndPing);
            }
            if ((this.onPingCompletedDelegate == null)) {
                this.onPingCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPingCompleted);
            }
            base.InvokeAsync(this.onBeginPingDelegate, null, this.onEndPingDelegate, this.onPingCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginExportToCsv(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginExportToCsv(prms, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxExportToCsvInfo Framework.Silverlight.Client.AppServer.IxAppServer.EndExportToCsv(System.IAsyncResult result) {
            return base.Channel.EndExportToCsv(result);
        }
        
        private System.IAsyncResult OnBeginExportToCsv(object[] inValues, System.AsyncCallback callback, object asyncState) {
            Framework.Silverlight.Client.AppServer.CxQueryParams prms = ((Framework.Silverlight.Client.AppServer.CxQueryParams)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginExportToCsv(prms, callback, asyncState);
        }
        
        private object[] OnEndExportToCsv(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxExportToCsvInfo retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndExportToCsv(result);
            return new object[] {
                    retVal};
        }
        
        private void OnExportToCsvCompleted(object state) {
            if ((this.ExportToCsvCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ExportToCsvCompleted(this, new ExportToCsvCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ExportToCsvAsync(Framework.Silverlight.Client.AppServer.CxQueryParams prms) {
            this.ExportToCsvAsync(prms, null);
        }
        
        public void ExportToCsvAsync(Framework.Silverlight.Client.AppServer.CxQueryParams prms, object userState) {
            if ((this.onBeginExportToCsvDelegate == null)) {
                this.onBeginExportToCsvDelegate = new BeginOperationDelegate(this.OnBeginExportToCsv);
            }
            if ((this.onEndExportToCsvDelegate == null)) {
                this.onEndExportToCsvDelegate = new EndOperationDelegate(this.OnEndExportToCsv);
            }
            if ((this.onExportToCsvCompletedDelegate == null)) {
                this.onExportToCsvCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnExportToCsvCompleted);
            }
            base.InvokeAsync(this.onBeginExportToCsvDelegate, new object[] {
                        prms}, this.onEndExportToCsvDelegate, this.onExportToCsvCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginAddToBookmarks(string entityUsageId, System.Collections.Generic.Dictionary<string, object> pkValues, string openMode, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginAddToBookmarks(entityUsageId, pkValues, openMode, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndAddToBookmarks(System.IAsyncResult result) {
            return base.Channel.EndAddToBookmarks(result);
        }
        
        private System.IAsyncResult OnBeginAddToBookmarks(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string entityUsageId = ((string)(inValues[0]));
            System.Collections.Generic.Dictionary<string, object> pkValues = ((System.Collections.Generic.Dictionary<string, object>)(inValues[1]));
            string openMode = ((string)(inValues[2]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginAddToBookmarks(entityUsageId, pkValues, openMode, callback, asyncState);
        }
        
        private object[] OnEndAddToBookmarks(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndAddToBookmarks(result);
            return new object[] {
                    retVal};
        }
        
        private void OnAddToBookmarksCompleted(object state) {
            if ((this.AddToBookmarksCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.AddToBookmarksCompleted(this, new AddToBookmarksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void AddToBookmarksAsync(string entityUsageId, System.Collections.Generic.Dictionary<string, object> pkValues, string openMode) {
            this.AddToBookmarksAsync(entityUsageId, pkValues, openMode, null);
        }
        
        public void AddToBookmarksAsync(string entityUsageId, System.Collections.Generic.Dictionary<string, object> pkValues, string openMode, object userState) {
            if ((this.onBeginAddToBookmarksDelegate == null)) {
                this.onBeginAddToBookmarksDelegate = new BeginOperationDelegate(this.OnBeginAddToBookmarks);
            }
            if ((this.onEndAddToBookmarksDelegate == null)) {
                this.onEndAddToBookmarksDelegate = new EndOperationDelegate(this.OnEndAddToBookmarks);
            }
            if ((this.onAddToBookmarksCompletedDelegate == null)) {
                this.onAddToBookmarksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnAddToBookmarksCompleted);
            }
            base.InvokeAsync(this.onBeginAddToBookmarksDelegate, new object[] {
                        entityUsageId,
                        pkValues,
                        openMode}, this.onEndAddToBookmarksDelegate, this.onAddToBookmarksCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginRemoveAllBookmarks(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginRemoveAllBookmarks(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndRemoveAllBookmarks(System.IAsyncResult result) {
            return base.Channel.EndRemoveAllBookmarks(result);
        }
        
        private System.IAsyncResult OnBeginRemoveAllBookmarks(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginRemoveAllBookmarks(callback, asyncState);
        }
        
        private object[] OnEndRemoveAllBookmarks(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndRemoveAllBookmarks(result);
            return new object[] {
                    retVal};
        }
        
        private void OnRemoveAllBookmarksCompleted(object state) {
            if ((this.RemoveAllBookmarksCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.RemoveAllBookmarksCompleted(this, new RemoveAllBookmarksCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void RemoveAllBookmarksAsync() {
            this.RemoveAllBookmarksAsync(null);
        }
        
        public void RemoveAllBookmarksAsync(object userState) {
            if ((this.onBeginRemoveAllBookmarksDelegate == null)) {
                this.onBeginRemoveAllBookmarksDelegate = new BeginOperationDelegate(this.OnBeginRemoveAllBookmarks);
            }
            if ((this.onEndRemoveAllBookmarksDelegate == null)) {
                this.onEndRemoveAllBookmarksDelegate = new EndOperationDelegate(this.OnEndRemoveAllBookmarks);
            }
            if ((this.onRemoveAllBookmarksCompletedDelegate == null)) {
                this.onRemoveAllBookmarksCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRemoveAllBookmarksCompleted);
            }
            base.InvokeAsync(this.onBeginRemoveAllBookmarksDelegate, null, this.onEndRemoveAllBookmarksDelegate, this.onRemoveAllBookmarksCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginRemoveBookmark(string uniqueId, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginRemoveBookmark(uniqueId, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndRemoveBookmark(System.IAsyncResult result) {
            return base.Channel.EndRemoveBookmark(result);
        }
        
        private System.IAsyncResult OnBeginRemoveBookmark(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string uniqueId = ((string)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginRemoveBookmark(uniqueId, callback, asyncState);
        }
        
        private object[] OnEndRemoveBookmark(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndRemoveBookmark(result);
            return new object[] {
                    retVal};
        }
        
        private void OnRemoveBookmarkCompleted(object state) {
            if ((this.RemoveBookmarkCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.RemoveBookmarkCompleted(this, new RemoveBookmarkCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void RemoveBookmarkAsync(string uniqueId) {
            this.RemoveBookmarkAsync(uniqueId, null);
        }
        
        public void RemoveBookmarkAsync(string uniqueId, object userState) {
            if ((this.onBeginRemoveBookmarkDelegate == null)) {
                this.onBeginRemoveBookmarkDelegate = new BeginOperationDelegate(this.OnBeginRemoveBookmark);
            }
            if ((this.onEndRemoveBookmarkDelegate == null)) {
                this.onEndRemoveBookmarkDelegate = new EndOperationDelegate(this.OnEndRemoveBookmark);
            }
            if ((this.onRemoveBookmarkCompletedDelegate == null)) {
                this.onRemoveBookmarkCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnRemoveBookmarkCompleted);
            }
            base.InvokeAsync(this.onBeginRemoveBookmarkDelegate, new object[] {
                        uniqueId}, this.onEndRemoveBookmarkDelegate, this.onRemoveBookmarkCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginClearHistory(System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginClearHistory(callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Framework.Silverlight.Client.AppServer.CxModel Framework.Silverlight.Client.AppServer.IxAppServer.EndClearHistory(System.IAsyncResult result) {
            return base.Channel.EndClearHistory(result);
        }
        
        private System.IAsyncResult OnBeginClearHistory(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginClearHistory(callback, asyncState);
        }
        
        private object[] OnEndClearHistory(System.IAsyncResult result) {
            Framework.Silverlight.Client.AppServer.CxModel retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndClearHistory(result);
            return new object[] {
                    retVal};
        }
        
        private void OnClearHistoryCompleted(object state) {
            if ((this.ClearHistoryCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.ClearHistoryCompleted(this, new ClearHistoryCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void ClearHistoryAsync() {
            this.ClearHistoryAsync(null);
        }
        
        public void ClearHistoryAsync(object userState) {
            if ((this.onBeginClearHistoryDelegate == null)) {
                this.onBeginClearHistoryDelegate = new BeginOperationDelegate(this.OnBeginClearHistory);
            }
            if ((this.onEndClearHistoryDelegate == null)) {
                this.onEndClearHistoryDelegate = new EndOperationDelegate(this.OnEndClearHistory);
            }
            if ((this.onClearHistoryCompletedDelegate == null)) {
                this.onClearHistoryCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnClearHistoryCompleted);
            }
            base.InvokeAsync(this.onBeginClearHistoryDelegate, null, this.onEndClearHistoryDelegate, this.onClearHistoryCompletedDelegate, userState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        System.IAsyncResult Framework.Silverlight.Client.AppServer.IxAppServer.BeginF1(string p1, System.AsyncCallback callback, object asyncState) {
            return base.Channel.BeginF1(p1, callback, asyncState);
        }
        
        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        string Framework.Silverlight.Client.AppServer.IxAppServer.EndF1(System.IAsyncResult result) {
            return base.Channel.EndF1(result);
        }
        
        private System.IAsyncResult OnBeginF1(object[] inValues, System.AsyncCallback callback, object asyncState) {
            string p1 = ((string)(inValues[0]));
            return ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).BeginF1(p1, callback, asyncState);
        }
        
        private object[] OnEndF1(System.IAsyncResult result) {
            string retVal = ((Framework.Silverlight.Client.AppServer.IxAppServer)(this)).EndF1(result);
            return new object[] {
                    retVal};
        }
        
        private void OnF1Completed(object state) {
            if ((this.F1Completed != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.F1Completed(this, new F1CompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void F1Async(string p1) {
            this.F1Async(p1, null);
        }
        
        public void F1Async(string p1, object userState) {
            if ((this.onBeginF1Delegate == null)) {
                this.onBeginF1Delegate = new BeginOperationDelegate(this.OnBeginF1);
            }
            if ((this.onEndF1Delegate == null)) {
                this.onEndF1Delegate = new EndOperationDelegate(this.OnEndF1);
            }
            if ((this.onF1CompletedDelegate == null)) {
                this.onF1CompletedDelegate = new System.Threading.SendOrPostCallback(this.OnF1Completed);
            }
            base.InvokeAsync(this.onBeginF1Delegate, new object[] {
                        p1}, this.onEndF1Delegate, this.onF1CompletedDelegate, userState);
        }
        
        private System.IAsyncResult OnBeginOpen(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return ((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(callback, asyncState);
        }
        
        private object[] OnEndOpen(System.IAsyncResult result) {
            ((System.ServiceModel.ICommunicationObject)(this)).EndOpen(result);
            return null;
        }
        
        private void OnOpenCompleted(object state) {
            if ((this.OpenCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.OpenCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void OpenAsync() {
            this.OpenAsync(null);
        }
        
        public void OpenAsync(object userState) {
            if ((this.onBeginOpenDelegate == null)) {
                this.onBeginOpenDelegate = new BeginOperationDelegate(this.OnBeginOpen);
            }
            if ((this.onEndOpenDelegate == null)) {
                this.onEndOpenDelegate = new EndOperationDelegate(this.OnEndOpen);
            }
            if ((this.onOpenCompletedDelegate == null)) {
                this.onOpenCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOpenCompleted);
            }
            base.InvokeAsync(this.onBeginOpenDelegate, null, this.onEndOpenDelegate, this.onOpenCompletedDelegate, userState);
        }
        
        private System.IAsyncResult OnBeginClose(object[] inValues, System.AsyncCallback callback, object asyncState) {
            return ((System.ServiceModel.ICommunicationObject)(this)).BeginClose(callback, asyncState);
        }
        
        private object[] OnEndClose(System.IAsyncResult result) {
            ((System.ServiceModel.ICommunicationObject)(this)).EndClose(result);
            return null;
        }
        
        private void OnCloseCompleted(object state) {
            if ((this.CloseCompleted != null)) {
                InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
                this.CloseCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
            }
        }
        
        public void CloseAsync() {
            this.CloseAsync(null);
        }
        
        public void CloseAsync(object userState) {
            if ((this.onBeginCloseDelegate == null)) {
                this.onBeginCloseDelegate = new BeginOperationDelegate(this.OnBeginClose);
            }
            if ((this.onEndCloseDelegate == null)) {
                this.onEndCloseDelegate = new EndOperationDelegate(this.OnEndClose);
            }
            if ((this.onCloseCompletedDelegate == null)) {
                this.onCloseCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCloseCompleted);
            }
            base.InvokeAsync(this.onBeginCloseDelegate, null, this.onEndCloseDelegate, this.onCloseCompletedDelegate, userState);
        }
        
        protected override Framework.Silverlight.Client.AppServer.IxAppServer CreateChannel() {
            return new IxAppServerClientChannel(this);
        }
        
        private class IxAppServerClientChannel : ChannelBase<Framework.Silverlight.Client.AppServer.IxAppServer>, Framework.Silverlight.Client.AppServer.IxAppServer {
            
            public IxAppServerClientChannel(System.ServiceModel.ClientBase<Framework.Silverlight.Client.AppServer.IxAppServer> client) : 
                    base(client) {
            }
            
            public System.IAsyncResult BeginGetPortalMetadata(object workspaceId, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = workspaceId;
                System.IAsyncResult _result = base.BeginInvoke("GetPortalMetadata", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxClientPortalMetadata EndGetPortalMetadata(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxClientPortalMetadata _result = ((Framework.Silverlight.Client.AppServer.CxClientPortalMetadata)(base.EndInvoke("GetPortalMetadata", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetEntityMetadata(string entityUsageId, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = entityUsageId;
                System.IAsyncResult _result = base.BeginInvoke("GetEntityMetadata", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxClientEntityMetadata EndGetEntityMetadata(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxClientEntityMetadata _result = ((Framework.Silverlight.Client.AppServer.CxClientEntityMetadata)(base.EndInvoke("GetEntityMetadata", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginExecuteCommand(System.Guid marker, Framework.Silverlight.Client.AppServer.CxCommandParameters commandParams, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = marker;
                _args[1] = commandParams;
                System.IAsyncResult _result = base.BeginInvoke("ExecuteCommand", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndExecuteCommand(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("ExecuteCommand", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = marker;
                _args[1] = prms;
                System.IAsyncResult _result = base.BeginInvoke("GetEntityList", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndGetEntityList(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("GetEntityList", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetChildEntityList(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = marker;
                _args[1] = prms;
                System.IAsyncResult _result = base.BeginInvoke("GetChildEntityList", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndGetChildEntityList(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("GetChildEntityList", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetEntityFromPk(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = marker;
                _args[1] = prms;
                System.IAsyncResult _result = base.BeginInvoke("GetEntityFromPk", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndGetEntityFromPk(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("GetEntityFromPk", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetFilterFormRowSources(System.Guid marker, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = marker;
                _args[1] = prms;
                System.IAsyncResult _result = base.BeginInvoke("GetFilterFormRowSources", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndGetFilterFormRowSources(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("GetFilterFormRowSources", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetRowSource(string attributeId, Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = attributeId;
                _args[1] = prms;
                System.IAsyncResult _result = base.BeginInvoke("GetRowSource", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxClientRowSource EndGetRowSource(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxClientRowSource _result = ((Framework.Silverlight.Client.AppServer.CxClientRowSource)(base.EndInvoke("GetRowSource", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginLogout(System.Guid marker, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = marker;
                System.IAsyncResult _result = base.BeginInvoke("Logout", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndLogout(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("Logout", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginGetAssembly(string id, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = id;
                System.IAsyncResult _result = base.BeginInvoke("GetAssembly", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxAssemblyContainer EndGetAssembly(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxAssemblyContainer _result = ((Framework.Silverlight.Client.AppServer.CxAssemblyContainer)(base.EndInvoke("GetAssembly", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginCalculateExpressions(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = prms;
                System.IAsyncResult _result = base.BeginInvoke("CalculateExpressions", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxExpressionResult EndCalculateExpressions(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxExpressionResult _result = ((Framework.Silverlight.Client.AppServer.CxExpressionResult)(base.EndInvoke("CalculateExpressions", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginUpload(Framework.Silverlight.Client.AppServer.CxUploadData uploadData, Framework.Silverlight.Client.AppServer.CxUploadParams uploadParams, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[2];
                _args[0] = uploadData;
                _args[1] = uploadParams;
                System.IAsyncResult _result = base.BeginInvoke("Upload", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxUploadResponse EndUpload(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxUploadResponse _result = ((Framework.Silverlight.Client.AppServer.CxUploadResponse)(base.EndInvoke("Upload", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginPing(System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[0];
                System.IAsyncResult _result = base.BeginInvoke("Ping", _args, callback, asyncState);
                return _result;
            }
            
            public int EndPing(System.IAsyncResult result) {
                object[] _args = new object[0];
                int _result = ((int)(base.EndInvoke("Ping", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginExportToCsv(Framework.Silverlight.Client.AppServer.CxQueryParams prms, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = prms;
                System.IAsyncResult _result = base.BeginInvoke("ExportToCsv", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxExportToCsvInfo EndExportToCsv(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxExportToCsvInfo _result = ((Framework.Silverlight.Client.AppServer.CxExportToCsvInfo)(base.EndInvoke("ExportToCsv", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginAddToBookmarks(string entityUsageId, System.Collections.Generic.Dictionary<string, object> pkValues, string openMode, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[3];
                _args[0] = entityUsageId;
                _args[1] = pkValues;
                _args[2] = openMode;
                System.IAsyncResult _result = base.BeginInvoke("AddToBookmarks", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndAddToBookmarks(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("AddToBookmarks", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginRemoveAllBookmarks(System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[0];
                System.IAsyncResult _result = base.BeginInvoke("RemoveAllBookmarks", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndRemoveAllBookmarks(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("RemoveAllBookmarks", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginRemoveBookmark(string uniqueId, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = uniqueId;
                System.IAsyncResult _result = base.BeginInvoke("RemoveBookmark", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndRemoveBookmark(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("RemoveBookmark", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginClearHistory(System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[0];
                System.IAsyncResult _result = base.BeginInvoke("ClearHistory", _args, callback, asyncState);
                return _result;
            }
            
            public Framework.Silverlight.Client.AppServer.CxModel EndClearHistory(System.IAsyncResult result) {
                object[] _args = new object[0];
                Framework.Silverlight.Client.AppServer.CxModel _result = ((Framework.Silverlight.Client.AppServer.CxModel)(base.EndInvoke("ClearHistory", _args, result)));
                return _result;
            }
            
            public System.IAsyncResult BeginF1(string p1, System.AsyncCallback callback, object asyncState) {
                object[] _args = new object[1];
                _args[0] = p1;
                System.IAsyncResult _result = base.BeginInvoke("F1", _args, callback, asyncState);
                return _result;
            }
            
            public string EndF1(System.IAsyncResult result) {
                object[] _args = new object[0];
                string _result = ((string)(base.EndInvoke("F1", _args, result)));
                return _result;
            }
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Ukraine Ukraine
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions