public static Db.CommentLike ToEntity(CommentLike commentLike)
{
return commentLike == null ? null :
new Db.CommentLike
{
CommentId = commentLike.CommentId,
CommentLikeId = commentLike.CommentLikeId,
User = null,
UserId = commentLike.UserId,
CreatedBy = commentLike.CreatedBy,
CreatedDate = commentLike.CreatedDate,
ModifiedBy = commentLike.ModifiedBy,
ModifiedDate = commentLike.ModifiedDate
};
}
}