public SqlDataReaderAdapter(SqlPersistenceAction action, MappingDirection mappingDirection, SqlDataReader reader)
            : base(action, mappingDirection)
        {
            if (mappingDirection != Persistence.MappingDirection.Inbound)
            {
                throw new ArgumentException("mappingDirection");
            }

            _reader = reader;
        }
コード例 #2
0
 public SqlParameterAdapter(SqlPersistenceAction action, MappingDirection mappingDirection)
     : base(action, mappingDirection)
 {
 }