public override void SetUp() { base.SetUp(); _columnSerializerStub = MockRepository.GenerateStub <IColumnSerializer>(); _propertySerializer = new PropertySerializer(_columnSerializerStub); _rdbmsPersistenceModelProviderStub = MockRepository.GenerateStub <IRdbmsPersistenceModelProvider>(); }
public DatabaseFactoryConfig WithColumnSerializer(IColumnSerializer columnSerializer) { _options.ColumnSerializer = columnSerializer; return(this); }
public ColumnSetSerializer(IColumnSerializer columnSerializer) { _columnSerializer = columnSerializer; }
public PropertySerializer(IColumnSerializer columnSerializer) { ArgumentUtility.CheckNotNull("columnSerializer", columnSerializer); _columnSerializer = columnSerializer; }
public void Add(IColumnSerializer serializer) { _converters.Add(serializer); }