Пример #1
0
        public virtual DashboardAssignment Copy(DashboardSettings dashboard, litePerson person, String ipAddress, String proxyIpAddress)
        {
            DashboardAssignment item = (DashboardAssignment)Clone();

            item.CreateMetaInfo(person, ipAddress, proxyIpAddress);
            item.Dashboard = dashboard;
            return(item);
        }
Пример #2
0
        public virtual object Clone()
        {
            DashboardAssignment clone = new DashboardAssignment();

            clone.IdProfileType = IdProfileType;
            clone.IdRole        = IdRole;
            clone.IdPerson      = IdPerson;
            clone.Type          = Type;
            return(clone);
        }