Beispiel #1
0
 public Test Get(TestId testId)
 => Get <Test, Test.TestState>(testId.Value,
                               state => new Test(
                                   state.Test1,
                                   state.Text1,
                                   state.Int1,
                                   state.Double1)
                               );
Beispiel #2
0
 public void Save(Test test, TestId testId)
 => Save(test.State, testId.Value);