public RelateParameterLambdaState(ParameterExpression parameter, LambdaState state) { var entityMapping = DataEntityMapping.GetEntityMapping(parameter.Type); _singleEntityName = parameter.Name; _singleEntityMap = entityMapping.GetRelationMap(); _state = state; }
public RelateParameterLambdaState(ParameterExpression parameter, LambdaState state) { this.singleEntityName = parameter.Name; Type type = parameter.Type; DataEntityMapping entityMapping = DataEntityMapping.GetEntityMapping(type); this.singleEntityMap = entityMapping.GetRelationMap(); this.state = state; }