private void AddOverride <T>(AutoPersistenceModel model, Type entity, IAutoMappingOverride <T> mappingOverride) { model.AddOverride(entity, x => { if (x is AutoMapping <T> ) { mappingOverride.Override((AutoMapping <T>)x); } }); }
private void AddOverride <T>(AutoPersistenceModel model, Type entity, IAutoMappingOverride <T> mappingOverride) { model.AddOverride(entity, x => { if (x is AutoMapping <T> ) { mappingOverride.Override((AutoMapping <T>)x); } }); }