コード例 #1
0
ファイル: POExtensions.cs プロジェクト: ktei/MySpace
        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);
        }
コード例 #2
0
ファイル: POExtensions.cs プロジェクト: ktei/MySpace
        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);
        }
コード例 #3
0
ファイル: POExtensions.cs プロジェクト: ktei/MySpace
        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;
        }