public static PhotoCommentPO ToPhotoCommentPO(this PhotoComment entity) { PhotoCommentPO result = new PhotoCommentPO(); result.Id = entity.Id; result.PhotoId = entity.PhotoId; result.AlbumId = entity.AlbumId; result.Contents = entity.Contents; result.CreatedBy = entity.CreatedBy; result.CreatedOn = entity.CreatedOn; return(result); }
public static PhotoComment ToPhotoComment(this PhotoCommentPO po) { PhotoComment result = new PhotoComment(); result.Id = po.Id; result.PhotoId = po.PhotoId; result.AlbumId = po.AlbumId; result.Contents = po.Contents; result.CreatedBy = po.CreatedBy; result.CreatedOn = po.CreatedOn; return(result); }
public static PhotoCommentPO ToPhotoCommentPO(this PhotoComment entity) { PhotoCommentPO result = new PhotoCommentPO(); result.Id = entity.Id; result.PhotoId = entity.PhotoId; result.AlbumId = entity.AlbumId; result.Contents = entity.Contents; result.CreatedBy = entity.CreatedBy; result.CreatedOn = entity.CreatedOn; return result; }