Beispiel #1
0
        public void SetBinding(String ID)
        {
            try
            {
                // Get Context
                Model.Item context = this.GetBindingItem(ID);

                // Refresh Context
                if (context != null)
                {
                    context.Refresh();
                }

                // Set Binding
                this.Binding = context;
            }
            catch (Exception e)
            {
                throw new Model.Exceptions.ServerException("Failed to set Context: " + ID, e);
            }
        }