F
Franck Diastein
Hi, I have create a TypeSafe collection with CollectionBase, but I don't
know how to update an object... Let's say I have an Animal class with
Animals collection.
Animal has a property named Number that's unique in entire collection...
I would like to do something aka in my form:
private void UpdateAnimal(Animal UpdatedAnimal){
int i = UpdatedAnimal.Number
m_Animals.Update(UpdatedAnimal,i)
}
What is the best way to implement this ? Am I taking the right approach ?
I have googled about the subject, but all samples are too simplistic...
TIA
know how to update an object... Let's say I have an Animal class with
Animals collection.
Animal has a property named Number that's unique in entire collection...
I would like to do something aka in my form:
private void UpdateAnimal(Animal UpdatedAnimal){
int i = UpdatedAnimal.Number
m_Animals.Update(UpdatedAnimal,i)
}
What is the best way to implement this ? Am I taking the right approach ?
I have googled about the subject, but all samples are too simplistic...
TIA