예제 #1
0
 public async Task Execute(Guid id0, int id1, int id2, int id3, string name, object value)
 {
     await updateCommand.UpdateEntity(c =>
                                      c.OptionValues.SingleAsync(x => x.StoryId == id0 &&
                                                                 x.FeatureId == id1 &&
                                                                 x.OptionId == id2 &&
                                                                 x.OptionValueType.Equals(id3)), name, value);
 }
예제 #2
0
 public async Task Execute(Guid id, string name, object value)
 {
     await updateCommand.UpdateEntity <Story>(async x => await x.Stories.SingleAsync(r => r.Id == id), name, value);
 }
예제 #3
0
 public async Task Execute(Guid id0, int id1, string name, object value)
 {
     await updateCommand.UpdateEntity(c => c.Options.SingleAsync(x => x.StoryId == id0 && x.Id == id1), name, value);
 }