Beispiel #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;
 }
Beispiel #2
0
 /// <summary>
 /// Mapped Property with the specified name will contain a list of child objects
 /// The child object are generated by the provided standard query <see cref="MappedQuery"/>
 /// </summary>
 /// <param name="targetPropertyName">Name of the traget property</param>
 /// <param name="mappedQuery">query which will generate child objects</param>
 public MappedProperty(string targetPropertyName, MappedQuery mappedQuery)
 {
     TargetPropertyName = targetPropertyName;
     MappedQuery        = mappedQuery;
 }