예제 #1
0
 private void Initialize()
 {
     Columns = new ReferenceCollection(this.Root, this, ReferenceType.CustomViewColumn);
     Columns.ResetKey(Guid.Empty.ToString());
     Columns.ObjectPlural       = "Fields";
     Columns.ObjectSingular     = "Field";
     Columns.ImageIndex         = ImageHelper.GetImageIndex(TreeIconConstants.FolderClose);
     Columns.SelectedImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.FolderOpen);
 }
예제 #2
0
 public CustomView(INHydrateModelObject root)
     : base(root)
 {
     _columns = new ReferenceCollection(this.Root, this, ReferenceType.CustomViewColumn);
     _columns.ResetKey(Guid.Empty.ToString());
     _columns.ObjectPlural       = "Fields";
     _columns.ObjectSingular     = "Field";
     _columns.ImageIndex         = ImageHelper.GetImageIndex(TreeIconConstants.FolderClose);
     _columns.SelectedImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.FolderOpen);
 }
예제 #3
0
        public SecurityFunction(INHydrateModelObject root, Table parent)
            : base(root)
        {
            _parent = parent;

            _parameters = new ReferenceCollection(this.Root, this, ReferenceType.Parameter);
            _parameters.ResetKey(Guid.Empty.ToString());
            _parameters.ObjectPlural       = "Parameters";
            _parameters.ObjectSingular     = "Parameter";
            _parameters.ImageIndex         = ImageHelper.GetImageIndex(TreeIconConstants.FolderClose);
            _parameters.SelectedImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.FolderOpen);
        }
예제 #4
0
        private void Initialize()
        {
            _staticData  = new RowEntryCollection(this.Root);
            this.Columns = new ReferenceCollection(this.Root, this, ReferenceType.Column);
            Columns.ResetKey(Guid.Empty.ToString());
            Relationships = new ReferenceCollection(this.Root, this, ReferenceType.Relation);
            Relationships.ResetKey(Guid.Empty.ToString());

            Columns.ObjectPlural       = "Fields";
            Columns.ObjectSingular     = "Field";
            Columns.ImageIndex         = ImageHelper.GetImageIndex(TreeIconConstants.FolderClose);
            Columns.SelectedImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.FolderOpen);

            Relationships.ObjectPlural       = "Relationships";
            Relationships.ObjectSingular     = "Relationship";
            Relationships.ImageIndex         = ImageHelper.GetImageIndex(TreeIconConstants.FolderClose);
            Relationships.SelectedImageIndex = ImageHelper.GetImageIndex(TreeIconConstants.FolderOpen);
        }