Example #1
0
 internal MappedProperty(string targetPropertyName, MappedQuery mappedQuery, string columnName, object staticValue, MappedObject mappedObject, MappedNestedResults mappedGroup, MappedValueResolver valueResolver, MappedQueryWithNestedResults mappedQueryWithNestedResults)
 {
     TargetPropertyName           = targetPropertyName;
     MappedQuery                  = mappedQuery;
     StaticValue                  = staticValue;
     ColumnName                   = columnName;
     MappedObject                 = mappedObject;
     MappedNestedResults          = mappedGroup;
     ValueResolver                = valueResolver;
     MappedQueryWithNestedResults = mappedQueryWithNestedResults;
 }
Example #2
0
 /// <summary>
 /// Mapped Property with the specified name will contain a list of child objects
 /// The child objects are defined by the mappedGroup
 /// </summary>
 /// <param name="targetPropertyName">Name of the traget property</param>
 /// <param name="mappedGroup">group</param>
 public MappedProperty(string targetPropertyName, MappedNestedResults mappedGroup)
 {
     TargetPropertyName  = targetPropertyName;
     MappedNestedResults = mappedGroup;
 }