CopyObject

CopyObject is a object-to-object mapping dotnet library that can be used to map objects belonging to dissimilar types

CopyObject

CopyObject is a object-to-object mapping dotnet library that can be used to map objects belonging to dissimilar types

Build Status

Appveyor
:-:
Build status

NuGet Package

Getting Started

Packing a source NuGet package

Using NuGet tool to install CopyObject to your project

PM> Install-Package CopyObject

Or

dotnet add package CopyObject

How to use ?

using System;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            User userEntity = new User() { Id = 1, Name = "Ovi", DOB = DateTime.UtcNow };
            UserVM userVM = new UserVM();
            userVM.CopyObjectFrom(userEntity);
        }
    }
}