Beispiel #1
0
        internal DataRow NewProject(DataRow parent, string project)
        {
            DataRow newrow = Projects.NewRow();

            newrow[Projects.project_idColumn]       = DsnConnection.GetGUID(null);
            newrow[Projects.project_group_idColumn] = parent["project_group_id"];
            newrow[Projects.nameColumn]             = project;
            newrow[Projects.project_group_idColumn] = parent[ProjectGroup.project_group_idColumn];
            Projects.Rows.Add(newrow);
            Projects.AcceptChanges();
            return(newrow);
        }