示例#1
0
文件: Group.cs 项目: dalangobeni/cnds
 public Group()
 {
     this.Organizations = new HashSet <Organization>();
     this.DataMarts     = new HashSet <DataMart>();
     this.Projects      = new HashSet <Project>();
     this.SID           = UserDefinedFunctions.NewGuid();
 }
示例#2
0
 public Project()
 {
     this.SID            = UserDefinedFunctions.NewGuid();
     this.DataMarts      = new HashSet <DataMart>();
     this.SecurityGroups = new HashSet <ProjectSecurityGroup>();
     this.Activities     = new HashSet <Activity>();
 }
示例#3
0
 public Registry()
 {
     Id            = UserDefinedFunctions.NewGuid();
     Type          = RegistryTypes.Registry;
     Items         = new HashSet <RegistryItemDefinition>();
     Organizations = new HashSet <OrganizationRegistry>();
 }
示例#4
0
文件: User.cs 项目: dalangobeni/cnds
 public User()
 {
     this.UserPasswordTraces = new HashSet <UserPasswordTrace>();
     this.SID                = UserDefinedFunctions.NewGuid();
     this.Subscriptions      = new HashSet <Subscription>();
     this.PasswordExpiration = DateTime.Now.AddMonths(6);
     this.PasswordRestorationTokenExpiration = DateTime.Now;
 }
示例#5
0
 public DataMart()
 {
     this.Routings        = new HashSet <RequestRouting>();
     this.Groups          = new HashSet <Group>();
     this.Projects        = new HashSet <Project>();
     this.InstalledModels = new HashSet <DataMartInstalledModel>();
     this.UnattendedMode  = UnattendedModeKind.NoUnattendedOperation;
     this.SID             = UserDefinedFunctions.NewGuid();
     this.DataMartTypeId  = 1;
 }
示例#6
0
 public Organization()
 {
     this.Users           = new HashSet <User>();
     this.Groups          = new HashSet <Group>();
     this.DataMarts       = new HashSet <DataMart>();
     this.Children        = new HashSet <Organization>();
     this.SecurityGroups  = new HashSet <OrganizationSecurityGroup>();
     this.Requests        = new HashSet <Request>();
     this.Registries      = new HashSet <OrganizationRegistry>();
     this.SID             = UserDefinedFunctions.NewGuid();
     this.EHRSes          = new HashSet <OrganizationEHRS>();
     this.InSearchResults = new HashSet <Request>();
 }
示例#7
0
 public Request()
 {
     Updated       = Created = DateTime.Now;
     this.Routings = new HashSet <RequestRouting>();
     //this.Documents = new HashSet<Document>();
     this.SID                       = UserDefinedFunctions.NewGuid();
     this.SearchTerms               = new HashSet <RequestSearchTerm>();
     this.RequestSearchResults      = new HashSet <Request>();
     this.DataMartSearchResults     = new HashSet <DataMart>();
     this.OrganizationSearchResults = new HashSet <Organization>();
     this.InResults                 = new HashSet <Request>();
     this.Folders                   = new HashSet <RequestSharedFolder>();
 }
示例#8
0
 public Document()
 {
     this.ID = UserDefinedFunctions.NewGuid();
 }
示例#9
0
 public RequestSharedFolder()
 {
     this.Requests = new HashSet <Request>();
     this.SID      = UserDefinedFunctions.NewGuid();
 }
示例#10
0
 public NetworkMessage()
 {
     Id = UserDefinedFunctions.NewGuid();
 }
示例#11
0
 public SecurityGroup()
 {
     this.SID = UserDefinedFunctions.NewGuid();
 }