コード例 #1
0
ファイル: Person.cs プロジェクト: gabesantos1/Naylah
 public void UpdateFrom(PersonPostRequest source, EntityUpdateOptions options = null)
 {
     this.Name    = source.Name;
     this.Version = source.Version;
 }
コード例 #2
0
ファイル: Person.cs プロジェクト: gabesantos1/Naylah
 public void UpdateFrom(PersonGetRequest source, EntityUpdateOptions options = null)
 {
 }
コード例 #3
0
ファイル: Person.cs プロジェクト: gabesantos1/Naylah
 public void UpdateFrom(PersonDTO source, EntityUpdateOptions options = null)
 {
     Name = source.Name;
 }
コード例 #4
0
ファイル: Program.cs プロジェクト: ElysiumLabs/Naylah
 public void UpdateFrom(PersonM source, EntityUpdateOptions options = null)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
ファイル: Author.cs プロジェクト: gabesantos1/Naylah
 public void UpdateFrom(AuthorRequest source, EntityUpdateOptions options = null)
 {
     this.Name      = source.Name;
     this.BirthDate = source.BirthDate;
 }
コード例 #6
0
ファイル: Book.cs プロジェクト: gabesantos1/Naylah
 public void UpdateFrom(BookRequest source, EntityUpdateOptions options = null)
 {
     this.Title        = source.Title;
     this.AuthorId     = source.AuthorId;
     this.ReleasedYear = source.ReleasedYear;
 }