コード例 #1
0
        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);
        }