Exemplo n.º 1
0
        public virtual ProjectUrlTable copyWithProject()
        {
            ProjectUrlTable urlTable = (ProjectUrlTable)copy();

            if (ProjectInfoTable != null)
            {
                urlTable.ProjectInfoTable = (ProjectInfoTable)ProjectInfoTable.Clone();
            }

            return(urlTable);
        }
Exemplo n.º 2
0
        public virtual ProjectUrlTable copy()
        {
            ProjectUrlTable o = (ProjectUrlTable)clone();

            if (DbmsTable != null)
            {
                o.DbmsTable = (ProjectDbmsTable)DbmsTable.clone();
            }

            return(o);
        }
Exemplo n.º 3
0
        public virtual object clone()
        {
            ProjectUrlTable table = new ProjectUrlTable();

            table.ProjectUrlId   = ProjectUrlId;
            table.QuotesSent     = QuotesSent;
            table.QuotesReceived = QuotesReceived;

            table.ProjectUrlId    = ProjectUrlId;
            table.Url             = Url;
            table.DefaultRevision = DefaultRevision;
            table.Name            = Name;
            table.Revision        = Revision;
            table.Type            = Type;
            table.EditorId        = EditorId;
            table.LastUpdate      = LastUpdate;
            table.CreateUserId    = CreateUserId;
            table.CreateDate      = CreateDate;

            table.ApprovedItems    = ApprovedItems;
            table.CompletedItems   = CompletedItems;
            table.UnderReviewItems = UnderReviewItems;
            table.PendingItems     = PendingItems;

            table.EstimatedItemsTotalCost = EstimatedItemsTotalCost;
            table.QuotedItemsTotalCost    = QuotedItemsTotalCost;
            table.MarkupTotalCost         = MarkupTotalCost;
            table.Username            = Username;
            table.Password            = Password;
            table.Hostname            = Hostname;
            table.Port                = Port;
            table.DatabaseName        = DatabaseName;
            table.TablePrefix         = TablePrefix;
            table.CreatesNewDatabases = CreatesNewDatabases;
            table.Dbms                = Dbms;
            table.DbmsName            = DbmsName;
            table.Frozen              = Frozen;
            table.BenchmarkId         = BenchmarkId;
            table.Description         = Description;

            return(table);
        }