public override PersistenceAdapter GetAdapter(PersistenceAdapterPurpose purpose, MappingDirection mappingDirection) { /* * this.Command.Connection = this.Connection.DbConnection; * * if (adapterType == PersistenceAdapterType.ResultSet) * return new SqlDataReaderAdapter(this, this.Command.ExecuteReader()); * else if (adapterType == PersistenceAdapterType.Parameters) * return new SqlParameterAdapter(this); * else */ throw new NotImplementedException(); }
/// <summary> /// /// </summary> public abstract PersistenceAdapter GetAdapter(PersistenceAdapterPurpose purpose, MappingDirection mappingDirection);