protected override Student CreateEntity(string[] fields) { var student = new Student { Id = int.Parse(fields[0]), LastName = fields[1], FathersInitial = fields[2], FirstName = fields[3], Cnp = fields[4], StudentId = fields[5] }; student.SubjectsList = StudentSubjectJoiner.Join(student.Id); return(student); }
private Expression ExcuteExpression(Expression expression) { IQueryable <T1> outer; IQueryable <T2> inner; _queryOptimizer.TryOptimize(_outer, _inner, out outer, out inner); var joinedSequence = _joiner.Join(outer.GetEnumerator(), inner.GetEnumerator()); var result = Expression.Constant(joinedSequence); return(new Replacer().Convert( node => node.NodeType == ExpressionType.Constant && ((ConstantExpression)node).Value is ISecretMarker ? result : node, expression)); }
/** * Allows joining additional components to this builder using the given * {@link Joiner}. * * Simply executes the provided joiner on this instance to facilitate a * chain pattern. * * @param joiner joiner used for operation * @param retention the formatting to retain * @return this ComponentBuilder for chaining */ public ComponentBuilder Join(IJoiner joiner, FormatRetention retention) { return(joiner.Join(this, retention)); }
/** * Allows joining additional components to this builder using the given * {@link Joiner} and {@link FormatRetention#ALL}. * * Simply executes the provided joiner on this instance to facilitate a * chain pattern. * * @param joiner joiner used for operation * @return this ComponentBuilder for chaining */ public ComponentBuilder Join(IJoiner joiner) { return(joiner.Join(this, FormatRetention.All)); }
public void Join(IEnumerable <INode> initialWorld) { joiner.Join(initialWorld); }