コード例 #1
0
        /// <summary>
        /// To the model.
        /// </summary>
        /// <param name="value">The value.</param>
        /// <returns></returns>
        public static EntityChange ToModel(this EntityChangeDto value)
        {
            EntityChange result = new EntityChange();

            value.CopyToModel(result);
            return(result);
        }
コード例 #2
0
 /// <summary>
 /// Instantiates a new DTO object from the entity
 /// </summary>
 /// <param name="entityChange"></param>
 public EntityChangeDto(EntityChange entityChange)
 {
     CopyFromModel(entityChange);
 }
コード例 #3
0
 /// <summary>
 /// To the dto.
 /// </summary>
 /// <param name="value">The value.</param>
 /// <returns></returns>
 public static EntityChangeDto ToDto(this EntityChange value)
 {
     return(new EntityChangeDto(value));
 }