예제 #1
0
            public Initialize()
            {
                appointmentStatusHistory1 = new Entity2 {
                    Id = Guid.NewGuid()
                };
                center1 = new Entity8 {
                    Id = Guid.NewGuid()
                };
                insurance1 = new Entity12 {
                    Id = Guid.NewGuid()
                };
                patient1 = new Entity14 {
                    Id = Guid.NewGuid()
                };
                resource1 = new Entity17 {
                    Id = Guid.NewGuid()
                };
                service1 = new Entity20 {
                    Id = Guid.NewGuid()
                };
                speciality1 = new Entity22 {
                    Id = Guid.NewGuid()
                };

                service1.Entity22   = speciality1;
                service1.Entity22Id = speciality1.Id;
            }
            public Initialize()
            {
                appointmentStatusHistory1 = new Entity2 {
                    Id = Guid.NewGuid()
                };
                center1 = new Entity8 {
                    Id = Guid.NewGuid()
                };
                insurance1 = new Entity12 {
                    Id = Guid.NewGuid()
                };
                patient1 = new Entity14 {
                    Id = Guid.NewGuid()
                };
                resource1 = new Entity17 {
                    Id = Guid.NewGuid()
                };
                service1 = new Entity20 {
                    Id = Guid.NewGuid()
                };
                speciality1 = new Entity22 {
                    Id = Guid.NewGuid()
                };

                speciality1.Entities20.Add(service1);

                service1.Entities8.Add(center1);
                service1.Entities12.Add(insurance1);
                service1.Entities17.Add(resource1);
                service1.Entity22   = speciality1;
                service1.Entity22Id = speciality1.Id;

                resource1.Entities8.Add(center1);
                resource1.Entities20.Add(service1);

                patient1.Entities12.Add(insurance1);

                insurance1.Entities14.Add(patient1);
                insurance1.Entities20.Add(service1);

                center1.Entities17.Add(resource1);
                center1.Entities20.Add(service1);
                center1.Entities22.Add(speciality1);
            }