public TElement Fill(TElement entity, FillVisitor fillVisitor) { if (fillVisitor.IsDBNull()) { fillVisitor.Skip(ColumnsInSelectStatement.Length); } else { if (entity == null) { entity = new TElement(); } ((IDbEntityInternal)entity).ModifyInternalState(fillVisitor); } return(entity); }