Пример #1
0
        public virtual void Patch(NoteDataEntity target)
        {
            var patchInjectionPolicy = new PatchInjection <NoteDataEntity>(x => x.Body, x => x.Title);

            target.InjectFrom(patchInjectionPolicy, this);
        }
 public virtual void Patch(NoteDataEntity target)
 {
     target.Body  = Body;
     target.Title = Title;
 }
Пример #3
0
 public virtual void Patch(NoteDataEntity target)
 {
     var patchInjectionPolicy = new PatchInjection<NoteDataEntity>(x => x.Body, x => x.Title);
     target.InjectFrom(patchInjectionPolicy, this);
 }