Beispiel #1
0
        public override object Clone()
        {
            if (!this.EntitySelected)
                return null;
            View view = new View();
            view.EntitySelected = this.EntitySelected;
            view.Id = this.Id;
            view.Name = this.Name;
            view.Schema = this.Schema;
            view.ViewID = this.ViewID;
            
            foreach (Column col in this.Columns)
            {
                Column newCol = col.Clone() as Column;
                if (newCol != null)
                {
                    newCol.Parent = view;
                    view.Columns.Add(newCol);
                }
            }
            return view;

        }
 public abstract void GetColumns(View view);