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