valueinjecter Questions
5
Solved
I am using ASP.NET MVC 3.
Can someone please help me clarify what's happening here:
var person = new PersonRepository().Get();
var personViewModel = new PersonViewModel();
personViewModel.Inject...
Hebrews asked 24/10, 2011 at 7:21
2
I think I'm missing a simple concept with valueinjecter and/or AutoMapper, but how do you deep clone a parent dto.Entity to biz.Entity and include all children?
For example, biz.person.InjectFrom(...
Minority asked 23/11, 2011 at 22:22
3
Solved
I am using ValueInjecter to map two identical objects. The problem I am having is that ValueInjector copies null values from my source over my target. So I am loosing lots of data to null values.
...
Avicenna asked 15/5, 2012 at 21:15
5
Solved
In Short: How do I successfully edit a DB entry without needing to include every single field for the Model inside of the Edit View?
UPDATE
So I have an item in the DB (an Article). I want to edit...
Brow asked 7/6, 2012 at 16:19
1
Solved
I'm have been working on a project to create PDF forms using PDFView4Net. While the library is generally good, the forms creator is primitive and lacking basic features (such as copy/paste, a...
Baptize asked 25/2, 2015 at 21:11
2
Solved
I'm using ValueInjecter for object mapping and I'm trying to inject from an ExpandoObject. I found an example of injecting from a dynamic.
public class Ac
{
public string Aa { get; set; }
}
...
Duodecimal asked 29/7, 2011 at 22:10
1
Suppose I have this object in my DAL (ORM etc)
public class Student
{
public string Name {get;set;}
public string Address {get;set;}
public string Phone {get;set;}
public Parent Parent {g...
Pentane asked 14/11, 2011 at 13:33
2
Solved
How do I map a property from an object to another object with a different property name?
I have a Product class that looks like this:
public class Product : IEntity
{
public int Id { get; set; }...
Kilohertz asked 7/11, 2011 at 10:46
4
Solved
Everytime I'm looking for AutoMapper stuff on StackOverflow, I'm reading something about ValueInjecter.
Can somebody tell me the pros and cons between them (performance, features, API usa...
Loverly asked 11/1, 2011 at 22:49
3
Solved
EDIT
The bare-bones version of this question is, if I have some object o, how would I check to see if o is of some type that implements IEnumerable<string> with reflection? The original que...
Sufism asked 6/4, 2011 at 13:59
1
Solved
I was trying to figure out ValueInjecter so i can use it in our home-grown little ORM. Since i should support DataRow and DataTable mapping, i am trying to implement mappers for this types. And hon...
Bangle asked 28/3, 2011 at 17:24
2
Solved
in my ASP.NET MVC application I've separated the domain model from the view model.
I transform my entity in a viewmodel object so I can "feed" my views with only the data needed (I used valueinject...
Alexisaley asked 26/1, 2011 at 12:47
2
Solved
My problem is hydrating a Viewmodel from a Linq2Sql object that has been returned from the database. We have done this in a few areas and have a nice layered pattern worked up for it but the latest...
Trudey asked 20/9, 2010 at 13:56
1
Solved
Given the requirement:
Take an object graph, set all enum type properties based on the processed value of a second string property. Convention dictates that the name of the source string property ...
Highflier asked 11/8, 2010 at 20:14
2
Solved
I am trying to deep clone the following class using AutoMapper:
public class MainData
{
public MainData()
{
Details = new List<Detail>();
}
public int Id { get; private set; }
public ...
Menides asked 3/8, 2010 at 13:16
1
Solved
Is possible with Automapper to map a flat object to complex object graph?
Mapper.CreateMap<PersonDto,Person>()
Map PersonDto.BirthCertificateFatherName to Person.BirthCertificate.FatherNa...
Anagoge asked 19/5, 2010 at 12:33
1
© 2022 - 2024 — McMap. All rights reserved.