/// <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); }
/// <summary> /// Instantiates a new DTO object from the entity /// </summary> /// <param name="entityChange"></param> public EntityChangeDto(EntityChange entityChange) { CopyFromModel(entityChange); }
/// <summary> /// To the dto. /// </summary> /// <param name="value">The value.</param> /// <returns></returns> public static EntityChangeDto ToDto(this EntityChange value) { return(new EntityChangeDto(value)); }