public void RegisterDataStores(IDataStoreRegistry registry)
 {
     registry.Register(new DataStore <Person>(new SqlClientCrudAdapter <Person>(_connectionString, "People", p => p.PersonId)));
     registry.Register(new DataStore <Identification>(new SqlClientCrudAdapter <Identification>(_connectionString, "Identifications", i => i.IdentificationId)));
 }
 public void RegisterDataStores(IDataStoreRegistry registry)
 {
     registry.Register(new DataStore <Person>(new InMemoryCrudAdapter <Person>(_people, p => p.PersonId)));
     registry.Register(new DataStore <Identification>(new InMemoryCrudAdapter <Identification>(_identifications, p => p.IdentificationId)));
 }