public void MapEFToBO()
        {
            var mapper = new DALProductDescriptionMapper();
            ProductDescription entity = new ProductDescription();

            entity.SetProperties("A", DateTime.Parse("1/1/1987 12:00:00 AM"), 1, Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));

            BOProductDescription response = mapper.MapEFToBO(entity);

            response.Description.Should().Be("A");
            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.ProductDescriptionID.Should().Be(1);
            response.Rowguid.Should().Be(Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
        }
        public void MapEFToBOList()
        {
            var mapper = new DALProductDescriptionMapper();
            ProductDescription entity = new ProductDescription();

            entity.SetProperties("A", DateTime.Parse("1/1/1987 12:00:00 AM"), 1, Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));

            List <BOProductDescription> response = mapper.MapEFToBO(new List <ProductDescription>()
            {
                entity
            });

            response.Count.Should().Be(1);
        }
        public void MapBOToEF()
        {
            var mapper = new DALProductDescriptionMapper();
            var bo     = new BOProductDescription();

            bo.SetProperties(1, "A", DateTime.Parse("1/1/1987 12:00:00 AM"), Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));

            ProductDescription response = mapper.MapBOToEF(bo);

            response.Description.Should().Be("A");
            response.ModifiedDate.Should().Be(DateTime.Parse("1/1/1987 12:00:00 AM"));
            response.ProductDescriptionID.Should().Be(1);
            response.Rowguid.Should().Be(Guid.Parse("8420cdcf-d595-ef65-66e7-dff9f98764da"));
        }