示例#1
0
 public List <UserState> GetSeedingUsersForDeletion()
 {
     return(new List <UserState>()
     {
         DatabaseFixture.Build <UserState>()
         .With(up => up.Id, Guid.Parse("65CC91A2-267F-4FFE-8CE0-796AECD6AB4D"))
         .With(up => up.RowVersion, BitConverter.GetBytes(1))
         .With(up => up.CommercialEmail, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))
         .Create()
     });
 }
示例#2
0
 public List <UserProjection> GetSeedingUsersProjectionForFiltering()
 {
     return(new List <UserProjection>()
     {
         //para filtragem por id
         DatabaseFixture.Build <UserProjection>()
         .With(up => up.Id, Guid.Parse("81DC52BA-5D45-4E17-97EC-BEE71E459232")).Create(),
         DatabaseFixture.Build <UserProjection>()
         .With(up => up.Id, Guid.Parse("E2528E3F-601F-4B67-92BA-D9E27462006F")).Create()
     });
 }
示例#3
0
 public List <UserState> GetSeedingUsersForProjectIsertion()
 {
     return(new List <UserState>()
     {
         DatabaseFixture.Build <UserState>()
         .With(up => up.Id, Guid.Parse("232C32F1-5A69-43FF-8FFB-360E1EF6A08E"))
         .With(up => up.RowVersion, BitConverter.GetBytes(1))
         .With(up => up.CommercialEmail, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))
         .Create()
     });
 }
示例#4
0
 public List <UserProjection> GetSeedingUsersProjectionForDeleting()
 {
     return(new List <UserProjection>()
     {
         //para filtragem por id
         DatabaseFixture.Build <UserProjection>()
         .With(up => up.Id, Guid.Parse("65CC91A2-267F-4FFE-8CE0-796AECD6AB4D"))
         .With(up => up.RowVersion, 1)
         .With(up => up.CommercialEmail, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))
         .Create()
     });
 }
示例#5
0
        public List <ProjectProjection> GetSeedingProjectProjectionForDeleting()
        {
            return(new List <ProjectProjection>()
            {
                //para filtragem por id
                DatabaseFixture.Build <ProjectProjection>()

                .With(up => up.Id, Guid.Parse("41557BC9-1809-4B0F-B8E7-4F61CC06D2C9"))
                .With(up => up.Status, 1)
                .With(up => up.Owner, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))

                .Create()
            });
        }
示例#6
0
        public List <ProjectProjection> GetSeedingProjectProjectionForEditing()
        {
            return(new List <ProjectProjection>()
            {
                //para filtragem por id
                DatabaseFixture.Build <ProjectProjection>()

                .With(up => up.Id, Guid.Parse("7D74E1C4-3C35-47B9-B17B-7D5F9D9DFCF6"))
                .With(up => up.Status, 1)
                .With(up => up.Owner, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))

                .Create()
            });
        }
示例#7
0
        public List <ProjectProjection> GetSeedingProjectProjectionForFiltering()
        {
            return(new List <ProjectProjection>()
            {
                //para filtragem por id
                DatabaseFixture.Build <ProjectProjection>()
                .With(up => up.Id, Guid.Parse("DEF2A92E-A53E-4754-B811-2C0C7C7858FA"))
                .With(up => up.Status, 1)
                .With(up => up.Owner, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))

                .Create(),
                DatabaseFixture.Build <ProjectProjection>()
                .With(up => up.Id, Guid.Parse("11263366-D54A-4E7A-B820-D8894B6C5362"))
                .With(up => up.Status, 1)
                .With(up => up.Owner, string.Format($"{DatabaseFixture.Create<string>()}@teste.com"))

                .Create()
            });
        }